array(
'form' => array(
'buttons'=>array('EDIT', 'DUPLICATE', 'DELETE', 'FIND_DUPLICATES',
array(
'customCode' => '{$CATALOGUE_NEW}'
),
array(
'customCode' => '{$QRGEN}'
),
),
'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'=>'include/javascript/quicksearch.js'),
//array('file'=>'include/ECM/EcmPreviewPDF/EcmPreviewPDF.js'),
array('file'=>'modules/EcmProductB2Bs/AjaxSearch/AjaxSearch.js'),
array('file'=>'modules/EcmProductB2Bs/javascript/formloader.js'),
array('file'=>'modules/EcmProductB2Bs/javascript/MyTable.js'),
array('file'=>'modules/EcmProductB2Bs/javascript/EcmProductB2BDetailView.js'),
//array('file'=>'modules/EcmQuotes/CreateItem.js'),
//array('file'=>'modules/EcmProductB2Bs/mintajax.js'),
//array('file'=>'modules/EcmProductB2Bs/helper.js'),
),
),
'panels'=>array(
'LBL_PRODUCT_INFORMATION'=>array(
array('name','assigned_user_name'),
array('code','product_active'),
array('B2B','B2C'),
array('ean','ean2'),
array('vendor_name','part_no'),
array('serial_no'),
array('status'),
//array('product_category_name','product_subcategory_name'),
//array('product_line_name'),
//array('sales_start_date','sales_end_date'),
//array('manufacturer_name','parent_name'),
//array('contact_name','website'),
//array('vendor_name','part_no'),
//array('vendor_part_no','serial_no'),
//array('th'),
array(
array(
'label'=>'LBL_TAX_CLASS_NAME',
'customCode'=>'',
),'unit_id'
),
array('pkwiu','ks_group'),
array(
array(
'customCode' => '{$QRCODE}',
'label'=>'Kod QR:',
),
),
),
'LBL_PANEL_PRICES' => array (
0 => array (
0 => array (
'name' => 'items_list_panel4',
'allCols' => true,
'hideLabel' => true,
'customCode' => '{$POSITIONS4}'
)
)
),
'LBL_STOCK_INFORMATION'=>array(
array(
array(
'customCode'=>'{$ORDERED}',
'label'=>'Zamówień',
),
'qty_per_unit'
),
array('qty_in_stock','reorder_level'),
array('ems_qty_in_stock','qty_in_demand'),
array(
array(
'customCode'=>'{$INVENTORY_INFORMATION}',
'label'=>'Inventory informations',
),
'lead_time',
),
),
'LBL_DRIVERS_IMAGES'=>array(
array(
array(
'label'=>'LBL_PRODUCT_PICTURE',
'customCode'=>'{$PRODUCT_PICTURE}',
),
array(
'label'=>'LBL_PACKING_FRONT_PICTURE',
'customCode'=>'{$PACKING_FRONT_PICTURE}',
),
),
array(
array(
'label'=>'LBL_DRIVER_1',
'customCode'=>'{$DRIVER_1_DOWNLOAD}',
),
array(
'label'=>'LBL_DRIVER_2',
'customCode'=>'{$DRIVER_2_DOWNLOAD}',
),
),
),
'LBL_LOGISTIC_INFORMATION'=>array(
array('',
array(
'label'=>'LBL_CARTON_DIMENSIONS_1',
'customCode'=>'{$CARTON_DIMENSIONS_1} x {$CARTON_DIMENSIONS_2} x {$CARTON_DIMENSIONS_3}'
),
),
array('fob_basis_name','carton_netto_weight'),
array('','carton_brutto_weight'),
array('pieces_per_carton','carton_volume_meter'),
array('product_netto_weight','unit_id'),
array('product_brutto_weight','country_of_origin'),
array('packing_type_name',''),
array(
array(
'label'=>'LBL_PACKING_DIMENSIONS_1',
'customCode'=>'{$PACKING_DIMENSIONS_1} x {$PACKING_DIMENSIONS_2} x {$PACKING_DIMENSIONS_3}'
)
,''
),
array('rma'),
array ('boxes_per_layer','number_of_layers'),
array ('boxes_per_palette','pieces_per_palette'),
array ('palette_weight_brutto',''),
),
'LBL_LOCALIZED_INFORMATION'=>array(
array(
array(
'hideLabel'=>true,
'customCode'=>'
',
),
),
array(
/*
array(
'label'=>'LBL_LOCAL_EAN',
'customCode'=>'
{$EAN_pl}
{$EAN_en}
{$EAN_de}
',
),
*/
array(''),
array(
'label'=>'LBL_REMARKS',
'customCode'=>'',
),
),
array(
array(
'label'=>'LBL_SHORT_DESCRIPTION',
'customCode'=>'{$SHORT_DESCRIPTION_pl}
{$SHORT_DESCRIPTION_en}
{$SHORT_DESCRIPTION_de}
',
),
array(
'label'=>'LBL_LONG_DESCRIPTION',
'customCode'=>'{$LONG_DESCRIPTION_pl}
{$LONG_DESCRIPTION_en}
{$LONG_DESCRIPTION_de}
',
),
),
array(
array(
'label'=>'LBL_PRICE',
'customCode'=>'{$PRICE_pl}
{$PRICE_en}
{$PRICE_de}
',
),
),
),
'LBL_COMPONENTS'=>array(
array(
array(
'name' => 'items_list_panel',
'allCols' => true,
'hideLabel' => true,
'customCode' => '
| {$MOD.LBL_EDITTABLE_NO} |
{$MOD.LBL_EDITTABLE_CODE} |
{$MOD.LBL_EDITTABLE_NAME} |
{$MOD.LBL_EDITTABLE_UNIT} |
{$MOD.LBL_EDITTABLE_QUANTITY} |
Średnia cena zakupu |
',
)
)
),
'LBL_PANEL_CATEGORIES' =>
array (
0 =>
array (
0 =>
array (
'name' => 'items_list_panel3',
'allCols' => true,
'hideLabel' => true,
'customCode' => '{$POSITIONS3}',
),
),
),
'LBL_PANEL_ASSIGNMENT' =>
array (
array (
array (
'name' => 'assigned_user_name',
'label' => 'LBL_ASSIGNED_TO',
),
array (
'name' => 'date_modified',
'label' => 'LBL_DATE_MODIFIED',
'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
),
),
array (
array (
'name' => 'date_entered',
'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value}',
),
),
),
),
);
?>