Managing own invoices
This commit is contained in:
1 parent
ab711109a7
commit
f468814a2f
15 files changed
+715
-21
No files matched your search
@@ -36,9 +36,9 @@ class ChangeStatusCommand {
|
||||
$this->request->invoice->comment = $this->request->invoice->denied_reason;
|
||||
$this->request->invoice->denied_reason = null;
|
||||
break;
|
||||
|
||||
|
||||
|
||||
case InvoiceStatus::INVOICE_STATUS_DELETED:
|
||||
$this->request->invoice->status = InvoiceStatus::INVOICE_STATUS_DELETED;
|
||||
break;
|
||||
}
|
||||
|
||||
if ($this->request->invoice->save()) {
|
||||
|
||||
Reference in new issue
Block a user