<?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, []); ?> 
        <h2 class="font-semibold text-xl text-gray-800 leading-tight">
            <?php echo e(__('儀表板')); ?> <span class="px-2">品牌類別</span>
        </h2>
     <?php $__env->endSlot(); ?>

    <div class="py-12">
        <div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
            <!--廠商列表-->
            <div class="grid grid-cols-1 gap-6 md:grid-cols-2 mt-[100px] md:px-2 px-2 snap-x snap-mandatory">
                <!--廠商logo及資訊-->
                <?php $__empty_1 = true; $__currentLoopData = $products->unique('brand_category'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                    <?php if (isset($component)) { $__componentOriginaleeb94f6887a2c6e0c84f4b356c74bf34 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginaleeb94f6887a2c6e0c84f4b356c74bf34 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.brand-category','data' => ['brandCategory' => ($product->brand_category === 'T-PLUS') ? 'T-PLUS' : $product->brand_category,'remark' => ($product->brand_category === 'T-PLUS') ? 'Dental Implant' : NULL ,'logo' => $product->brand_category_logo,'href' => route('brand_category.show', $product->brand_category)]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('brand-category'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['brand_category' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(($product->brand_category === 'T-PLUS') ? 'T-PLUS' : $product->brand_category),'remark' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(($product->brand_category === 'T-PLUS') ? 'Dental Implant' : NULL ),'logo' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($product->brand_category_logo),'href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('brand_category.show', $product->brand_category))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginaleeb94f6887a2c6e0c84f4b356c74bf34)): ?>
<?php $attributes = $__attributesOriginaleeb94f6887a2c6e0c84f4b356c74bf34; ?>
<?php unset($__attributesOriginaleeb94f6887a2c6e0c84f4b356c74bf34); ?>
<?php endif; ?>
<?php if (isset($__componentOriginaleeb94f6887a2c6e0c84f4b356c74bf34)): ?>
<?php $component = $__componentOriginaleeb94f6887a2c6e0c84f4b356c74bf34; ?>
<?php unset($__componentOriginaleeb94f6887a2c6e0c84f4b356c74bf34); ?>
<?php endif; ?>
                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                 <div class="bg-white overflow-hidden shadow-xl sm:rounded-lg">
                    <div class="max-w-sm mx-auto bg-white rounded-lg shadow-lg overflow-hidden flex items-center justify-center p-4 hover:shadow-xl transition-shadow duration-300">
                        <div>
                            <h3 class="text-lg font-semibold text-gray-900 m-16">無搜尋到任何廠商</h3>
                        </div>
                    </div>
                </div>  
                <?php endif; ?>
            </div> 
             
        </div>
    </div>
 <?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 /Users/fve_macbookpro/Desktop/inquiry20250326/resources/views/sales/index.blade.php ENDPATH**/ ?>