<?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, []); ?> <?php echo e(__('Add Currency')); ?> <?php $__env->endSlot(); ?>

    <div class="card shadow-sm">
        <div class="card-body">
            <form action="<?php echo e(route('currencies.store')); ?>" method="POST">
                <?php echo csrf_field(); ?>
                <div class="row g-3">
                    <div class="col-md-4">
                        <label class="form-label" for="name"><?php echo e(__('Name')); ?></label>
                        <input id="name" type="text" name="name" class="form-control" value="<?php echo e(old('name')); ?>" required>
                    </div>
                    <div class="col-md-4">
                        <label class="form-label" for="code"><?php echo e(__('Code')); ?></label>
                        <input id="code" type="text" name="code" class="form-control" value="<?php echo e(old('code')); ?>" required>
                    </div>
                    <div class="col-md-4">
                        <label class="form-label" for="symbol"><?php echo e(__('Symbol')); ?></label>
                        <input id="symbol" type="text" name="symbol" class="form-control" value="<?php echo e(old('symbol')); ?>">
                    </div>
                </div>

                <div class="row g-3 mt-3">
                    <div class="col-md-6">
                        <label class="form-label" for="exchange_rate"><?php echo e(__('Exchange Rate')); ?></label>
                        <input id="exchange_rate" type="number" step="0.0001" name="exchange_rate" class="form-control" value="<?php echo e(old('exchange_rate', 1.0000)); ?>" required>
                    </div>
                    <div class="col-md-6">
                        <label class="form-label" for="status"><?php echo e(__('Status')); ?></label>
                        <select id="status" name="status" class="form-select">
                            <option value="active"><?php echo e(__('Active')); ?></option>
                            <option value="inactive"><?php echo e(__('Inactive')); ?></option>
                        </select>
                    </div>
                </div>

                <div class="mt-3">
                    <button type="submit" class="btn btn-primary"><?php echo e(__('Save Currency')); ?></button>
                    <a href="<?php echo e(route('currencies.index')); ?>" class="btn btn-secondary"><?php echo e(__('Cancel')); ?></a>
                </div>
            </form>
        </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 C:\Users\anwar\OneDrive\Desktop\Babu KSA\software\restaurant-management\resources\views/currencies/create.blade.php ENDPATH**/ ?>