fix: make cooperation proposal template optional and update attachment description text
This commit is contained in:
parent
62bc02fbac
commit
b1bee2fc33
@ -112,8 +112,7 @@ public static function configure(Schema $schema): Schema
|
|||||||
->acceptedFileTypes(['application/pdf'])
|
->acceptedFileTypes(['application/pdf'])
|
||||||
->maxSize(1024 * 10)
|
->maxSize(1024 * 10)
|
||||||
->directory(fn (): string => 'cooperations/proposal-template/'.now()->toDateString())
|
->directory(fn (): string => 'cooperations/proposal-template/'.now()->toDateString())
|
||||||
->helperText('Format yang diterima: PDF. Ukuran maksimum: 10 MB.')
|
->helperText('Format yang diterima: PDF. Ukuran maksimum: 10 MB.'),
|
||||||
->required(),
|
|
||||||
])->columnSpan(1),
|
])->columnSpan(1),
|
||||||
])
|
])
|
||||||
->columns(3);
|
->columns(3);
|
||||||
|
|||||||
@ -1244,8 +1244,8 @@
|
|||||||
'formal' => 'Lampiran & Media',
|
'formal' => 'Lampiran & Media',
|
||||||
],
|
],
|
||||||
'attachment_desc' => [
|
'attachment_desc' => [
|
||||||
'cheerful' => 'Jangan lupa unggah banner promosi dan template pengajuannya ya! 🖼️✨',
|
'cheerful' => 'Jangan lupa unggah banner promosi dan template pengajuannya jika ada ya! 🖼️✨',
|
||||||
'formal' => 'Unggah banner promosi dan template untuk pengajuan.',
|
'formal' => 'Unggah banner promosi dan template pengajuan (opsional).',
|
||||||
],
|
],
|
||||||
'payment_empty' => [
|
'payment_empty' => [
|
||||||
'cheerful' => 'Ups! Belum ada data pembayaran yang tercatat nih. Sabar ya! 💸✨',
|
'cheerful' => 'Ups! Belum ada data pembayaran yang tercatat nih. Sabar ya! 💸✨',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user