mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Minor Fixes
This commit is contained in:
parent
1efdd262fe
commit
2362ecb137
@ -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…
Reference in New Issue
Block a user