Fabrics Information Dashboard
Today's Date:
Current Time:
Select Buyer
Buyer
All Buyer
@php $buyers = DB::table('fabrics_challan_data_inputs') ->select('buyer_id', 'buyer_name') ->distinct() ->get(); @endphp @foreach ($buyers as $buyer)
{{ $buyer->buyer_name }}
@endforeach
Order/ Style
All Order/ Style
@php $order_styles = DB::table('fabrics_challan_data_inputs') ->select('order_style') ->distinct() ->get(); // dd($buyers) @endphp @foreach ($order_styles as $buyer)
{{ $buyer->order_style }}
@endforeach
{{--
Book. No
Book. No
@php if (Auth::user()->role_id == 1) { $itemList_ids = DB::table('fabrics_challan_data_inputs') ->select('book_no', 'book_no') ->distinct() ->get(); } else { $itemList_ids = \App\Models\FabricsChallanDataInput::select('book_no', 'book_no') ->where('company_id', Auth::user()->company_id) ->distinct() ->get(); } // dd($buyers) @endphp @foreach ($itemList_ids as $buyer)
{{ $buyer->book_no }}
@endforeach
--}}
Season
All Season
@php $seasons = DB::table('fabrics_challan_data_inputs') ->select('season') ->distinct() ->get(); // dd($buyers) @endphp @foreach ($seasons as $buyer)
{{ $buyer->season }}
@endforeach
{{--
--}}
Buyer Name
Style/Or No
Parts
Color Name
Lot
Dia
Fabric Type
GSM
Booking
Received
Received Balance
Delivery
Closing Stock
Rack No
Self/Bin No
@foreach ($fabrics_dashboard as $row)
{{ $row->buyer_name }}
{{ $row->order_style }}
{{ $row->parts }}
{{ $row->color_name }}
{{ $row->lot }}
{{ $row->dia }}
{{ $row->fabric_type }}
{{ $row->gsm }}
{{ $row->total_booking_qty }}
{{ $row->total_receive_qty }}
{{ $row->total_rcv_bal_qty }}
{{ $row->total_dlv_cutting }}
{{ $row->total_in_hand_qty }}
{{ $row->rack_no }}
{{ $row->self_bin_no }}
@endforeach
{{-- --}}