Trims & Accessories Store Dashboard
Today's Date:
Current Time:
{{--
Select Buyer
All Buyer
@php $buyers = DB::table('trims_receives') ->select('buyer_name') ->distinct() ->get(); @endphp @foreach ($buyers as $buyer)
{{ $buyer->buyer_name }}
@endforeach
--}}
Select Buyer
Buyer
All Buyer
@php $buyers = DB::table('trims_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('trims_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('trims_challan_data_inputs') ->select('season') ->distinct() ->get(); // dd($buyers) @endphp @foreach ($seasons as $buyer)
{{ $buyer->season }}
@endforeach
Buyer Name
Style/Or No
Item Name
Color Name
UOM
Rack No
Self/Bin No
Booking
Received
Received Balance
Issue
In Hand
@foreach ($trims_dashboard as $row) {{-- @dd($row); --}}
{{ $row->buyer_name }}
{{ $row->order_style }}
{{ $row->color_size }}
{{ $row->item_name }}
{{ $row->uom_name }}
{{ $row->rack_no }}
{{ $row->self_bin_no }}
{{ $row->booking_qty }}
{{ $row->total_receive_qty }}
{{ $row->total_rcv_bal_qty }}
{{ $row->total_issue_qty }}
{{ $row->total_in_hand_qty }}
@endforeach