share invoice on email backend

This commit is contained in:
Peter Papp
2021-05-11 07:45:38 +02:00
parent 9857a30d2c
commit 5ea898d716
4 changed files with 123 additions and 42 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Http\Requests\Oasis;
use Illuminate\Foundation\Http\FormRequest;
class ShareInvoiceRequest extends FormRequest
{
/**
* 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 [
'email' => 'required|email',
];
}
}