| 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">Edit Product</h1>
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<form action="<?php echo e(route('inventory.products.update', $product->id)); ?>" method="POST">
<?php echo csrf_field(); ?>
<?php echo method_field('PUT'); ?>
<div class="row">
<div class="col-sm-6">
<div class="mb-3">
<label for="name" class="form-label">Name</label>
<input type="text" name="name" class="form-control" required value="<?php echo e(old('name', $product->name)); ?>">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="sku" class="form-label">SKU</label>
<input type="text" name="sku" class="form-control" required value="<?php echo e(old('sku', $product->sku)); ?>">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="mb-3">
<label for="model_number" class="form-label">Model</label>
<input type="text" name="model_number" class="form-control" required value="<?php echo e(old('model_number', $product->model_number)); ?>">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="serial_number" class="form-label">Serial</label>
<input type="text" name="serial_number" class="form-control" value="<?php echo e(old('serial_number', $product->serial_number)); ?>">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="mb-3">
<label for="warranty_period" class="form-label">Warranty</label>
<input type="number" name="warranty_period" class="form-control" required value="<?php echo e(old('warranty_period', $product->warranty_period)); ?>">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="unit" class="form-label">Unit</label>
<input type="text" name="unit" class="form-control" value="<?php echo e(old('unit', $product->unit)); ?>">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="mb-3">
<label for="cost_price" class="form-label">Cost Price</label>
<input type="text" name="cost_price" class="form-control" value="<?php echo e(old('cost_price', $product->cost_price)); ?>">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="sale_price" class="form-label">Sale Price</label>
<input type="text" name="sale_price" class="form-control" value="<?php echo e(old('sale_price', $product->sale_price)); ?>">
</div>
</div>
</div>
<button type="submit" class="btn btn-primary">Update Product</button>
<a href="<?php echo e(route('inventory.products.index')); ?>" class="btn btn-secondary">Cancel</a>
</form>
</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/html/crm/Modules/Inventory/Resources/views/products/edit.blade.php ENDPATH**/ ?>