@php $headers = [ // EXTRA DATA HIDDEN [ 'label' => __('table.header.id'), 'target' => 'id', ], [ 'label' => __('table.header.code'), 'target' => 'code', ], [ 'label' => __('table.header.product'), 'target' => 'label', 'dclass' => 'lefted', ], [ 'label' => __('table.header.base-price'), 'target' => 'base_price', 'hclass' => 'price no-break' ], [ 'label' => __('table.header.final-price'), 'target' => 'final_price', 'hclass' => 'price no-break' ], [ 'label' => __('table.header.min-quantity'), 'target' => 'min_quantity', 'hclass' => 'quantity no-break' ], [ 'label' => __('table.header.vat'), 'target' => 'vat_tax', 'hclass' => 'price' ], [ 'label' => __('table.header.created'), 'target' => 'created_at', ], [ 'label' => __('table.header.notes'), 'target' => 'notes', 'wclass' => 'notes', 'hclass' => 'notes', 'dclass' => 'notes', ] ]; // GET HEADERS TARGETS $col = array_flip( array_column($headers, 'target') ); @endphp @push('style') @endpush {{-- @extends('master') --}}