akaunting/app/Http/Requests/Customer/InvoiceConfirm.php

31 lines
515 B
PHP
Raw Normal View History

2017-11-18 16:57:55 +03:00
<?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',
];
}
}