@extends('master') @section('content') @include('modals.payments', [ 'id' => 'paymentsEditContainer', 'title' => __('label.edit.payment'), 'refs' => [ // RELATED OBJECTS 'form' => 'paymentsEditForm' // CONTAINED FORM SEE ID ABOVE ], 'layout' => [ 'edit' => true, 'target' => 'forms.payments', 'data' => [ 'id' => 'paymentsEdit', // INPUT ID BIND 'method' => config('const.crud.update'), // REQUIRED FORM METHOD 'table' => 'paymentsRecords', // RELATED TABLE ID 'resource' => 'payments', // ! DB TABLE RESOURCE NAME (RESOURCE ID) ! 'refs' => [ // RELATED OBJECTS 'modal' => 'paymentsEditContainerModal', // CONTAINER MODAL 'table' => 'paymentsRecordsTable' // RECORDS TABLE ], ], ] ])
{{ trans_choice('label.payment', 2) }}
@include( 'tables.store.products', [ 'id' => 'paymentsRecords', 'resource' => 'payments', // ! DB TABLE RESOURCE NAME (RESOURCE ID) ! 'method' => config('const.crud.delete'), 'data' => $payments ])
@stop