PDF pour CERFA
This commit is contained in:
parent
b4629a5ed9
commit
2e6ba2f866
9 changed files with 149 additions and 82 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue