PDF pour CERFA

This commit is contained in:
Noizette 2021-11-24 23:44:46 +01:00
parent b4629a5ed9
commit 2e6ba2f866
9 changed files with 149 additions and 82 deletions

View file

@ -2,6 +2,7 @@
namespace Garradin;
use Garradin\Plugin\Facturation\Facture;
use Garradin\Entities\Files\File;
define('DEVIS', 0);
define('FACT', 1);
@ -136,5 +137,8 @@ EOT
$facture->edit($f->id, $data);
unset($contenu);
}
$path = PLUGIN_ROOT.'/data/default_sign.png';
$png = (new File)->createAndStore('skel/plugin/facturation','sign.png', $path, null);
}
}