@extends('master') @section('content') {{-- @include('modals.media', [ 'id' => 'surplusDocumentsContainer', 'title' => __('label.media.surplus-documents'), 'refs' => [ // RELATED OBJECTS 'combo' => 'surplusDocumentsCombo' // CONTAINED FORM SEE ID ABOVE ], 'layout' => [ 'target' => 'media.surplus-documents', 'data' => [ 'config' => true, // RUN SETUPS 'refs' => [ // RELATED OBJECTS 'modal' => 'surplusDocumentsContainerModal', // CONTAINER MODAL ], ], ] ]) --}}
{{ trans_choice('label.surplus', 2) }}
@include( 'tables.archive.surpluses', [ 'id' => 'surplusesRecords', // TABLE ID 'edit' => 'surplusesEditContainer', // (ID) MODAL EDIT REF 'resource' => 'surpluses', // ! DB TABLE RESOURCE NAME (RESOURCE ID) ! 'method' => config('const.crud.delete'), // RESOURCE METHOD AVAILABLE 'data' => $surpluses, 'calls' => [ 'restore' => [ 'type' => config('const.crud.update'), 'url' => Utils::indexRoute('surplus.restore'), ] ] ])
@stop