@extends('master') @section('content') @include('modals.convention-products', [ 'id' => 'conventionProductsContainer', 'title' => __('label.convention.products'), 'refs' => [ // RELATED OBJECTS 'table' => 'conventionProductsRecordsTable', // CONTAINED TABLE 'base-table' => 'conventionsRecordsTable', // BASE RECORDS TABLE ], 'layout' => [ 'target' => 'tables.store.convention-products', 'data' => [ 'id' => 'conventionProductsRecords', // TABLE ID 'src' => 'store.convention.products.data', // DATA ROUTE NAME 'resource' => 'products', // ! DB TABLE RESOURCE NAME (RESOURCE ID) ! 'data' => [], 'through' => true, // INDIRECT REDERENCE 'refs' => [ // RELATED OBJECTS 'table' => 'conventionsRecordsTable', // BASE RECORDS TABLE (FOR CONTEXT) 'modal' => 'conventionProductsContainerModal', // COMPONENT FORM ], ], ] ])