@extends('admin.layout.master') @section('title','FORECAST') @section('custom_style') @endsection @section ('content')
| # | {{--Date | --}}{{ $orders->first()->transaction_type>200?'Product':'Category' }} | {{--SR | --}}Price | Qty | {{'Subtotal'}} |
|---|---|---|---|---|---|---|
| {{ (++$p) }} | {{--{{ date('d-M-Y h:i A',strtotime($item->date)) }} | --}}{{ $item->transaction_type>200?$item->product->name_eng:$item->category->name_eng }} | {{($item->order_price*$item->unit_qty)}} | @if(Request()->edit_forecast) @else {{($item->order_qty/$item->unit_qty)}} @endif | {{($item->order_qty*$item->order_price)}} @php $total+=($item->order_qty*$item->order_price); @endphp | |
| {{ 'TOTAL' }} | {{$total}} | |||||