@push('style')
@endpush
@extends('components.table', [
'id' => $id,
'edit' => @$edit, // EDIT TARGET ID
'class' => 'table cell-border hover',
'data' => $data,
'headers' => [
[
'label' => __('table.header.id'),
'target' => 'id',
],
[
'label' => __('table.header.code'),
'target' => 'code',
],
[
'label' => __('table.header.order'),
'target' => 'order_label',
'dclass' => 'lefted',
],
[
'label' => __('table.header.cash'),
'target' => 'cash',
'hclass' => 'money',
],
[
'label' => __('table.header.cheque'),
'target' => 'cheque',
'hclass' => 'money',
],
[
'label' => __('table.header.bancomat'),
'target' => 'bancomat',
'hclass' => 'money',
],
[
'label' => __('table.header.transfer'),
'target' => 'transfer',
],
[
'label' => __('table.header.payed'),
'target' => 'created_at',
],
[
'label' => __('table.header.subtotal'),
'target' => 'subtotal',
],
[
'label' => __('table.header.notes'),
'target' => 'notes',
'hclass' => 'notes',
'wclass' => 'notes'
],
]
])
@push('ready')
@endpush