mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Merge branch 'master' of https://github.com/devcode-it/openstamanager
This commit is contained in:
@@ -367,6 +367,9 @@ switch (post('op')) {
|
||||
|
||||
case 'reopen':
|
||||
if (!empty($id_record)) {
|
||||
$stato = Stato::where('descrizione', 'Bozza')->first();
|
||||
$fattura->stato()->associate($stato);
|
||||
$fattura->save();
|
||||
$stato = Stato::where('descrizione', 'Emessa')->first();
|
||||
$fattura->stato()->associate($stato);
|
||||
$fattura->save();
|
||||
|
Reference in New Issue
Block a user