removed invoice/bill status tables
This commit is contained in:
@@ -39,7 +39,7 @@ class CreateInvoiceHistory extends Job
|
||||
$invoice_history = InvoiceHistory::create([
|
||||
'company_id' => $this->invoice->company_id,
|
||||
'invoice_id' => $this->invoice->id,
|
||||
'status_code' => $this->invoice->invoice_status_code,
|
||||
'status' => $this->invoice->status,
|
||||
'notify' => $this->notify,
|
||||
'description' => $description,
|
||||
]);
|
||||
|
||||
@@ -57,7 +57,7 @@ class UpdateInvoice extends Job
|
||||
unset($this->invoice->reconciled);
|
||||
|
||||
if (($invoice_paid) && $this->request['amount'] > $invoice_paid) {
|
||||
$this->request['invoice_status_code'] = 'partial';
|
||||
$this->request['status'] = 'partial';
|
||||
}
|
||||
|
||||
$this->invoice->update($this->request->all());
|
||||
|
||||
Reference in New Issue
Block a user