mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Move credits.public_notes to fillable
This commit is contained in:
parent
d654f996a2
commit
f3cf79ffee
@ -113,10 +113,10 @@ class CreditRepository extends BaseRepository
|
||||
$credit->client_id = Client::getPrivateId($input['client']);
|
||||
}
|
||||
|
||||
$credit->fill($input);
|
||||
$credit->credit_date = Utils::toSqlDate($input['credit_date']);
|
||||
$credit->amount = Utils::parseFloat($input['amount']);
|
||||
$credit->private_notes = trim($input['private_notes']);
|
||||
$credit->public_notes = trim($input['public_notes']);
|
||||
$credit->save();
|
||||
|
||||
return $credit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user