mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-09 08:08:39 +01:00
Fix #536
This commit is contained in:
parent
0c66cfd17c
commit
4bba891b5b
@ -4,8 +4,6 @@ include_once __DIR__.'/../../core.php';
|
|||||||
|
|
||||||
$module = Modules::get($id_module);
|
$module = Modules::get($id_module);
|
||||||
|
|
||||||
$dir = ($module['name'] == 'Fatture di vendita') ? 'entrata' : 'uscita';
|
|
||||||
|
|
||||||
if (get('op')) {
|
if (get('op')) {
|
||||||
$options = [
|
$options = [
|
||||||
'op' => 'add_contratto',
|
'op' => 'add_contratto',
|
||||||
@ -19,7 +17,7 @@ if (get('op')) {
|
|||||||
],
|
],
|
||||||
'serials' => false,
|
'serials' => false,
|
||||||
'button' => tr('Aggiungi'),
|
'button' => tr('Aggiungi'),
|
||||||
'dir' => $dir,
|
'dir' => 'entrata',
|
||||||
];
|
];
|
||||||
|
|
||||||
$result = [
|
$result = [
|
||||||
|
@ -17,7 +17,7 @@ if (get('op')) {
|
|||||||
],
|
],
|
||||||
'serials' => false,
|
'serials' => false,
|
||||||
'button' => tr('Aggiungi'),
|
'button' => tr('Aggiungi'),
|
||||||
'dir' => $dir,
|
'dir' => 'entrata',
|
||||||
];
|
];
|
||||||
|
|
||||||
$result = [
|
$result = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user