Ajout mode_reglement et cond_reglement dans commande
This commit is contained in:
parent
fc6a83a554
commit
a1dd84fa58
@ -647,10 +647,13 @@ else
|
|||||||
|
|
||||||
// Conditions et modes de réglement
|
// Conditions et modes de réglement
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
|
print '</td><td height="10">';
|
||||||
|
print '<table class="nobordernopadding" width="100%"><tr><td>';
|
||||||
print $langs->trans('PaymentConditions');
|
print $langs->trans('PaymentConditions');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
if ($_GET['action'] != 'editconditions' && $commande->brouillon) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editconditions&id='.$commande->id.'">'.img_edit($langs->trans('SetConditions'),1).'</a></td>';
|
if ($_GET['action'] != 'editconditions' && $commande->brouillon) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editconditions&id='.$commande->id.'">'.img_edit($langs->trans('SetConditions'),1).'</a></td>';
|
||||||
print '</tr>';
|
print '</tr></table>';
|
||||||
print '</td><td colspan="2">';
|
print '</td><td colspan="2">';
|
||||||
if ($_GET['action'] == 'editconditions')
|
if ($_GET['action'] == 'editconditions')
|
||||||
{
|
{
|
||||||
@ -660,12 +663,13 @@ else
|
|||||||
{
|
{
|
||||||
$html->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$commande->id,$commande->cond_reglement_id,'none');
|
$html->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$commande->id,$commande->cond_reglement_id,'none');
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td></tr>';
|
||||||
print '<tr><td>';
|
print '<tr><td height="10">';
|
||||||
|
print '<table class="nobordernopadding" width="100%"><tr><td>';
|
||||||
print $langs->trans('PaymentMode');
|
print $langs->trans('PaymentMode');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if ($_GET['action'] != 'editmode' && $commande->brouillon) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editmode&facid='.$commande->id.'">'.img_edit($langs->trans('SetMode'),1).'</a></td>';
|
if ($_GET['action'] != 'editmode' && $commande->brouillon) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editmode&facid='.$commande->id.'">'.img_edit($langs->trans('SetMode'),1).'</a></td>';
|
||||||
print '</tr>';
|
print '</tr></table>';
|
||||||
print '</td><td colspan="2">';
|
print '</td><td colspan="2">';
|
||||||
if ($_GET['action'] == 'editmode')
|
if ($_GET['action'] == 'editmode')
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user