<!-- Customer Actions -->
<div class="btn-group" role="group">
    <button type="button" class="btn btn-info btn-sm dropdown-toggle" data-toggle="dropdown">
        <i class="fas fa-cogs"></i>
    </button>
    <div class="dropdown-menu">
        <a class="dropdown-item" href="<?php echo e(route('customer.show', $customer->id)); ?>">
            <i class="fas fa-eye text-info"></i> View Details
        </a>
        <a class="dropdown-item" href="<?php echo e(route('customer.edit', $customer->id)); ?>">
            <i class="fas fa-edit text-warning"></i> Edit Customer
        </a>
        <div class="dropdown-divider"></div>
        <?php if($customer->total_due > 0): ?>
        <a class="dropdown-item" href="#" onclick="window.payDue(<?php echo e($customer->id); ?>, <?php echo e($customer->total_due); ?>)">
            <i class="fas fa-money-bill text-success"></i> Pay Due
        </a>
        <?php endif; ?>
        <a class="dropdown-item" href="#" onclick="window.addAdvance(<?php echo e($customer->id); ?>)">
            <i class="fas fa-plus text-primary"></i> Add Advance
        </a>
        <div class="dropdown-divider"></div>
        <a class="dropdown-item text-danger" href="#" onclick="window.deleteCustomer(<?php echo e($customer->id); ?>)">
            <i class="fas fa-trash"></i> Delete
        </a>
    </div>
</div><?php /**PATH C:\xampp\htdocs\pos v24.4\resources\views/customers/partials/actions.blade.php ENDPATH**/ ?>