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

assigned_user_id added to fillable models

This commit is contained in:
David Bomba 2020-06-22 07:23:32 +10:00
parent 79ce603d60
commit 7787aa49e9
4 changed files with 4 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class UpdatePaymentRequest extends Request
public function rules()
{//min:1 removed
{//min:1 removed, 'required'
return [
'invoices' => ['array',new PaymentAppliedValidAmount,new ValidCreditsPresentRule],
'invoices.*.invoice_id' => 'distinct',

View File

@ -64,6 +64,7 @@ class Client extends BaseModel implements HasLocalePreference
];
protected $fillable = [
'assigned_user_id',
'currency_id',
'name',
'website',

View File

@ -38,6 +38,7 @@ class Credit extends BaseModel
protected $presenter = 'App\Models\Presenters\CreditPresenter';
protected $fillable = [
'assigned_user_id',
'number',
'discount',
'po_number',

View File

@ -42,6 +42,7 @@ class Quote extends BaseModel
protected $presenter = 'App\Models\Presenters\QuotePresenter';
protected $fillable = [
'assigned_user_id',
'number',
'discount',
'po_number',