@extends('layouts.app') @section('content') @section('css') @endsection

{{ isset($title)?$title:'' }}

@if(session()->has('message'))
{{ session()->get('message') }}
@endif @if(session()->has('error'))
{{ session()->get('error') }}
@endif
@php $i=1; $total = 0; @endphp @if(isset($data) && !empty($data)) @foreach($data as $row ) @php $total += $row->amount; @endphp @endforeach @endif
Id User Type Shift Amount Date
{{$i++}} {{$row->user_name}} {{$row->type}} {{$row->shift}} {{env('CURRENCY')}}{{$row->amount}} {{ date("j-F-Y", strtotime($row->created_at)) }}
{{ date("h:i:s A", strtotime($row->created_at)) }}
{{env('CURRENCY')}}{{$total}}
@if(isset($data) && !empty($data)) {{$data->appends($_GET)->links()}} @endif
@include('admin.cashregister.cash_register_modal') @section('js') @endsection @endsection