NOTE: Do empty search to reset. NOTE: Double click on Cabinet Label to select product.
@forelse ($product_sections as $section)
@php $product_data = $section->products ->where('product_catalog_id', $catalog_id) ->where('door_color_id', '=', $door_id); @endphp @foreach ($product_data as $product) @endforeach
Cabinet Label SKU Description Weight Cost Qty
{{ $product->label }} {{ $product->sku }} {{ $product->sku . '-' . $product->doorColor->product_label }} {{ $product->weight }} {{ $product->cost }} {{ $product->qty }}
Cabinet Label SKU Description Weight Cost Qty
@empty There is nothing to show. @endforelse
Step #1: Please enter Job Name and Room before selecting items from inventory.
Job Name * Clear Cart
Assemble All Cabinetry? *
Double Check Work Cabinet Name Cabinet Description Weight Unit Price Total Price Quantity Delete
0 lbs $0.00
first understand on above this is my laravel blade code on left table under accordian i am showing my list of products under their section as a accoridan title on right side i am showing cart system and stock check will act as a submit form when user will click stock check user will get popou sweet alert "Enter a job before adding room" "enter room before adding products" "Please add at least one product." "Please select 'Yes' or 'No' for 'Assemble All Cabinetry'." if job is created then remove "Enter a job before adding room" and then store all information in session and we will autoload cart if there was data before until user clear cart also show alert message for clear cart is yes then clear cart what is happening here this is user cart system after entering job name user can create multiple rooms one room atleast without cross button for first room under that room or last created room user can add product into its cart by cdobule clicking on products if user remove room all the product under that room will be removed and then user can add new room but remeber first room will not have cross button because after remoing room user can still add products into cart and first room if user removed 3rd room and products add to second room because that was last created if sameproduct is added in first room then user created another room then same product must add on last created room not before but if user is in same room then increase the quantity of same product in session store job name, asseble all cabinatory table data aling with double check "checkboxes" products details under their specific room comment and after this when user submit stock check shows sweet alert show me complete code for this