<?php echo Form::open(['action'=>['Modules\InventoryDashboardController@storeUpdateInventoryStockBalances'], 'method'=>'POST', 'id'=>'update-inventory-stock-balances']); ?>

<div class="error" style="text-align: center;">On this Window, You can Update Inventory Stock Balances</div>
<div class="guestDetails_inputDivider"></div>
<button type="submit" disabled style="display: none" aria-hidden="true"></button>


<?php $__currentLoopData = $list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <div class="guestDetails_input">
        <div class="guestDetails_inputLabel">
            <?php echo Form::label('item-name', 'Item Name as appears in the System'); ?> <span class="error">*</span>
        </div>
        <div class="guestDetails_input">
            <?php echo Form::hidden('item-id['.$item->id.']',$item->id ); ?>

            <?php echo Form::text('name['.$item->id.']', $item->name ?? '', ['class'=>'input-text-height', 'size'=>40, 'readonly'=>true]); ?>

        </div>
    </div>
    <div class="guestDetails_input">
        <div class="guestDetails_inputLabel">
            <?php echo Form::label('available-stock', 'Current Stock in System'); ?> <span class="error">*</span>
        </div>
        <div class="guestDetails_input">
            <?php echo Form::text('available-stock['.$item->id.']', $item->itemInventory ? $item->itemInventory->sum('quantity') : 0, ['class'=>'input-text-height', 'size'=>20, 'readonly'=>true]); ?>

        </div>
    </div>
    <div class="guestDetails_input">
        <div class="guestDetails_inputLabel">
            <?php echo Form::label('update-stock', 'Current Stock in Counting'); ?> <span class="error">*</span>
        </div>
        <div class="guestDetails_input">
            <?php echo Form::text('counted-stock['.$item->id.']',  '', ['class'=>'input-text-height', 'size'=>20]); ?>

        </div>
    </div>
    <div class="guestDetails_input">
        <div class="guestDetails_inputLabel">
            <?php echo Form::label('comments', 'Add Some Comments'); ?> <span class="error">*</span>
        </div>
        <div class="guestDetails_input">
            <?php echo Form::text('comments['.$item->id.']', '', ['class'=>'input-text-height', 'size'=>40]); ?>

        </div>
    </div>
    <div class="guestDetails_inputDivider"></div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php echo Form::close(); ?>

<?php /**PATH C:\xampp\htdocs\edwulp_chemist\resources\views/inventory/update-inventory-stock-balances.blade.php ENDPATH**/ ?>