increase upload file size and small changes

This commit is contained in:
F4ilji
2025-04-06 21:33:55 +05:00
parent a3b964c1ca
commit b1d3921ffd
2 changed files with 6 additions and 3 deletions
@@ -22,6 +22,9 @@ class JournalsRelationManager extends RelationManager
protected static ?string $modelLabel = 'выпуск';
protected static ?string $pluralModelLabel = 'выпуски';
protected static ?string $title = 'Выпуски журнала';
public function form(Form $form): Form
{
return $form
@@ -43,11 +46,11 @@ class JournalsRelationManager extends RelationManager
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'application/zip'
])
->maxSize(512000)
->maxSize(256000)
->disk('public')
->directory('files')
->downloadable()
->helperText('Максимальный размер файла: 512MB. Допустимые форматы: PDF, DOCX, XLSX, PPTX, ZIP')
->helperText('Максимальный размер файла: 256MB. Допустимые форматы: PDF, DOCX, XLSX, PPTX, ZIP')
->openable(),