<?php $__env->startSection('title', 'Yeni Satış'); ?>
<?php $__env->startSection('page_title', 'Yeni Satış'); ?>

<?php echo $__env->make('agency.sales.create.styles', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

<?php $__env->startSection('content'); ?>
    <div class="container-fluid">

        <div class="d-flex align-items-center gap-2 mb-3" style="font-size:.82rem;color:#94a3b8">
            <a href="<?php echo e(route('agency.sales.index')); ?>" style="color:#6366f1;text-decoration:none;font-weight:600"><i
                    class="fas fa-shopping-bag me-1"></i>Satışlar</a>
            <i class="fas fa-chevron-right" style="font-size:9px"></i>
            <span style="color:var(--text);font-weight:600">Yeni Satış Kaydı</span>
        </div>

        <?php if($errors->any()): ?>
            <div class="alert alert-danger border-0 shadow-sm mb-3" style="border-radius:12px;font-size:.84rem">
                <ul class="mb-0 ps-3"><?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $e): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><li><?php echo e($e); ?></li><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></ul>
            </div>
        <?php endif; ?>

        <form method="POST" action="<?php echo e(route('agency.sales.store')); ?>" id="resForm">
            <?php echo csrf_field(); ?>
            <div class="rform-wrap">
                <div class="row g-4">
                    <div class="col-lg-8">
                        <?php echo $__env->make('agency.sales.create.product_type', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                        <?php echo $__env->make('agency.sales.create.product_selection', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                        <?php echo $__env->make('agency.sales.create.date_selection', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                        <?php echo $__env->make('agency.sales.create.customer_selection', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                        <?php echo $__env->make('agency.sales.create.counts_and_locations', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                        <?php echo $__env->make('agency.sales.create.passenger_forms', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                        <?php echo $__env->make('agency.sales.create.extra_fields', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                        <?php echo $__env->make('agency.sales.create.notes', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                    </div>

                    <div class="col-lg-4">
                        <?php echo $__env->make('agency.sales.create.sidebar', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                    </div>
                </div>

                <div class="form-footer mt-1">
                    <a href="<?php echo e(route('agency.sales.index')); ?>" class="btn btn-outline-secondary"
                        style="border-radius:9px"><i class="fas fa-times me-1"></i>İptal</a>
                    <button type="submit" class="btn text-white"
                        style="background:linear-gradient(135deg,#2563eb,#1e40af);border-radius:11px;padding:.6rem 2.5rem;font-weight:700;box-shadow:0 4px 14px rgba(37,99,235,.4)"><i
                            class="fas fa-save me-2"></i>Satış Kaydını Tamamla</button>
                </div>

            </div>
        </form>
    </div>

    <?php echo $__env->make('agency.sales.create.modals', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('agency.sales.create.scripts', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php echo $__env->make('agency.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\acente\resources\views/agency/sales/create.blade.php ENDPATH**/ ?>