bank reconciliation

This commit is contained in:
denisdulici
2018-10-27 17:57:40 +03:00
parent 42f6b00485
commit 268a4aa9d5
29 changed files with 1209 additions and 88 deletions

View File

@ -0,0 +1,33 @@
<?php
namespace App\Http\Requests\Banking;
use App\Http\Requests\Request;
class Reconciliation extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'account_id' => 'required|integer',
'started_at' => 'required|date_format:Y-m-d H:i:s',
'ended_at' => 'required|date_format:Y-m-d H:i:s',
'closing_balance' => 'required|amount',
];
}
}