

<?php $__env->startSection('content'); ?>
<div class="container">
    <h2>Add Customer</h2>
    <form method="POST" action="<?php echo e(route('customers.store')); ?>">
        <?php echo csrf_field(); ?>
        <div class="mb-3">
            <label for="email" class="form-label">Email</label>
            <input type="email" class="form-control" id="email" name="email" required value="<?php echo e(old('email')); ?>">
        </div>
        <div class="mb-3">
            <label for="phone" class="form-label">Phone</label>
            <input type="text" class="form-control" id="phone" name="phone" required value="<?php echo e(old('phone')); ?>">
        </div>
        <div class="form-check mb-3">
            <input class="form-check-input" type="checkbox" id="is_owner" name="is_owner" value="1" <?php echo e(old('is_owner') ? 'checked' : ''); ?>>
            <label class="form-check-label" for="is_owner">Is Owner</label>
        </div>
        <button type="submit" class="btn btn-primary">Add Customer</button>
        <a href="<?php echo e(route('customers.index')); ?>" class="btn btn-secondary">Cancel</a>
    </form>
</div>
<?php $__env->stopSection(); ?> 
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\laragon\www\solen-north-coast\resources\views/customers/create.blade.php ENDPATH**/ ?>