@foreach($dailyreports as $value) @endforeach
{{__('Date')}} {{__('Previous Balance')}} {{__('Sales')}} {{__('Dues')}} {{__('Sale Profit')}} {{__('Expenses')}} {{__('Receivings')}} {{__('Receivings Payment')}} {{__('Total Costing')}} {{__('Gross')}} {{__('Net Balance')}} {{__('Actions')}}
{{ date('d M Y', strtotime($value->created_at)) }} {{ currencySymbol().$value->prev_balance }} {{ currencySymbol().$value->total_sales }} {{currencySymbol().$value->total_dues}} {{currencySymbol().$value->sale_profit}} {{currencySymbol().$value->total_expense}} {{currencySymbol().$value->total_receivings}} {{currencySymbol().$value->total_receivings_payment}} {{currencySymbol().$value->total_costing}} {{currencySymbol().$value->total_profit}} {{currencySymbol().$value->net_balance}} @php $actions = [ ['url'=>route('dailyreport.create').'?date='.$value->created_at->format('Y-m-d'), 'name'=>'View Report', 'icon'=>'list'], ['url'=>route('dailyreport.edit', $value->created_at->format('Y-m-d')), 'name'=>'edit', 'icon'=>'pencil'], ['url'=>'reports/dailyreport/'.$value->id,'name'=>'delete']]; @endphp @include('partials.actions', ['actions'=>$actions])
@include('partials.pagination', ['items'=>$dailyreports, 'index_route'=>route('dailyreport.index')])