mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-29 09:11:11 +01:00
20 lines
404 B
PHP
20 lines
404 B
PHP
<?php
|
|
|
|
include_once __DIR__.'/../../core.php';
|
|
|
|
use Modules\Fatture\Fattura;
|
|
|
|
$documento = Fattura::find($id_record);
|
|
|
|
$options = [
|
|
'type' => 'nota_credito',
|
|
'op' => 'nota_credito',
|
|
'module' => 'Fatture di vendita',
|
|
'documento' => $documento,
|
|
'button' => tr('Aggiungi'),
|
|
'create_document' => true,
|
|
'allow-empty' => true,
|
|
];
|
|
|
|
echo App::load('importa.php', [], $options, true);
|