Minor Fixes
This commit is contained in:
parent
1efdd262fe
commit
2362ecb137
2 changed files with 2 additions and 0 deletions
|
|
@ -101,6 +101,7 @@ class Invoice extends BaseModel
|
|||
'updated_at' => 'timestamp',
|
||||
'created_at' => 'timestamp',
|
||||
'deleted_at' => 'timestamp',
|
||||
'is_deleted' => 'bool',
|
||||
];
|
||||
|
||||
protected $with = [];
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ class AutoBillInvoice extends AbstractService
|
|||
$fee = 0;
|
||||
|
||||
/* Build payment hash */
|
||||
|
||||
$payment_hash = PaymentHash::create([
|
||||
'hash' => Str::random(64),
|
||||
'data' => ['invoices' => [['invoice_id' => $this->invoice->hashed_id, 'amount' => $amount, 'invoice_number' => $this->invoice->number]]],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue