Offline payment method for customer

This commit is contained in:
cuneytsenturk
2017-11-18 16:57:55 +03:00
parent 6e7b9d6964
commit 994998dc0b
8 changed files with 180 additions and 21 deletions

View File

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