array ( 'form' => array ( 'enctype' => 'multipart/form-data', 'buttons' => array ( array( 'customCode'=>'', ), 'CANCEL' ), 'hidden' => array ( '', '', '', '', '', '', '', '', ) ), 'maxColumns' => '2', 'widths' => array ( array ( 'label' => '10', 'field' => '30' ), array ( 'label' => '10', 'field' => '30' ) ), 'includes' => array ( array ( 'file' => 'include/JSON.js' ), array ( 'file' => 'modules/EcmQuotes/javascript/EcmQuotes.js' ), array ( 'file' => 'modules/EcmQuotes/javascript/bimit_table2.js' ), array ( 'file' => 'modules/EcmQuotes/javascript/columndefs.js' ), array ( 'file' => 'include/ECM/EcmDocumentNumberGenerator/EcmDocumentNumberGenerator.js' ), ) ), 'panels' => array ( 'LBL_DETAILS_TAB' => array ( array ( array ( 'type' => 'tab', 'active' => true ) ), array ( array ( 'name' => 'document_no', 'tabIndex' => '1', 'customCode' => '
' ), array ( 'name' => 'assigned_user_name', 'tabIndex' => '1' ) ), array ( array ( 'name' => 'parent_name', 'tabIndex' => '1', 'displayParams' => array( 'required' => true, 'size' => 45 ) ), array ( 'name' => 'ecmpaymentcondition_name', 'tabIndex' => '1' ) ), array ( array ( 'name' => 'contact_name', 'tabIndex' => '1', 'displayParams' => array ( 'size' => 45, 'field_to_name_array' => array( 'id'=>'contact_id', 'name'=>'contact_name', ), 'initial_filter' => "&account_id=\" + document.getElementById(\"parent_id\").value + \"", 'additionalFields' => array( 'parent_id' => 'parent_id', ), ), ), array ( 'name' => 'ecmdeliverycondition_name', 'tabIndex' => '1' ) ), array ( array ( 'name' => 'status', 'tabIndex' => '1' ), array ( 'name'=>'discount', 'label' => 'LBL_DISCOUNT', ), ), array ( array ( 'name' => 'register_date', 'tabIndex' => '1', 'type' => 'datetime', 'displayParams' => array ( 'showFormats' => true ) ) ), array ( array ( 'name' => 'validtill_date', 'tabIndex' => '1', 'type' => 'datetime', 'displayParams' => array ( 'showFormats' => true ) ) , ), array ( array ( 'name' => 'currency_id', 'label' => 'LBL_CURRENCY' ), ), array ( array ( 'allCols' => true, 'hideLabel' => true, 'customCode' => '
{$MOD.LBL_CATEGORY}:
{$MOD.LBL_SEARCH_STOCK}: