Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
ba59c27754
@ -977,7 +977,12 @@ if ($resql)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Show total line
|
// Show total line
|
||||||
if (isset($totalarray['totalhtfield']))
|
if (isset($totalarray['totalhtfield'])
|
||||||
|
|| isset($totalarray['totalvatfield'])
|
||||||
|
|| isset($totalarray['totalttcfield'])
|
||||||
|
|| isset($totalarray['totalamfield'])
|
||||||
|
|| isset($totalarray['totalrtpfield'])
|
||||||
|
)
|
||||||
{
|
{
|
||||||
print '<tr class="liste_total">';
|
print '<tr class="liste_total">';
|
||||||
$i=0;
|
$i=0;
|
||||||
|
|||||||
@ -1393,7 +1393,12 @@ if ($resql)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Show total line
|
// Show total line
|
||||||
if (isset($totalarray['totalhtfield']))
|
if (isset($totalarray['totalhtfield'])
|
||||||
|
|| isset($totalarray['totalvatfield'])
|
||||||
|
|| isset($totalarray['totalttcfield'])
|
||||||
|
|| isset($totalarray['totalamfield'])
|
||||||
|
|| isset($totalarray['totalrtpfield'])
|
||||||
|
)
|
||||||
{
|
{
|
||||||
print '<tr class="liste_total">';
|
print '<tr class="liste_total">';
|
||||||
$i=0;
|
$i=0;
|
||||||
|
|||||||
@ -956,7 +956,12 @@ if ($resql)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Show total line
|
// Show total line
|
||||||
if (isset($totalarray['totalhtfield']))
|
if (isset($totalarray['totalhtfield'])
|
||||||
|
|| isset($totalarray['totalvatfield'])
|
||||||
|
|| isset($totalarray['totalttcfield'])
|
||||||
|
|| isset($totalarray['totalamfield'])
|
||||||
|
|| isset($totalarray['totalrtpfield'])
|
||||||
|
)
|
||||||
{
|
{
|
||||||
print '<tr class="liste_total">';
|
print '<tr class="liste_total">';
|
||||||
$i=0;
|
$i=0;
|
||||||
|
|||||||
@ -1050,7 +1050,9 @@ if ($action == 'create')
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!empty($conf->multicurrency->enabled) && !empty($soc->multicurrency_code)) $currency_code = $soc->multicurrency_code;
|
$cond_reglement_id = $soc->cond_reglement_supplier_id;
|
||||||
|
$mode_reglement_id = $soc->mode_reglement_supplier_id;
|
||||||
|
if (!empty($conf->multicurrency->enabled) && !empty($soc->multicurrency_code)) $currency_code = $soc->multicurrency_code;
|
||||||
}
|
}
|
||||||
|
|
||||||
$object = new SupplierProposal($db);
|
$object = new SupplierProposal($db);
|
||||||
@ -1087,12 +1089,12 @@ if ($action == 'create')
|
|||||||
|
|
||||||
// Terms of payment
|
// Terms of payment
|
||||||
print '<tr><td class="nowrap">' . $langs->trans('PaymentConditionsShort') . '</td><td colspan="2">';
|
print '<tr><td class="nowrap">' . $langs->trans('PaymentConditionsShort') . '</td><td colspan="2">';
|
||||||
$form->select_conditions_paiements(GETPOST('cond_reglement_id') > 0 ? GETPOST('cond_reglement_id') : $soc->cond_reglement_id, 'cond_reglement_id', -1, 1);
|
$form->select_conditions_paiements(GETPOST('cond_reglement_id') > 0 ? GETPOST('cond_reglement_id') : $cond_reglement_id, 'cond_reglement_id', -1, 1);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Mode of payment
|
// Mode of payment
|
||||||
print '<tr><td>' . $langs->trans('PaymentMode') . '</td><td colspan="2">';
|
print '<tr><td>' . $langs->trans('PaymentMode') . '</td><td colspan="2">';
|
||||||
$form->select_types_paiements(GETPOST('mode_reglement_id') > 0 ? GETPOST('mode_reglement_id') : $soc->mode_reglement_id, 'mode_reglement_id');
|
$form->select_types_paiements(GETPOST('mode_reglement_id') > 0 ? GETPOST('mode_reglement_id') : $mode_reglement_id, 'mode_reglement_id');
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Bank Account
|
// Bank Account
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user