557 lines
19 KiB
PHP
557 lines
19 KiB
PHP
|
|
<?php
|
||
|
|
$viewdefs ['EcmProducts'] =
|
||
|
|
array (
|
||
|
|
'QuickCreate' =>
|
||
|
|
array (
|
||
|
|
'templateMeta' =>
|
||
|
|
array (
|
||
|
|
'form' =>
|
||
|
|
array (
|
||
|
|
'buttons' =>
|
||
|
|
array (
|
||
|
|
0 => 'SAVE',
|
||
|
|
1 => 'CANCEL',
|
||
|
|
),
|
||
|
|
'enctype' => 'multipart/form-data',
|
||
|
|
'hidden' =>
|
||
|
|
array (
|
||
|
|
0 => '<input type="hidden" name="position_list" id="position_list" value=\'{$POSITION_LIST}\'>',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'maxColumns' => '2',
|
||
|
|
'widths' =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'label' => '10',
|
||
|
|
'field' => '30',
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
'label' => '10',
|
||
|
|
'field' => '30',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'includes' =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'file' => 'include/JSON.js',
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
'file' => 'modules/EcmProducts/AjaxSearch/AjaxSearch.js',
|
||
|
|
),
|
||
|
|
2 =>
|
||
|
|
array (
|
||
|
|
'file' => 'modules/EcmProducts/javascript/formloader.js',
|
||
|
|
),
|
||
|
|
3 =>
|
||
|
|
array (
|
||
|
|
'file' => 'modules/EcmProducts/javascript/MyTable.js',
|
||
|
|
),
|
||
|
|
4 =>
|
||
|
|
array (
|
||
|
|
'file' => 'modules/EcmProducts/javascript/EcmProduct.js',
|
||
|
|
),
|
||
|
|
5 =>
|
||
|
|
array (
|
||
|
|
'file' => 'modules/EcmProducts/Categories.js',
|
||
|
|
),
|
||
|
|
6 =>
|
||
|
|
array (
|
||
|
|
'file' => 'modules/EcmProducts/Prices.js',
|
||
|
|
),
|
||
|
|
7 =>
|
||
|
|
array (
|
||
|
|
'file' => 'modules/EcmProducts/paramsMT.js',
|
||
|
|
),
|
||
|
|
8 =>
|
||
|
|
array (
|
||
|
|
'file' => 'modules/EcmProducts/javascript/ProductionTables.js',
|
||
|
|
),
|
||
|
|
9 =>
|
||
|
|
array (
|
||
|
|
'file' => 'modules/EcmProducts/javascript/ProductionCopyElements.js',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'panels' =>
|
||
|
|
array (
|
||
|
|
'LBL_PRODUCT_INFORMATION' =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
0 => 'name',
|
||
|
|
1 => 'assigned_user_name',
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'name' => 'code',
|
||
|
|
'customCode' => '<input name="code" id="code" value="{$fields.code.value}" onBlur="checkCode(document.getElementById(\'code\').value);">
|
||
|
|
<br><a href="#" onclick="searchCode(document.getElementById(\'code\').value);">{$MOD.LBL_SEARCH_CODE}</a>
|
||
|
|
<br><a href="#" onclick="freeCodes(document.getElementById(\'code\').value);">{$MOD.LBL_FREE_CODES}</a>',
|
||
|
|
),
|
||
|
|
1 => 'product_active',
|
||
|
|
),
|
||
|
|
2 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'name' => 'ean',
|
||
|
|
'label' => 'LBL_EAN',
|
||
|
|
'customCode' => '<input name="ean" id="ean" value="{$EAN}">
|
||
|
|
<input type="button" class="button" onClick="generateEAN();" value="{$MOD.LBL_GENERATE_EAN}"/>
|
||
|
|
<input type="hidden" name="newEan" id="newEan" value="0"/><input type="hidden" name="website_update" id="website_update" value="1"/>
|
||
|
|
',
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
'name' => 'ean2',
|
||
|
|
'label' => 'LBL_EAN2',
|
||
|
|
'customCode' => '<input name="ean2" id="ean2" value="{$EAN2}">
|
||
|
|
<input type="button" class="button" onClick="generateEAN2(); alert(document.getElementById(\'newEan2\').value)" value="{$MOD.LBL_GENERATE_EAN}"/>
|
||
|
|
<input type="hidden" name="newEan2" id="newEan2" value="0"/>
|
||
|
|
',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
3 =>
|
||
|
|
array (
|
||
|
|
0 => 'vendor_name',
|
||
|
|
1 => 'part_no',
|
||
|
|
),
|
||
|
|
4 =>
|
||
|
|
array (
|
||
|
|
0 => 'vendor_part_no',
|
||
|
|
1 => 'serial_no',
|
||
|
|
),
|
||
|
|
5 =>
|
||
|
|
array (
|
||
|
|
0 => 'production',
|
||
|
|
1 => 'status',
|
||
|
|
),
|
||
|
|
6 =>
|
||
|
|
array (
|
||
|
|
0 => 'group_ks',
|
||
|
|
1 => 'mainproduct_name',
|
||
|
|
),
|
||
|
|
7 =>
|
||
|
|
array (
|
||
|
|
0 => 'active',
|
||
|
|
1 => 'is_mainproduct',
|
||
|
|
),
|
||
|
|
8 =>
|
||
|
|
array (
|
||
|
|
0 => 'group_name',
|
||
|
|
1 => 'brand',
|
||
|
|
),
|
||
|
|
9 =>
|
||
|
|
array (
|
||
|
|
0 => 'product_amount',
|
||
|
|
1 => 'product_type',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'LBL_PRICING_INFORMATION' =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_EXCHANGE_RATE_NAME',
|
||
|
|
'customCode' => '<select tabindex="e" id="exchange_rate_id" name="exchange_rate_id">{$EXCHANGE_RATE_ID}</select>',
|
||
|
|
),
|
||
|
|
1 => 'custom_duty_rate',
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_TAX_CLASS_NAME',
|
||
|
|
'customCode' => '<select tabindex="v" id="vat_id" name="vat_id">{$VAT_ID}</select>',
|
||
|
|
),
|
||
|
|
1 => 'commission_rate',
|
||
|
|
),
|
||
|
|
2 =>
|
||
|
|
array (
|
||
|
|
0 => 'purchase_price',
|
||
|
|
1 => 'srp_price',
|
||
|
|
),
|
||
|
|
3 =>
|
||
|
|
array (
|
||
|
|
0 => 'selling_price',
|
||
|
|
1 => 'srp_price_eur',
|
||
|
|
),
|
||
|
|
4 =>
|
||
|
|
array (
|
||
|
|
0 => 'fob_price',
|
||
|
|
1 => 'srp_promo_price',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'LBL_STOCK_INFORMATION' =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
0 => 'ems_ordered',
|
||
|
|
1 => 'qty_per_unit',
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
0 => 'qty_in_stock',
|
||
|
|
1 => 'reorder_level',
|
||
|
|
),
|
||
|
|
2 =>
|
||
|
|
array (
|
||
|
|
0 => '',
|
||
|
|
1 => 'qty_in_demand',
|
||
|
|
),
|
||
|
|
3 =>
|
||
|
|
array (
|
||
|
|
0 => 'lead_time',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'LBL_WWW_PANEL' =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
0 => 'www_available',
|
||
|
|
1 => 'www_popular',
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
0 => 'www_price_pln',
|
||
|
|
1 => 'www_price_eur',
|
||
|
|
),
|
||
|
|
2 =>
|
||
|
|
array (
|
||
|
|
0 => 'www_state',
|
||
|
|
1 => 'www_manual_update',
|
||
|
|
),
|
||
|
|
3 =>
|
||
|
|
array (
|
||
|
|
0 => 'www_state_desc_pl',
|
||
|
|
1 => 'www_state_desc_en',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'LBL_DRIVERS_IMAGES' =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_PRODUCT_PICTURE',
|
||
|
|
'customCode' => '<input name="product_picture" type="file" maxlength="255" value="" />{$PRODUCT_PICTURE_UPLOAD}',
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_PACKING_FRONT_PICTURE',
|
||
|
|
'customCode' => '<input name="packing_front_picture" type="file" maxlength="255" value="" />{$PACKING_FRONT_PICTURE_UPLOAD}',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'label' => 'Usuń zdjęcie',
|
||
|
|
'customCode' => '<input name="delete_product_picture" type="checkbox" maxlength="255" value="1" />',
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
'label' => 'Usuń zdjęcie',
|
||
|
|
'customCode' => '<input name="delete_packing_front_picture" type="checkbox" maxlength="255" value="1" />',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
2 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_DRIVER_1',
|
||
|
|
'customCode' => '<input name="driver_1" type="file" maxlength="255" value="" />{$DRIVER_1_UPLOAD}',
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_DRIVER_2',
|
||
|
|
'customCode' => '<input name="driver_2" type="file" maxlength="255" value="" />{$DRIVER_2_UPLOAD}',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'LBL_LOGISTIC_INFORMATION' =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
0 => 'moq',
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_CARTON_DIMENSIONS_1',
|
||
|
|
'customCode' => '<input name="carton_dimensions_1" size="3" maxlength="25" type="text" value="{$CARTON_DIMENSIONS_1}" /> x
|
||
|
|
<input name="carton_dimensions_2" size="3" maxlength="25" type="text" value="{$CARTON_DIMENSIONS_2}" /> x
|
||
|
|
<input name="carton_dimensions_3" size="3" maxlength="25" type="text" value="{$CARTON_DIMENSIONS_3}" />',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_FOB_BASIS_NAME',
|
||
|
|
'customCode' => '<select id="fob_basis_id" name="fob_basis_id">{$FOB_BASIS_ID}</select>',
|
||
|
|
),
|
||
|
|
1 => 'carton_netto_weight',
|
||
|
|
),
|
||
|
|
2 =>
|
||
|
|
array (
|
||
|
|
0 => 'delivery_time_fob',
|
||
|
|
1 => 'carton_brutto_weight',
|
||
|
|
),
|
||
|
|
3 =>
|
||
|
|
array (
|
||
|
|
0 => 'pieces_per_carton',
|
||
|
|
1 => 'carton_volume_meter',
|
||
|
|
),
|
||
|
|
4 =>
|
||
|
|
array (
|
||
|
|
0 => 'product_netto_weight',
|
||
|
|
1 => 'unit_id',
|
||
|
|
),
|
||
|
|
5 =>
|
||
|
|
array (
|
||
|
|
0 => 'product_brutto_weight',
|
||
|
|
1 => 'country_of_origin',
|
||
|
|
),
|
||
|
|
6 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_PACKING_TYPE_NAME',
|
||
|
|
'customCode' => '<select id="packing_type_id" name="packing_type_id">{$PACKING_TYPE_ID}</select>',
|
||
|
|
),
|
||
|
|
1 => 'certificate_of_origin',
|
||
|
|
),
|
||
|
|
7 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_PACKING_DIMENSIONS_1',
|
||
|
|
'customCode' => '<input name="packing_dimensions_1" size="3" maxlength="25" type="text" value="{$PACKING_DIMENSIONS_1}" /> x
|
||
|
|
<input name="packing_dimensions_2" size="3" maxlength="25" type="text" value="{$PACKING_DIMENSIONS_2}" /> x
|
||
|
|
<input name="packing_dimensions_3" size="3" maxlength="25" type="text" value="{$PACKING_DIMENSIONS_3}" />',
|
||
|
|
),
|
||
|
|
1 => 'form_a',
|
||
|
|
),
|
||
|
|
8 =>
|
||
|
|
array (
|
||
|
|
0 => 'rma',
|
||
|
|
),
|
||
|
|
9 =>
|
||
|
|
array (
|
||
|
|
0 => 'boxes_per_layer',
|
||
|
|
1 => 'number_of_layers',
|
||
|
|
),
|
||
|
|
10 =>
|
||
|
|
array (
|
||
|
|
0 => 'boxes_per_palette',
|
||
|
|
1 => 'pieces_per_palette',
|
||
|
|
),
|
||
|
|
11 =>
|
||
|
|
array (
|
||
|
|
0 => 'palette_weight_brutto',
|
||
|
|
1 => '',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'LBL_LOCALIZED_INFORMATION' =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'hideLabel' => true,
|
||
|
|
'customCode' => '
|
||
|
|
<script>
|
||
|
|
{literal}
|
||
|
|
function select_lang(value)
|
||
|
|
{
|
||
|
|
document.getElementById("remarks_pl").style.display="none";
|
||
|
|
document.getElementById("short_description_pl").style.display="none";
|
||
|
|
document.getElementById("long_description_pl").style.display="none";
|
||
|
|
document.getElementById("price_pl").style.display="none";
|
||
|
|
|
||
|
|
document.getElementById("remarks_en").style.display="none";
|
||
|
|
document.getElementById("short_description_en").style.display="none";
|
||
|
|
document.getElementById("long_description_en").style.display="none";
|
||
|
|
document.getElementById("price_en").style.display="none";
|
||
|
|
|
||
|
|
document.getElementById("remarks_de").style.display="none";
|
||
|
|
document.getElementById("short_description_de").style.display="none";
|
||
|
|
document.getElementById("long_description_de").style.display="none";
|
||
|
|
document.getElementById("price_de").style.display="none";
|
||
|
|
|
||
|
|
document.getElementById("remarks_fr").style.display="none";
|
||
|
|
document.getElementById("short_description_fr").style.display="none";
|
||
|
|
document.getElementById("long_description_fr").style.display="none";
|
||
|
|
document.getElementById("price_fr").style.display="none";
|
||
|
|
|
||
|
|
document.getElementById("remarks_it").style.display="none";
|
||
|
|
document.getElementById("short_description_it").style.display="none";
|
||
|
|
document.getElementById("long_description_it").style.display="none";
|
||
|
|
document.getElementById("price_it").style.display="none";
|
||
|
|
|
||
|
|
document.getElementById("remarks_es").style.display="none";
|
||
|
|
document.getElementById("short_description_es").style.display="none";
|
||
|
|
document.getElementById("long_description_es").style.display="none";
|
||
|
|
document.getElementById("price_es").style.display="none";
|
||
|
|
|
||
|
|
document.getElementById("remarks_"+value).style.display="block";
|
||
|
|
document.getElementById("short_description_"+value).style.display="block";
|
||
|
|
document.getElementById("long_description_"+value).style.display="block";
|
||
|
|
document.getElementById("price_"+value).style.display="block";
|
||
|
|
}
|
||
|
|
{/literal}
|
||
|
|
</script>
|
||
|
|
<select name="slang" id="slang" onchange="select_lang(this.value);">
|
||
|
|
<option value="pl">pl</option>
|
||
|
|
<option value="en">en</option>
|
||
|
|
<option value="de">de</option>
|
||
|
|
<option value="fr">fr</option>
|
||
|
|
<option value="it">it</option>
|
||
|
|
<option value="es">es</option>
|
||
|
|
</select>',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
0 => '',
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_REMARKS',
|
||
|
|
'customCode' => '
|
||
|
|
<input name="remarks_pl" type="text" id="remarks_pl" value="{$REMARKS_pl}" />
|
||
|
|
<input style="display:none;" name="remarks_en" type="text" id="remarks_en" value="{$REMARKS_en}" />
|
||
|
|
<input style="display:none;" name="remarks_de" type="text" id="remarks_de" value="{$REMARKS_de}" />
|
||
|
|
<input style="display:none;" name="remarks_fr" type="text" id="remarks_fr" value="{$REMARKS_fr}" />
|
||
|
|
<input style="display:none;" name="remarks_it" type="text" id="remarks_it" value="{$REMARKS_it}" />
|
||
|
|
<input style="display:none;" name="remarks_es" type="text" id="remarks_es" value="{$REMARKS_es}" />',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
2 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_SHORT_DESCRIPTION',
|
||
|
|
'customCode' => '
|
||
|
|
<textarea name="short_description_pl" type="text" id="short_description_pl">{$SHORT_DESCRIPTION_pl}</textarea>
|
||
|
|
<textarea style="display:none;" name="short_description_en" type="text" id="short_description_en">{$SHORT_DESCRIPTION_en}</textarea>
|
||
|
|
<textarea style="display:none;" name="short_description_de" type="text" id="short_description_de">{$SHORT_DESCRIPTION_de}</textarea>
|
||
|
|
<textarea style="display:none;" name="short_description_fr" type="text" id="short_description_fr">{$SHORT_DESCRIPTION_fr}</textarea>
|
||
|
|
<textarea style="display:none;" name="short_description_it" type="text" id="short_description_it">{$SHORT_DESCRIPTION_it}</textarea>
|
||
|
|
<textarea style="display:none;" name="short_description_es" type="text" id="short_description_es">{$SHORT_DESCRIPTION_es}</textarea>',
|
||
|
|
),
|
||
|
|
1 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_LONG_DESCRIPTION',
|
||
|
|
'customCode' => '
|
||
|
|
<textarea name="long_description_pl" cols="80" rows="20" type="text" id="long_description_pl">{$LONG_DESCRIPTION_pl}</textarea>
|
||
|
|
<textarea cols="80" rows="20" style="display:none;" name="long_description_en" type="text" id="long_description_en">{$LONG_DESCRIPTION_en}</textarea>
|
||
|
|
<textarea cols="80" rows="20" style="display:none;" name="long_description_de" type="text" id="long_description_de">{$LONG_DESCRIPTION_de}</textarea>
|
||
|
|
<textarea cols="80" rows="20" style="display:none;" name="long_description_fr" type="text" id="long_description_fr">{$LONG_DESCRIPTION_fr}</textarea>
|
||
|
|
<textarea cols="80" rows="20" style="display:none;" name="long_description_it" type="text" id="long_description_it">{$LONG_DESCRIPTION_it}</textarea>
|
||
|
|
<textarea cols="80" rows="20" style="display:none;" name="long_description_es" type="text" id="long_description_es">{$LONG_DESCRIPTION_es}</textarea>',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
3 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'label' => 'LBL_PRICE',
|
||
|
|
'customCode' => '
|
||
|
|
<input name="price_pl" type="text" id="price_pl" value="{$PRICE_pl}" />
|
||
|
|
<input style="display:none;" name="price_en" type="text" id="price_en" value="{$PRICE_en}" />
|
||
|
|
<input style="display:none;" name="price_de" type="text" id="price_de" value="{$PRICE_de}" />
|
||
|
|
<input style="display:none;" name="price_fr" type="text" id="price_fr" value="{$PRICE_fr}" />
|
||
|
|
<input style="display:none;" name="price_it" type="text" id="price_it" value="{$PRICE_it}" />
|
||
|
|
<input style="display:none;" name="price_es" type="text" id="price_es" value="{$PRICE_es}" />',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'LBL_PANEL_CATEGORIES' =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'name' => 'items_list_panel',
|
||
|
|
'allCols' => true,
|
||
|
|
'hideLabel' => true,
|
||
|
|
'customCode' => '
|
||
|
|
<input type="hidden" name="position_list3" id="position_list3" value=\'{$POSITION_LIST3}\'>
|
||
|
|
<link rel="stylesheet" type="text/css" href="modules/Accounts/MyTable.css" />
|
||
|
|
<div style="width:30%;border: 1px solid rgb(48,192,255);background-color:white;height:{$OPT.position_table_height}px;max-height:{$OPT.position_table_height}px;overflow:auto;" id="itemsTableDIV3">
|
||
|
|
<table class="positions" style="width:100%;" id="itemsTable3">
|
||
|
|
<thead id="head">
|
||
|
|
<tr id="tr">
|
||
|
|
<td width="80%">{$MOD.LBL_CATEGORY_NAME}</td>
|
||
|
|
<td width="20%"></td>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody id="tbody">
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
</div><br>',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
array(
|
||
|
|
'product_size',
|
||
|
|
'product_kind',
|
||
|
|
) ,
|
||
|
|
array(
|
||
|
|
'product_brand',
|
||
|
|
) ,
|
||
|
|
),
|
||
|
|
'LBL_PANEL_PRICES' =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'name' => 'items_list_panel',
|
||
|
|
'allCols' => true,
|
||
|
|
'hideLabel' => true,
|
||
|
|
'customCode' => '
|
||
|
|
<input type="hidden" name="position_list4" id="position_list4" value=\'{$POSITION_LIST4}\'>
|
||
|
|
<link rel="stylesheet" type="text/css" href="modules/Accounts/MyTable.css" />
|
||
|
|
<div style="width:30%;border: 1px solid rgb(48,192,255);background-color:white;height:{$OPT.position_table_height}px;max-height:{$OPT.position_table_height}px;overflow:auto;" id="itemsTableDIV">
|
||
|
|
<table class="positions" style="width:100%;" id="itemsTable4">
|
||
|
|
<thead id="head">
|
||
|
|
<tr id="tr">
|
||
|
|
<td width="70%">{$MOD.LBL_PRICE_NAME}</td>
|
||
|
|
<td width="30%">{$MOD.LBL_PRICE_VALUE}</td>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody id="tbody">
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
</div><br>',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'LBL_PRODUCTION_PANEL' =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
0 =>
|
||
|
|
array (
|
||
|
|
'name' => 'production_panel',
|
||
|
|
'allCols' => true,
|
||
|
|
'hideLabel' => true,
|
||
|
|
'customCode' => '{$MOD.LBL_COMPONENTS}<br><div id="componentsTable"></div><br><br>{$MOD.LBL_ACTIONS}<div id="actionsTable"></div>
|
||
|
|
<br><br><div style="width: 17%;" id="copyProduct"></div><div style="width: 17%" id="copyButtons"></div>',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
),
|
||
|
|
),
|
||
|
|
),
|
||
|
|
);
|
||
|
|
?>
|