akaunting 3.0 (the last dance)
This commit is contained in:
21
app/Http/Requests/Setting/EmailTemplate.php
Normal file
21
app/Http/Requests/Setting/EmailTemplate.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests\Setting;
|
||||
|
||||
use App\Abstracts\Http\FormRequest;
|
||||
|
||||
class EmailTemplate extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'subject' => 'required|string',
|
||||
'body' => 'required|string',
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user