1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Support for negative expenses

This commit is contained in:
Hillel Coren 2016-03-13 21:04:47 +02:00
parent d47251a475
commit 497a581bcd
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class CreateExpenseRequest extends Request
public function rules()
{
return [
'amount' => 'positive',
'amount' => 'numeric',
];
}
}

View File

@ -24,7 +24,7 @@ class UpdateExpenseRequest extends Request
public function rules()
{
return [
'amount' => 'positive',
'amount' => 'numeric',
'expense_date' => 'required',
];
}