<?php if (isset($component)) { $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54 = $attributes; } ?>
<?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\AppLayout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
     <?php $__env->slot('header', null, []); ?> 
        <div class="flex items-center space-x-4">
            <a href="<?php echo e(route('orders.index')); ?>" 
               class="p-2 text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-xl transition-all duration-200 flex items-center justify-center">
                <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path>
                </svg>
            </a>
            <div>
                <h1 class="text-2xl font-bold text-gray-900">Create New Order</h1>
                <p class="text-gray-600 text-sm mt-0.5">Add items and create a new laundry order</p>
            </div>
        </div>
     <?php $__env->endSlot(); ?>

    <div class="p-6">
        <div class="max-w-7xl mx-auto">
            <form method="POST" action="<?php echo e(route('orders.store')); ?>" x-data="orderForm()" class="space-y-8">
                <?php echo csrf_field(); ?>
                
                <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
                    <!-- Order Form -->
                    <div class="lg:col-span-2 space-y-6">
                        <!-- Customer Selection -->
                        <div class="bg-white overflow-hidden shadow-lg rounded-xl border border-gray-100">
                            <div class="p-6">
                                <h3 class="text-xl font-bold text-gray-900 mb-6">Customer Information</h3>
                                <div class="space-y-4">
                                    <div>
                                        <label for="customer_id" class="block text-sm font-medium text-gray-700 mb-2">
                                            Select Customer <span class="text-red-500">*</span>
                                        </label>
                                        <select name="customer_id" id="customer_id" required
                                                class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-200 <?php $__errorArgs = ['customer_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> border-red-500 <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                            <option value="">Choose a customer...</option>
                                            <?php $__currentLoopData = $customers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $customer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($customer->id); ?>" <?php echo e((old('customer_id', request('customer_id')) == $customer->id) ? 'selected' : ''); ?>>
                                                    <?php echo e($customer->full_name); ?> - <?php echo e($customer->phone); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                        <?php $__errorArgs = ['customer_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <p class="mt-2 text-sm text-red-600"><?php echo e($message); ?></p>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!-- Order Items -->
                        <div class="bg-white overflow-hidden shadow-lg rounded-xl border border-gray-100">
                            <div class="p-6">
                                <div class="flex items-center justify-between mb-6">
                                    <h3 class="text-xl font-bold text-gray-900">Order Items</h3>
                                    <!-- Static Add Items Button -->
                                    <div class="fixed bottom-6 right-6 z-50">
                                        <button type="button" @click="addItem()" 
                                                class="bg-gradient-to-r from-green-600 to-green-700 hover:from-green-700 hover:to-green-800 text-white font-semibold py-3 px-6 rounded-full transition-all duration-200 flex items-center shadow-lg hover:shadow-xl text-sm">
                                            <svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6"></path>
                                            </svg>
                                            Add Item
                                        </button>
                                    </div>
                                </div>
                                
                                <div class="space-y-4" id="items-container">
                                    <template x-for="(item, index) in items" :key="index">
                                        <div class="p-4 border border-gray-200 rounded-xl bg-gray-50">
                                            <!-- Main Item Selection and Quantity -->
                                            <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-4">
                                                <div class="md:col-span-2">
                                                    <label class="block text-sm font-medium text-gray-700 mb-2">Item</label>
                                                    <select :name="'items[' + index + '][item_id]'"
                                                            x-model="item.item_id"
                                                            @change="updateItemPrice(index)"
                                                            required
                                                            class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-200">
                                                        <option value="">Select item...</option>
                                                        <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                            <optgroup label="<?php echo e($category->name); ?>">
                                                                <?php $__currentLoopData = $category->activeItems; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $laundryItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                    <option value="<?php echo e($laundryItem->id); ?>" data-price="<?php echo e($laundryItem->effective_price); ?>">
                                                                        <?php echo e($laundryItem->name); ?> - ₦<?php echo e(number_format($laundryItem->effective_price, 2)); ?>

                                                                    </option>
                                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                            </optgroup>
                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                    </select>
                                                </div>
                                                <div>
                                                    <label class="block text-sm font-medium text-gray-700 mb-2">Quantity</label>
                                                    <input type="number"
                                                           :name="'items[' + index + '][quantity]'"
                                                           x-model="item.quantity"
                                                           @input="updateItemPrice(index)"
                                                           min="1" max="100" value="1" required
                                                           class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-200">
                                                </div>
                                            </div>

                                            <!-- Item Details: Color, Starch, Hanger -->
                                            <div x-show="item.item_id" x-transition class="bg-white p-3 rounded-lg border border-gray-100 mb-4">
                                                <h5 class="text-sm font-semibold text-gray-700 mb-3">Item Options</h5>
                                                <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                                                    <!-- Color -->
                                                    <div>
                                                        <label class="block text-xs font-medium text-gray-600 mb-1">Color</label>
                                                        <select :name="'items[' + index + '][color_type]'"
                                                                x-model="item.color_type"
                                                                @change="updateItemPrice(index)"
                                                                required
                                                                class="w-full px-2 py-1.5 text-sm border border-gray-300 rounded focus:ring-1 focus:ring-blue-500 focus:border-transparent transition duration-200">
                                                            <option value="colored">Colored</option>
                                                            <option value="white">White</option>
                                                        </select>
                                                        <div x-show="item.color_type === 'white'" class="text-xs text-blue-600 mt-1">
                                                            +20% surcharge: ₦<span x-text="(item.color_surcharge || 0).toLocaleString()">0</span>
                                                        </div>
                                                    </div>

                                                    <!-- Starch -->
                                                    <div>
                                                        <label class="block text-xs font-medium text-gray-600 mb-1">Starch</label>
                                                        <label class="flex items-center">
                                                            <input type="checkbox"
                                                                   :name="'items[' + index + '][starch]'"
                                                                   value="1"
                                                                   x-model="item.starch"
                                                                   @change="updateItemPrice(index)"
                                                                   class="rounded border-gray-300 text-blue-600 shadow-sm focus:border-blue-300 focus:ring focus:ring-blue-200 focus:ring-opacity-50">
                                                            <span class="ml-2 text-xs text-gray-700">Add Starch</span>
                                                        </label>
                                                        <div x-show="item.starch" class="text-xs text-blue-600 mt-1">
                                                            ₦100 per item: ₦<span x-text="(item.starch_price || 0).toLocaleString()">0</span>
                                                        </div>
                                                    </div>

                                                    <!-- Hanger -->
                                                    <div>
                                                        <label class="block text-xs font-medium text-gray-600 mb-1">Hanger</label>
                                                        <label class="flex items-center">
                                                            <input type="checkbox"
                                                                   :name="'items[' + index + '][hanger]'"
                                                                   value="1"
                                                                   x-model="item.hanger"
                                                                   @change="updateItemPrice(index)"
                                                                   class="rounded border-gray-300 text-blue-600 shadow-sm focus:border-blue-300 focus:ring focus:ring-blue-200 focus:ring-opacity-50">
                                                            <span class="ml-2 text-xs text-gray-700">Add Hanger</span>
                                                        </label>
                                                        <div x-show="item.hanger" class="text-xs text-blue-600 mt-1">
                                                            +5% surcharge: ₦<span x-text="(item.hanger_surcharge || 0).toLocaleString()">0</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <!-- Pricing Summary -->
                                            <div x-show="item.item_id" x-transition class="bg-blue-50 p-3 rounded-lg border border-blue-100 mb-4">
                                                <div class="flex justify-between items-center">
                                                    <span class="text-sm font-medium text-blue-900">Item Total:</span>
                                                    <span class="text-lg font-bold text-blue-900">₦<span x-text="(item.total_price || 0).toLocaleString()">0</span></span>
                                                </div>
                                                <div class="text-xs text-blue-700 mt-1">
                                                    Base: ₦<span x-text="((item.base_price || 0) * (item.quantity || 1)).toLocaleString()">0</span>
                                                    <span x-show="item.color_surcharge > 0"> | Color: ₦<span x-text="(item.color_surcharge || 0).toLocaleString()">0</span></span>
                                                    <span x-show="item.starch_price > 0"> | Starch: ₦<span x-text="(item.starch_price || 0).toLocaleString()">0</span></span>
                                                    <span x-show="item.hanger_surcharge > 0"> | Hanger: ₦<span x-text="(item.hanger_surcharge || 0).toLocaleString()">0</span></span>
                                                </div>
                                            </div>

                                            <!-- Special Instructions and Remove Button -->
                                            <div class="flex gap-4">
                                                <div class="flex-1">
                                                    <label class="block text-sm font-medium text-gray-700 mb-2">Special Instructions (Optional)</label>
                                                    <input type="text" :name="'items[' + index + '][special_instructions]'" 
                                                           placeholder="Any special handling instructions..."
                                                           class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-200">
                                                </div>
                                                <div class="flex items-end">
                                                    <button type="button" @click="removeItem(index)" 
                                                            class="bg-red-500 hover:bg-red-600 text-white font-semibold py-2 px-4 rounded-lg transition-all duration-200 text-sm">
                                                        Remove
                                                    </button>
                                                </div>
                                            </div>
                                        </div>
                                    </template>
                                </div>
                                
                                <div x-show="items.length === 0" class="text-center py-8 text-gray-500">
                                    <svg class="w-12 h-12 mx-auto mb-4 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"></path>
                                    </svg>
                                    <p>No items added yet. Click "Add Item" to get started.</p>
                                </div>
                            </div>
                        </div>

                        <!-- Order Preferences -->
                        <div class="bg-white overflow-hidden shadow-lg rounded-xl border border-gray-100">
                            <div class="p-6">
                                <h3 class="text-xl font-bold text-gray-900 mb-6">Order Preferences</h3>
                                <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                                    
                                    <div>
                                        <label for="packaging_preference" class="block text-sm font-medium text-gray-700 mb-2">Packaging Preference</label>
                                        <select name="packaging_preference"
                                                id="packaging_preference"
                                                x-model="packagingPreference"
                                                required
                                                class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-200">
                                            <option value="folded">Folded</option>
                                            <option value="hung">Hung (+5% extra)</option>
                                        </select>
                                    </div>
                                    <div>
                                        <label class="flex items-center">
                                            <input type="checkbox"
                                                   name="express_delivery"
                                                   value="1"
                                                   x-model="expressDelivery"
                                                   class="rounded border-gray-300 text-blue-600 shadow-sm focus:border-blue-300 focus:ring focus:ring-blue-200 focus:ring-opacity-50">
                                            <span class="ml-2 text-sm font-medium text-gray-700">Express Delivery (+20% surcharge)</span>
                                        </label>
                                    </div>
                                </div>

                                <!-- Payment Information -->
                                <div class="mt-6 grid grid-cols-1 md:grid-cols-2 gap-6">
                                    <div>
                                        <label for="amount_paid" class="block text-sm font-medium text-gray-700 mb-2">Amount Paid (Optional)</label>
                                        <input type="number"
                                               name="amount_paid"
                                               id="amount_paid"
                                               step="0.01"
                                               min="0"
                                               placeholder="0.00"
                                               class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-200">
                                    </div>
                                    <div>
                                        <label for="payment_method" class="block text-sm font-medium text-gray-700 mb-2">Payment Method (Optional)</label>
                                        <select name="payment_method"
                                                id="payment_method"
                                                class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-200">
                                            <option value="">Select payment method</option>
                                            <option value="cash">Cash</option>
                                            <option value="card">Card</option>
                                            <option value="transfer">Bank Transfer</option>
                                            <option value="cheque">Cheque</option>
                                            <option value="other">Other</option>
                                        </select>
                                    </div>
                                </div>
                                
                                <!-- Pricing Summary -->
                                <div x-show="items.length > 0 && items.some(item => item.item_id)"
                                     x-transition
                                     class="mt-6 p-4 bg-blue-50 border border-blue-200 rounded-xl">
                                    <h4 class="text-lg font-semibold text-blue-900 mb-3">Order Summary</h4>
                                    <div class="space-y-2 text-sm">
                                        <div class="flex justify-between">
                                            <span class="text-blue-800">Subtotal:</span>
                                            <span class="font-medium text-blue-900">₦<span x-text="subtotal.toLocaleString()">0</span></span>
                                        </div>
                                        <div x-show="packagingSurcharge > 0" class="flex justify-between">
                                            <span class="text-blue-800">Packaging Surcharge (5%):</span>
                                            <span class="font-medium text-blue-900">₦<span x-text="packagingSurcharge.toLocaleString()">0</span></span>
                                        </div>
                                        <div x-show="expressDeliverySurcharge > 0" class="flex justify-between">
                                            <span class="text-blue-800">Express Delivery (20%):</span>
                                            <span class="font-medium text-blue-900">₦<span x-text="expressDeliverySurcharge.toLocaleString()">0</span></span>
                                        </div>
                                        <div class="flex justify-between pt-2 border-t border-blue-300">
                                            <span class="font-semibold text-blue-900">Total Amount:</span>
                                            <span class="font-bold text-lg text-blue-900">₦<span x-text="grandTotal.toLocaleString()">0</span></span>
                                        </div>
                                    </div>
                                </div>

                                <div class="mt-6">
                                    <label for="notes" class="block text-sm font-medium text-gray-700 mb-2">Order Notes (Optional)</label>
                                    <textarea name="notes" id="notes" rows="3"
                                              placeholder="Any special instructions or notes for this order..."
                                              class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-200"></textarea>
                                </div>
                                
                                <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mt-6">
                                    <div>
                                        <label for="pickup_date" class="block text-sm font-medium text-gray-700 mb-2">Pickup Date (Optional)</label>
                                        <input type="date" name="pickup_date" id="pickup_date" 
                                               class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-200">
                                    </div>
                                    <div>
                                        <label for="delivery_date" class="block text-sm font-medium text-gray-700 mb-2">Delivery Date (Optional)</label>
                                        <input type="date" name="delivery_date" id="delivery_date" 
                                               class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-200">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Order Summary -->
                    <div class="lg:col-span-1">
                        <div class="bg-white overflow-hidden shadow-lg rounded-xl border border-gray-100 sticky top-6">
                            <div class="p-6">
                                <h3 class="text-xl font-bold text-gray-900 mb-6">Order Summary</h3>
                                <div class="space-y-4">
                                    <div class="text-center py-8 text-gray-500">
                                        <svg class="w-12 h-12 mx-auto mb-4 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 7h6m0 10v-3m-3 3h.01M9 17h.01M9 14h.01M12 14h.01M15 11h.01M12 11h.01M9 11h.01M7 21h10a2 2 0 002-2V5a2 2 0 00-2-2H7a2 2 0 00-2 2v14a2 2 0 002 2z"></path>
                                        </svg>
                                        <p class="text-sm">Add items to see pricing summary</p>
                                    </div>
                                </div>
                                
                                <div class="mt-8 pt-6 border-t border-gray-200">
                                    <div class="flex space-x-3">
                                        <a href="<?php echo e(route('orders.index')); ?>" 
                                           class="flex-1 bg-gray-200 hover:bg-gray-300 text-gray-700 font-semibold py-3 px-4 rounded-xl transition-all duration-200 text-center">
                                            Cancel
                                        </a>
                                        <button type="submit" 
                                                class="flex-1 bg-gradient-to-r from-blue-600 to-blue-700 hover:from-blue-700 hover:to-blue-800 text-white font-semibold py-3 px-4 rounded-xl transition-all duration-200 ease-in-out transform hover:scale-105 shadow-lg hover:shadow-xl">
                                            Create Order
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <script>
        function orderForm() {
            return {
                items: [],
                packagingPreference: 'folded',
                expressDelivery: false,
                laundryItems: <?php echo json_encode($categories->flatMap(function($category) {
                    return $category->activeItems->map(function($item) {
                        return [
                            'id' => $item->id,
                            'name' => $item->name,
                            'category' => $item->category->name ?? '',
                            'base_price' => $item->base_price,
                            'effective_price' => $item->effective_price
                        ];
                    });
                })->values()); ?>,

                addItem() {
                    this.items.push({
                        item_id: '',
                        quantity: 1,
                        color_type: 'colored',
                        starch: false,
                        hanger: false,
                        special_instructions: '',
                        unit_price: 0,
                        total_price: 0,
                        base_price: 0,
                        color_surcharge: 0,
                        starch_price: 0,
                        hanger_surcharge: 0
                    });
                },

                removeItem(index) {
                    this.items.splice(index, 1);
                    this.calculateTotals();
                },

                getItemDetails(itemId) {
                    return this.laundryItems.find(item => item.id == itemId) || {};
                },

                updateItemPrice(index) {
                    const item = this.items[index];
                    const itemDetails = this.getItemDetails(item.item_id);

                    if (itemDetails.base_price) {
                        let basePrice = parseFloat(itemDetails.base_price);
                        let totalPrice = basePrice * item.quantity;
                        
                        // Store base price for display
                        item.base_price = basePrice;
                        
                        // Color surcharge (20% for white items only)
                        let colorSurcharge = 0;
                        if (item.color_type === 'white') {
                            colorSurcharge = basePrice * 0.20 * item.quantity;
                        }
                        item.color_surcharge = colorSurcharge;
                        totalPrice += colorSurcharge;

                        // Starch pricing (₦100 per item - fixed amount)
                        let starchPrice = 0;
                        if (item.starch) {
                            starchPrice = 100 * item.quantity;
                        }
                        item.starch_price = starchPrice;
                        totalPrice += starchPrice;

                        // Hanger surcharge (5% per item)
                        let hangerSurcharge = 0;
                        if (item.hanger) {
                            hangerSurcharge = basePrice * 0.05 * item.quantity;
                        }
                        item.hanger_surcharge = hangerSurcharge;
                        totalPrice += hangerSurcharge;

                        item.unit_price = basePrice;
                        item.total_price = totalPrice;
                    } else {
                        item.base_price = 0;
                        item.unit_price = 0;
                        item.total_price = 0;
                        item.color_surcharge = 0;
                        item.starch_price = 0;
                        item.hanger_surcharge = 0;
                    }

                    this.calculateTotals();
                },

                calculateTotals() {
                    this.items.forEach((item, index) => {
                        if (item.item_id) {
                            this.updateItemPrice(index);
                        }
                    });
                },

                get subtotal() {
                    return this.items.reduce((sum, item) => sum + (item.total_price || 0), 0);
                },

                get packagingSurcharge() {
                    return this.packagingPreference === 'hung' ? this.subtotal * 0.05 : 0;
                },

                get expressDeliverySurcharge() {
                    return this.expressDelivery ? (this.subtotal + this.packagingSurcharge) * 0.20 : 0;
                },

                get grandTotal() {
                    return this.subtotal + this.packagingSurcharge + this.expressDeliverySurcharge;
                },

                get isFormValid() {
                    return this.items.length > 0 &&
                           this.items.every(item => item.item_id && item.quantity > 0);
                },

                init() {
                    // Add first item by default
                    this.addItem();

                    // Watch for changes
                    this.$watch('packagingPreference', () => this.calculateTotals());
                    this.$watch('expressDelivery', () => this.calculateTotals());
                }
            }
        }
    </script>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $attributes = $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $component = $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php /**PATH C:\xampp\htdocs\slarry\resources\views/orders/create.blade.php ENDPATH**/ ?>