Added an appointment cancellation button

This commit is contained in:
2021-11-03 00:37:47 +00:00
parent 5c536e0c0b
commit fce6e92d9d
25 changed files with 746 additions and 7 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CancelAppointmentRequest 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 [
'reason' => 'string|required'
];
}
}