{{-- Display table listing agreement charges together with buttons to add a new record, delete or modify existing record --}}

Charges

@if ($can_update) {{-- vue component to display button that, when clicked, brings up modal form to create a new agreement charge. See assets/js/components/HilbitHasManyCreate.vue --}} @endif
@include('partials.has_many.list', ['columns' => [ ['field'=> 'id','header' => 'ID','visible' => false], ['field' => 'description', 'header' => 'Description', 'visible' => true], ['field' => 'amount', 'header' => 'Amount', 'visible' => true] ], 'toolbar' => 'charge_toolbar', 'edit_form_title' => 'Edit Agreement Charge', 'delete_form_title' => 'Delete Agreement Charge', 'edit_url' => 'agreementcharge', 'delete_url' => 'agreementcharge', 'table_id' => 'tbl_charge', 'delete_message_field' => 'description', 'can_update' => $can_update ])