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

@ -1,5 +1,6 @@
<?php
namespace Garradin;
use Garradin\Entities\Files\File;
$db = DB::getInstance();
@ -12,3 +13,6 @@ $plugin->setConfig('footer', "[EXEMPLE]\n".
"Association enregistrée en préfecture de XXX au numéro YYY"
);
$plugin->setConfig('validate_cp', true);
$path = PLUGIN_ROOT.'/data/default_sign.png';
$png = (new File)->createAndStore('skel/plugin/facturation','sign.png', $path, null);