<div>
    <div class="voucher-section mb-4">
        <label for="voucher_code">Have a Voucher?</label>
        <div class="input-group">
            <input type="text" wire:model="voucherCode" class="form-control" placeholder="Enter Voucher Code">
            <button wire:click="applyVoucher" class="btn btn-primary" type="button">Apply</button>
        </div>
        <!--[if BLOCK]><![endif]--><?php if($message): ?>
            <div class="alert alert-info mt-2">
                <?php echo e($message); ?>

            </div>
        <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
        <!--[if BLOCK]><![endif]--><?php if($discountAmount > 0): ?>
            <div class="mt-2 text-right">
                <button wire:click="removeVoucher" class="btn btn-sm btn-outline-danger">Remove Voucher</button>
            </div>
        <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
    </div>
    <input type="hidden" name="discount_amount" value="<?php echo e($discountAmount); ?>">
    <input type="hidden" name="voucher_code" value="<?php echo e($voucherCode); ?>">
    <input type="hidden" name="final_total" value="<?php echo e($finalTotal); ?>">
</div>
<?php /**PATH /home/amerbofz/public_html/resources/views/livewire/checkout-voucher.blade.php ENDPATH**/ ?>