DONE: layout letter with letterhead and footer, notification for newly...

This commit is contained in:
ISMAIL MASSERAN
2026-06-28 02:16:49 +00:00
parent 94ecbe5887
commit 034ecf947f
400 changed files with 29802 additions and 5446 deletions
@@ -0,0 +1,30 @@
<?php
namespace Modules\Activity\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UploadActivityGalleryImageRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'file' => 'required|file|mimes:jpg,jpeg,png,webp,gif|max:10240',
'description' => 'nullable|string|max:1000',
];
}
public function messages(): array
{
return [
'file.required' => 'Imej diperlukan.',
'file.mimes' => 'Format imej tidak disokong. Gunakan jpg, jpeg, png, webp atau gif.',
'file.max' => 'Saiz imej melebihi had maksimum 10MB.',
];
}
}