@php echo (Session::get('trip_entry')==1)?'Daily Entry':'Delivery Order'; @endphp

@foreach($orders as $order) @endforeach
@php echo (Session::get('trip_entry')==1)?'DE':'DO'; @endphp. No @php echo (Session::get('trip_entry')==1)?'DE':'DO'; @endphp. Date Amount
{{ $order->voucher_no }} {{ date('d-m-Y',strtotime($order->voucher_date)) }} {{ $order->net_total }} View Items