Offline Payment modified.

This commit is contained in:
Cüneyt Şentürk
2017-11-17 02:09:11 +03:00
parent a3dbdaffad
commit 5b9d9d1b03
4 changed files with 85 additions and 0 deletions

View File

@ -0,0 +1,31 @@
<?php
namespace App\Http\Requests\Customer;
use App\Http\Requests\Request;
class InvoicePayment 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 [
'invoice_id' => 'required|integer',
'payment_method' => 'required|string',
];
}
}