<div class="card">
    <div class="card-body">
        <div class="d-flex justify-content-between align-items-center mb-2">
            <h5 class="card-title"><?php echo app('translator')->get('Payment Info'); ?></h5>
            <?php $hasPermission = App\Models\Role::hasPermission('admin.booking.details')  ? 1 : 0;
            if($hasPermission == 1): ?>
                <a class="btn btn-sm btn--primary" href="<?php echo e(route('admin.booking.details', $booking->id)); ?>"> <i class="las la-desktop"></i><?php echo app('translator')->get('View Details'); ?></a>
            <?php endif ?>
        </div>
        <div class="list">
            <div class="list-item">
                <span><?php echo app('translator')->get('Total Fare'); ?></span>
                <span class="text-end">+<?php echo e(showAmount($totalFare)); ?></span>
            </div>

            <div class="list-item">
                <span><?php echo e(__(gs()->tax_name)); ?> <?php echo app('translator')->get('Charge'); ?></span>
                <span class="text-end">+<?php echo e(showAmount($totalTaxCharge)); ?></span>
            </div>

            <div class="list-item">
                <span><?php echo app('translator')->get('Canceled Fare'); ?></span>
                <span class="text-end">-<?php echo e(showAmount($canceledFare)); ?></span>
            </div>

            <div class="list-item">
                <span><?php echo app('translator')->get('Canceled'); ?> <?php echo e(__(gs()->tax_name)); ?> <?php echo app('translator')->get('Charge'); ?></span>
                <span class="text-end">-<?php echo e(showAmount($canceledTaxCharge)); ?></span>
            </div>

            <div class="list-item">
                <span><?php echo app('translator')->get('Extra Service Charge'); ?></span>
                <span class="text-end">+<?php echo e(showAmount($booking->service_cost)); ?></span>
            </div>

            <div class="list-item">
                <span><?php echo app('translator')->get('Other Charges'); ?></span>
                <span class="text-end">+<?php echo e(showAmount($booking->extraCharge())); ?></span>
            </div>

            <div class="list-item">
                <span><?php echo app('translator')->get('Cancellation Fee'); ?></span>
                <span class="text-end">+<?php echo e(showAmount($booking->cancellation_fee)); ?></span>
            </div>

            <div class="list-item">
                <span class="fw-bold"><?php echo app('translator')->get('Total Amount'); ?></span>
                <span class="fw-bold text-end"> = <?php echo e(showAmount($booking->total_amount)); ?></span>
            </div>

        </div>
    </div>
</div>
<?php /**PATH /home/ryanupiz/pan.ryangroups.com/hotel/viserhotel/Files/core/resources/views/admin/booking/partials/billing_info.blade.php ENDPATH**/ ?>