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:
parent
79ce603d60
commit
7787aa49e9
@ -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',
|
||||
|
@ -64,6 +64,7 @@ class Client extends BaseModel implements HasLocalePreference
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'assigned_user_id',
|
||||
'currency_id',
|
||||
'name',
|
||||
'website',
|
||||
|
@ -38,6 +38,7 @@ class Credit extends BaseModel
|
||||
protected $presenter = 'App\Models\Presenters\CreditPresenter';
|
||||
|
||||
protected $fillable = [
|
||||
'assigned_user_id',
|
||||
'number',
|
||||
'discount',
|
||||
'po_number',
|
||||
|
@ -42,6 +42,7 @@ class Quote extends BaseModel
|
||||
protected $presenter = 'App\Models\Presenters\QuotePresenter';
|
||||
|
||||
protected $fillable = [
|
||||
'assigned_user_id',
|
||||
'number',
|
||||
'discount',
|
||||
'po_number',
|
||||
|
Loading…
Reference in New Issue
Block a user