feat(cooperation): add grid to view
This commit is contained in:
parent
9ca4e68de9
commit
aa5eede978
@ -127,12 +127,13 @@ public static function infolist(Schema $schema): Schema
|
|||||||
->placeholder('Belum dibayar'),
|
->placeholder('Belum dibayar'),
|
||||||
]),
|
]),
|
||||||
|
|
||||||
Grid::make(2)
|
Grid::make(3)
|
||||||
->schema([
|
->schema([
|
||||||
PdfViewerEntry::make('proposal_template')
|
PdfViewerEntry::make('proposal_template')
|
||||||
->label('Template Proposal')
|
->label('Template Proposal')
|
||||||
->getStateUsing(fn ($record) => optional($record->getMedia('cooperations')->where('custom_properties.doc_type', 'proposal-template')->sortByDesc('created_at')->first())->getPathRelativeToRoot())
|
->getStateUsing(fn ($record) => optional($record->getMedia('cooperations')->where('custom_properties.doc_type', 'proposal-template')->sortByDesc('created_at')->first())->getPathRelativeToRoot())
|
||||||
->disk(config('filesystems.default')),
|
->disk(config('filesystems.default'))
|
||||||
|
->columnSpan(2),
|
||||||
|
|
||||||
ImageEntry::make('banner')
|
ImageEntry::make('banner')
|
||||||
->label('Banner')
|
->label('Banner')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user