Update productaccount.php
This commit is contained in:
parent
6d266d78b1
commit
c9aa00c09f
@ -414,7 +414,7 @@ if ($result)
|
|||||||
print '<td align="center">'.$product_static->getLibStatut(3, 1).'</td>';
|
print '<td align="center">'.$product_static->getLibStatut(3, 1).'</td>';
|
||||||
|
|
||||||
// Current accounting account
|
// Current accounting account
|
||||||
print '<td style="text-align:left;">';
|
print '<td class="left">';
|
||||||
if ($accounting_product_mode == 'ACCOUNTANCY_BUY') {
|
if ($accounting_product_mode == 'ACCOUNTANCY_BUY') {
|
||||||
print length_accountg($obj->accountancy_code_buy);
|
print length_accountg($obj->accountancy_code_buy);
|
||||||
if ($obj->accountancy_code_buy && empty($obj->aaid)) print ' '.img_warning($langs->trans("ValueNotIntoChartOfAccount"));
|
if ($obj->accountancy_code_buy && empty($obj->aaid)) print ' '.img_warning($langs->trans("ValueNotIntoChartOfAccount"));
|
||||||
@ -430,7 +430,7 @@ if ($result)
|
|||||||
$defaultvalue='';
|
$defaultvalue='';
|
||||||
if ($accounting_product_mode == 'ACCOUNTANCY_BUY') {
|
if ($accounting_product_mode == 'ACCOUNTANCY_BUY') {
|
||||||
// Accounting account buy
|
// Accounting account buy
|
||||||
print '<td style="text-align:left;">';
|
print '<td class="left">';
|
||||||
//$defaultvalue=GETPOST('codeventil_' . $product_static->id,'alpha'); This is id and we need a code
|
//$defaultvalue=GETPOST('codeventil_' . $product_static->id,'alpha'); This is id and we need a code
|
||||||
if (empty($defaultvalue)) $defaultvalue=$compta_prodbuy;
|
if (empty($defaultvalue)) $defaultvalue=$compta_prodbuy;
|
||||||
$codesell=length_accountg($obj->accountancy_code_buy);
|
$codesell=length_accountg($obj->accountancy_code_buy);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user