Add new menu item call
This commit is contained in:
parent
b74226871e
commit
97404460ee
3 changed files with 15 additions and 1 deletions
|
|
@ -1,10 +1,13 @@
|
|||
<?php
|
||||
namespace Garradin;
|
||||
use Garradin\Entities\Files\File;
|
||||
use Garradin\Plugin\Facturation\Facture;
|
||||
|
||||
$db = DB::getInstance();
|
||||
|
||||
$db->import(dirname(__FILE__) . "/data/schema.sql");
|
||||
|
||||
$path = __DIR__.'/data/default_sign.png';
|
||||
$png = (new File)->createAndStore('skel/plugin/facturation','sign.png', $path, null);
|
||||
$png = (new File)->createAndStore('skel/plugin/facturation','sign.png', $path, null);
|
||||
|
||||
$plugin->registerSignal('menu.item', [Facture::class, 'menuItem']);
|
||||
Loading…
Add table
Add a link
Reference in a new issue