production: production_description in product
This commit is contained in:
@@ -56,7 +56,9 @@ $detail->preDisplay();
|
||||
$uunit.='>'.$row['name'].'</option>';
|
||||
$uunit_array[$row['id']] = $row['name'];
|
||||
}
|
||||
$detail->ss->assign("USAGE_UNIT_ID",$uunit);
|
||||
$detail->ss->assign("USAGE_UNIT_ID",$uunit);
|
||||
|
||||
$detail->ss->assign("PRODUCTION_DESCRIPTION",$focus->production_description);
|
||||
|
||||
$tax='';
|
||||
$result = $db->query("select id,name from ecmvats where deleted='0' order by name asc");
|
||||
|
||||
@@ -175,6 +175,7 @@ class EcmProduct extends SugarBean
|
||||
var $url8;
|
||||
var $url9;
|
||||
var $ean;
|
||||
var $production_description;
|
||||
|
||||
// RELATED FIELDS
|
||||
var $created_by;
|
||||
|
||||
@@ -531,8 +531,6 @@ $viewdefs['EcmProducts']['DetailView'] = array(
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
|
||||
'LBL_PANEL_CATEGORIES' => array(
|
||||
0 => array(
|
||||
0 => array(
|
||||
@@ -569,7 +567,8 @@ $viewdefs['EcmProducts']['DetailView'] = array(
|
||||
'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 id="summaryTable" style="width: 50%; padding-right: 0px;">Podsumowanie</div>'
|
||||
<br><br><div id="summaryTable" style="width: 50%; padding-right: 0px;">Podsumowanie</div>
|
||||
<br>Receptura: {$PRODUCTION_DESCRIPTION}'
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
@@ -566,7 +566,8 @@ $viewdefs['EcmProducts']['EditView'] = array(
|
||||
'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>'
|
||||
<br><br><div style="width: 17%;" id="copyProduct"></div><div style="width: 17%" id="copyButtons"></div><br>
|
||||
Receptura:<br><textarea name="production_description" id="production_description" cols="80" rows="10"></textarea>'
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
@@ -1459,6 +1459,11 @@ $dictionary['EcmProduct'] = array(
|
||||
'vname' => 'LBL_DESCRIPTION',
|
||||
'type' => 'text'
|
||||
),
|
||||
'production_description' => array(
|
||||
'name' => 'description',
|
||||
'vname' => 'LBL_DESCRIPTION',
|
||||
'type' => 'text'
|
||||
),
|
||||
'models' => array(
|
||||
'name' => 'models',
|
||||
'vname' => 'LBL_MODELS',
|
||||
|
||||
Reference in New Issue
Block a user