Changement mention finale pour devis
This commit is contained in:
parent
77180a38ff
commit
201682f4d7
|
@ -20,22 +20,9 @@ $form->runIf('save', function () use ($plugin) {
|
||||||
$plugin->setConfigProperty('cp_asso', trim(f('cp_asso')));
|
$plugin->setConfigProperty('cp_asso', trim(f('cp_asso')));
|
||||||
$plugin->setConfigProperty('ville_asso', trim(f('ville_asso')));
|
$plugin->setConfigProperty('ville_asso', trim(f('ville_asso')));
|
||||||
|
|
||||||
$plugin->setConfigProperty('droit_art200', (bool)f('droit_art200'));
|
|
||||||
$plugin->setConfigProperty('droit_art238bis', (bool)f('droit_art238bis'));
|
|
||||||
$plugin->setConfigProperty('droit_art885_0VbisA', (bool)f('droit_art885_0VbisA'));
|
|
||||||
$plugin->setConfigProperty('objet_0', trim(f('objet_0')));
|
|
||||||
$plugin->setConfigProperty('objet_1', trim(f('objet_1')));
|
|
||||||
$plugin->setConfigProperty('objet_2', trim(f('objet_2')));;
|
|
||||||
|
|
||||||
$plugin->setConfigProperty('logo', (bool)f('logo'));
|
$plugin->setConfigProperty('logo', (bool)f('logo'));
|
||||||
$plugin->setConfigProperty('footer', f('footer'));
|
$plugin->setConfigProperty('footer', f('footer'));
|
||||||
|
|
||||||
$plugin->setConfigProperty('nom_client', f('nom_client'));
|
|
||||||
$plugin->setConfigProperty('prenom_client', f('prenom_client'));
|
|
||||||
$plugin->setConfigProperty('adresse_client', f('adresse_client'));
|
|
||||||
$plugin->setConfigProperty('code_postal_client', f('code_postal_client'));
|
|
||||||
$plugin->setConfigProperty('ville_client', f('ville_client'));
|
|
||||||
|
|
||||||
$plugin->setConfigProperty('validate_cp', (bool)f('validate_cp'));
|
$plugin->setConfigProperty('validate_cp', (bool)f('validate_cp'));
|
||||||
$plugin->setConfigProperty('unique_client_name', (bool)f('unique_client_name'));
|
$plugin->setConfigProperty('unique_client_name', (bool)f('unique_client_name'));
|
||||||
$plugin->setConfigProperty('pattern', f('pattern'));
|
$plugin->setConfigProperty('pattern', f('pattern'));
|
||||||
|
|
|
@ -189,12 +189,17 @@ EOF;
|
||||||
$echeance <br>
|
$echeance <br>
|
||||||
$reglee
|
$reglee
|
||||||
Moyen de paiement : $moyen_paiement
|
Moyen de paiement : $moyen_paiement
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
$footer
|
$footer
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
EOF;
|
EOF;
|
||||||
|
if ($f->type_facture == DEVIS) {
|
||||||
|
echo <<<EOF
|
||||||
|
<p><b>Bon pour accord, date et signature<b></p>
|
||||||
|
EOF;
|
||||||
|
}
|
||||||
|
|
||||||
$content = ob_get_clean();
|
$content = ob_get_clean();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue