forked from Wavyzz/dolibarr
wip
This commit is contained in:
@@ -240,7 +240,7 @@ if (empty($reshook))
|
|||||||
if (! empty($conf->banque->enabled))
|
if (! empty($conf->banque->enabled))
|
||||||
{
|
{
|
||||||
// Si module bank actif, un compte est obligatoire lors de la saisie d'un paiement
|
// Si module bank actif, un compte est obligatoire lors de la saisie d'un paiement
|
||||||
if (GETPOST('accountid','int') <= 0)
|
if (GETPOST('accountid', 'int') <= 0)
|
||||||
{
|
{
|
||||||
setEventMessages($langs->trans('ErrorFieldRequired', $langs->transnoentities('AccountToCredit')), null, 'errors');
|
setEventMessages($langs->trans('ErrorFieldRequired', $langs->transnoentities('AccountToCredit')), null, 'errors');
|
||||||
$error++;
|
$error++;
|
||||||
|
|||||||
@@ -1470,7 +1470,7 @@ class Form
|
|||||||
$contactstatic->id=$obj->rowid;
|
$contactstatic->id=$obj->rowid;
|
||||||
$contactstatic->lastname=$obj->lastname;
|
$contactstatic->lastname=$obj->lastname;
|
||||||
$contactstatic->firstname=$obj->firstname;
|
$contactstatic->firstname=$obj->firstname;
|
||||||
if ($obj->statut == 1){
|
if ($obj->statut == 1) {
|
||||||
if ($htmlname != 'none')
|
if ($htmlname != 'none')
|
||||||
{
|
{
|
||||||
$disabled=0;
|
$disabled=0;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1312,7 +1312,6 @@ class pdf_crabe extends ModelePDFFactures
|
|||||||
$pdf->MultiCell($largcol2, $tab2_hl, price($tvaval, 0, $outputlangs), 0, 'R', 1);
|
$pdf->MultiCell($largcol2, $tab2_hl, price($tvaval, 0, $outputlangs), 0, 'R', 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
//}
|
//}
|
||||||
|
|
||||||
// Revenue stamp
|
// Revenue stamp
|
||||||
|
|||||||
Reference in New Issue
Block a user