<?php $__env->startSection('title', 'BD Integrations'); ?>
<?php $__env->startSection('page_title', 'BD Integrations'); ?>

<?php $__env->startSection('content'); ?>
<?php
    $settings = $settings ?? [];
?>

<div class="page-shell">
    <div class="page-head">
        <div>
            <h1 class="page-title">BD Integrations</h1>
            <div class="page-subtitle">Manage Bangladesh payment, SMS, and courier integration settings.</div>
        </div>
    </div>

    <form method="POST" action="<?php echo e(route('admin.settings.integrations')); ?>">
        <?php echo csrf_field(); ?>

        <div class="grid-3">
            <div class="card">
                <h3 style="margin-top:0;">Payment Gateways</h3>

                <label for="bkash_enabled">bKash</label>
                <select id="bkash_enabled" name="bkash_enabled">
                    <option value="0">Disabled</option>
                    <option value="1">Enabled</option>
                </select>

                <label for="nagad_enabled">Nagad</label>
                <select id="nagad_enabled" name="nagad_enabled">
                    <option value="0">Disabled</option>
                    <option value="1">Enabled</option>
                </select>

                <label for="rocket_enabled">Rocket</label>
                <select id="rocket_enabled" name="rocket_enabled">
                    <option value="0">Disabled</option>
                    <option value="1">Enabled</option>
                </select>
            </div>

            <div class="card">
                <h3 style="margin-top:0;">SMS</h3>

                <label for="sms_provider">SMS Provider</label>
                <input type="text" id="sms_provider" name="sms_provider" value="<?php echo e(old('sms_provider', $settings['sms_provider'] ?? '')); ?>">

                <label for="sms_api_key">API Key</label>
                <input type="text" id="sms_api_key" name="sms_api_key" value="<?php echo e(old('sms_api_key', $settings['sms_api_key'] ?? '')); ?>">
            </div>

            <div class="card">
                <h3 style="margin-top:0;">Courier</h3>

                <label for="courier_provider">Courier Provider</label>
                <input type="text" id="courier_provider" name="courier_provider" value="<?php echo e(old('courier_provider', $settings['courier_provider'] ?? '')); ?>">

                <label for="delivery_charge_inside">Inside Dhaka</label>
                <input type="number" step="0.01" id="delivery_charge_inside" name="delivery_charge_inside" value="<?php echo e(old('delivery_charge_inside', $settings['delivery_charge_inside'] ?? 0)); ?>">

                <label for="delivery_charge_outside">Outside Dhaka</label>
                <input type="number" step="0.01" id="delivery_charge_outside" name="delivery_charge_outside" value="<?php echo e(old('delivery_charge_outside', $settings['delivery_charge_outside'] ?? 0)); ?>">
            </div>
        </div>

        <div class="form-actions">
            <button type="submit" class="btn primary">Save Integrations</button>
        </div>
    </form>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH J:\xampp\htdocs\pos\resources\views/admin/settings/integrations.blade.php ENDPATH**/ ?>