Update objectline_view.tpl.php
This commit is contained in:
parent
6f7098d22e
commit
c3cd2ff3db
@ -143,6 +143,14 @@ if (empty($outputalsopricetotalwithtax)) $outputalsopricetotalwithtax=0;
|
|||||||
echo get_date_range($line->date_start,$line->date_end, $format);
|
echo get_date_range($line->date_start,$line->date_end, $format);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! empty($conf->accounting->enabled) && $line->fk_accounting_account > 0)
|
||||||
|
{
|
||||||
|
$accountingaccount=new AccountingAccount($this->db);
|
||||||
|
$accountingaccount->fetch($line->fk_accounting_account);
|
||||||
|
echo '<br>' . $langs->trans('AccountingAffectation') . ': ' . $accountingaccount->getNomUrl(0,1,1);
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
@ -285,15 +293,6 @@ if (empty($outputalsopricetotalwithtax)) $outputalsopricetotalwithtax=0;
|
|||||||
<td colspan="3"><?php $coldisplay=$coldisplay+3; ?></td>
|
<td colspan="3"><?php $coldisplay=$coldisplay+3; ?></td>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?php
|
|
||||||
if (! empty($conf->accounting->enabled) && $line->fk_accounting_account > 0)
|
|
||||||
{
|
|
||||||
$accountingaccount=new AccountingAccount($this->db);
|
|
||||||
$accountingaccount->fetch($line->fk_accounting_account);
|
|
||||||
echo '<tr><td colspan=' . $coldisplay . '>' . $langs->trans('AccountingAffectation') . ': ' . $accountingaccount->getNomUrl(0,1,1) . '</td></tr>';
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
//Line extrafield
|
//Line extrafield
|
||||||
if (!empty($extrafieldsline))
|
if (!empty($extrafieldsline))
|
||||||
@ -303,4 +302,5 @@ if (!empty($extrafieldsline))
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<!-- END PHP TEMPLATE objectline_view.tpl.php -->
|
<!-- END PHP TEMPLATE objectline_view.tpl.php -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user