2019-11-02 17:53:27 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Garradin;
|
|
|
|
|
2020-12-29 18:07:26 +01:00
|
|
|
define('DEVIS', 0);
|
|
|
|
define('FACT', 1);
|
|
|
|
define('CERFA', 2);
|
|
|
|
define('COTIS', 3);
|
|
|
|
|
2019-11-02 17:53:27 +01:00
|
|
|
use Garradin\Plugin\Facturation\Facture;
|
|
|
|
use Garradin\Plugin\Facturation\Client;
|
2020-10-24 05:40:42 +02:00
|
|
|
use Garradin\Plugin\Facturation\GenDon;
|
2019-11-02 17:53:27 +01:00
|
|
|
|
|
|
|
$client = new Client;
|
2019-11-03 17:51:31 +01:00
|
|
|
$facture = new Facture;
|
2020-10-24 09:19:21 +02:00
|
|
|
|
2020-12-29 18:07:26 +01:00
|
|
|
$tpl->assign('f_obj', $facture);
|
|
|
|
|
|
|
|
$identite = (string) Config::getInstance()->get('champ_identite');
|