1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Minor Fixes

This commit is contained in:
David Bomba 2022-01-05 15:32:07 +11:00
parent 1efdd262fe
commit 2362ecb137
2 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,7 @@ class Invoice extends BaseModel
'updated_at' => 'timestamp',
'created_at' => 'timestamp',
'deleted_at' => 'timestamp',
'is_deleted' => 'bool',
];
protected $with = [];

View File

@ -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]]],