array (
'form' => array (
'enctype' => 'multipart/form-data',
'buttons' => array (
'SAVE',
'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/EcmSales/javascript/EcmSales6.js'
),
array (
'file' => 'modules/EcmSales/javascript/bimit_table6.js'
),
array (
'file' => 'modules/EcmSales/javascript/columndefs3.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'
),
array (
'name' => 'ecmpaymentcondition_name',
'tabIndex' => '1'
)
),
array (
array (
'name' => 'type',
'tabIndex' => '1'
),
array (
'name' => 'ecmdeliverycondition_name',
'tabIndex' => '1'
)
),
array (
array (
'name' => 'status',
'tabIndex' => '1'
),
array (
'name' => 'stock_id',
'label' => 'LBL_STOCK_NAME',
'customCode' => '{$STOCK}'
)
),
array (
'name',
array (
'name' => 'parent_document_no',
'label' => 'LBL_PARENT_DOCUMENT_NO'
)
),
array (
array (
'name' => 'register_date',
'tabIndex' => '1',
'type' => 'datetime',
'displayParams' => array (
'showFormats' => true
)
),
''
),
array (
'send_date',
array (
'name' => 'ecmprice_name',
'label' => 'LBL_ECMPRICE'
)
),
array (
array (
'name' => 'delivery_date',
'tabIndex' => '1',
'type' => 'datetime',
'displayParams' => array (
'showFormats' => true
)
),
array (
'label' => 'LBL_PRICEBOOK',
'name' => 'pricebook',
'customCode' => ' '
)
),
array (
'send_accepted' ,
'wz_name'
),
array (
array (
'name' => 'main_sale_number',
'tabIndex' => '1'
),
''
),
array (
array (
'allCols' => true,
'hideLabel' => true,
'customCode' => '{$MOD.LBL_TO_INFORMATIONS}
'
)
),
array (
array (
'name' => 'parent_name_copy',
'tabIndex' => '1',
'customCode' => ''
),
array (
'name' => 'ecmlanguage',
'tabIndex' => '1'
)
),
array (
array (
'name' => 'parent_nip',
'tabIndex' => '1'
),
array (
'name' => 'no_tax',
'tabIndex' => '1'
)
),
array (
array (
'name' => 'parent_address_street',
'tabIndex' => '1',
'customCode' => ''
),
array (
'name' => 'currency_id',
'label' => 'LBL_CURRENCY'
)
),
array (
array (
'name' => 'parent_address_city',
'tabIndex' => '1',
'customCode' => ' '
),
''
),
array (
array (
'name' => 'parent_address_country',
'tabIndex' => '1'
)
),
array (
array (
'name' => 'parent_iln',
'tabIndex' => '1'
)
),
array (
array (
'name' => 'parent_supplier_code',
'tabIndex' => '1'
)
),
// shipping address section
array (
array (
'allCols' => true,
'hideLabel' => true,
'customCode' => '{$MOD.LBL_SHIPPING_ADDRESS}
'
)
),
array (
array (
'name' => 'shipping_address',
'customCode' => ' '
),
''
),
array (
array (
'name' => 'shipping_address_name',
'tabIndex' => '1',
'customCode' => ''
)
),
array (
array (
'name' => 'shipping_address_street',
'tabIndex' => '1',
'customCode' => ''
)
),
array (
array (
'name' => 'shipping_address_city',
'tabIndex' => '1',
'customCode' => ' '
)
),
array (
array (
'name' => 'shipping_address_country',
'tabIndex' => '1'
)
),
array (
array (
'name' => 'shipping_iln',
'tabIndex' => '1'
)
),
array (
array (
'name' => 'shipping_nip',
'tabIndex' => '1'
)
),
array (
array (
'allCols' => true,
'hideLabel' => true,
'customCode' => 'Ustawienia zamówienia okresowego
'
)
),
array (
array (
'name' => 'sale_date_interval',
'label' => 'Powtarzaj co',
'customCode' => ' Miesięcy'
)
),
array (
array (
'allCols' => true,
'hideLabel' => true,
'customCode' => '{$MOD.LBL_PDF_TEXT}
'
)
),
array (
array (
'allCols' => true,
'hideLabel' => true,
'name' => 'pdf_text'
)
)
),
'LBL_ITEMS_TAB' => array (
array (
array (
'type' => 'tab'
)
),
array (
array (
'allCols' => true,
'hideLabel' => true,
'customCode' => '
{$MOD.LBL_SEARCH}:
{$MOD.LBL_CATEGORY}:
{$MOD.LBL_SEARCH_STOCK}:
{$MOD.LBL_SEARCH_SORT}:
'
)
)
)
)
);