| Server IP : 139.59.63.204 / Your IP : 216.73.217.62 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/crmapp/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('content'); ?>
<div class="container-fluid p-0">
<h1 class="h3 mb-3">Paid Replacements</h1>
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-sm-3">
<a href="<?php echo e(route('inventory.paidreplacements.index')); ?>" class="btn btn-primary mb-2">View Paid Replacement</a>
</div>
<div class="col-sm-4">
</div>
</div>
<div class="row">
<div class="col-md-6">
<h4>Edit Paid Replacement</h4>
<form action="<?php echo e(route('inventory.paidreplacements.update', $paidreplacement->id)); ?>" method="POST">
<?php echo csrf_field(); ?>
<?php echo method_field('PUT'); ?>
<div class="mb-3">
<label for="customer_id" class="form-label">Customer</label>
<p><?php echo e($paidreplacement->customer->name); ?></p>
</div>
<div class="mb-3">
<label for="product_id" class="form-label">Product</label>
<p><?php echo e($paidreplacement->product->name); ?></p>
</div>
<div class="mb-3">
<label for="amount" class="form-label">Amount</label>
<input type="number" class="form-control" id="amount" name="amount" value="<?php echo e(old('amount', $paidreplacement->amount)); ?>" required>
</div>
<div class="mb-3">
<label for="status" class="form-label">Status</label>
<select name="status" class="form-select" required>
<option value="pending" <?php echo e($paidreplacement->status == 'pending' ? 'selected' : ''); ?>>Pending</option>
<option value="paid" <?php echo e($paidreplacement->status == 'paid' ? 'selected' : ''); ?>>Paid</option>
<option value="completed" <?php echo e($paidreplacement->status == 'completed' ? 'selected' : ''); ?>>Completed</option>
</select>
</div>
<button type="submit" class="btn btn-success">Update Paid Replacement</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/crmapp/Modules/Inventory/Resources/views/paid_replacements/edit.blade.php ENDPATH**/ ?>