
<?php $__env->startSection('content'); ?>
    <div class="page-content">
        <div class="container-fluid">
            <header class="section-header pb-0">
                <div class="tbl">
                    <div class="tbl-row">
                        <div class="tbl-cell">
                            <h3>Stock Transfer</h3>
                        </div>
                    </div>
                </div>
            </header>
            <div class="box-typical box-typical-padding">
                <section class="tabs-section">
                    <div class="tabs-section-nav">
                        <div class="tbl">
                            <ul class="nav" role="tablist">
                                <li class="nav-item">
                                    <a class="nav-link active show" href="#tabs-2-tab-1" role="tab" data-toggle="tab"
                                        aria-selected="false">
                                        <span class="nav-link-in">
                                            NEW TRANSFER
                                        </span>
                                    </a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="#tabs-2-tab-2" role="tab" data-toggle="tab"
                                        aria-selected="false">
                                        <span class="nav-link-in">
                                            VIEW ALL
                                        </span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div><!--.tabs-section-nav-->

                    <div class="tab-content">
                        <div role="tabpanel" class="tab-pane fade active show" id="tabs-2-tab-1">
                            <div class="row">
                                <div class="col-md-1">
                                    <p><span class="label label-info"> Transfer To : </span></p>
                                </div>
                                <?php $__currentLoopData = $branches; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $br): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-md-1">
                                        <input type="checkbox" class="trf_br_chk" value="<?php echo e($br->branch_id); ?>">
                                        <?php echo e($br->branch_name); ?>

                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                <div class="col-md-2">
                                    <p><span class="label label-danger"> Transfer From : </span></p>
                                </div>
                                <div class="col-md-1 text-left">
                                    <select id="select_from">
                                        <option value="" selected> Select </option>
                                        <?php $__currentLoopData = $branches; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $br): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($br->branch_id); ?>"><?php echo e($br->branch_name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                <div class="col-md-1">
                                    <select id="select_to">
                                        <option value="" selected> Select </option>
                                        <option value="0"> Admin </option>

                                    </select>
                                </div>
                            </div>
                            <div class="row">
                                <div class="form-group col-md-3">
                                    <label>Name/Barcode</label>
                                    <input type="text" name="prd_stk" id="prd_stk" class="form-control"
                                        placeholder="" />
                                </div>
                                <div class="form-group col-md-3">
                                    <label>Quantity <span id="prd_stk_unit"></span></label>
                                    <input type="text" name="prd_stk_qty" id="prd_stk_qty" class="form-control isnumber"
                                        placeholder="" />
                                </div>
                                <div class="form-group col-md-1">
                                    <label>&nbsp;</label>
                                    <button type="button" id="btn-add-prd-stk-atl" class="btn btn-block btn-primary"><i
                                            class="fa fa-plus"></i> </button>
                                </div>
                                <div class="form-group col-md-2">
                                    <label>&nbsp;</label>
                                    <button type="button" id="btn-process-items" class="btn btn-block btn-danger"><i
                                            class="fa fa-check"></i> Process</button>
                                </div>
                                <div class="form-group col-md-2">
                                    <label>&nbsp;</label>
                                    <p id="req-msg" class="text-danger"></p>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-12">
                                    <table id="" class="table table-striped table-bordered dt-responsive nowrap sr"
                                        cellspacing="0" width="100%">
                                        <thead>
                                            <tr>
                                                <th>Sno</th>
                                                <th>Name-Barcode</th>
                                                <th>Quantity</th>
                                                <th>Unit Price</th>
                                                <th>Total Price</th>
                                                <th>Remove</th>
                                            </tr>
                                        </thead>
                                        <tbody id="prd_stk_tbody">

                                        </tbody>
                                        <tfoot>
                                            <tr>
                                                <th colspan="4">TOTAL</th>
                                                <th id="sub_total"></th>
                                                <th>&nbsp;</th>
                                            </tr>
                                        </tfoot>
                                    </table>
                                </div>
                            </div>

                        </div><!--.tab-pane-->
                        <div role="tabpanel" class="tab-pane fade" id="tabs-2-tab-2">
                            <div class="row">
                                <div class="col-md-12">
                                    <table id="transferTable"
                                        class="table table-striped table-bordered dt-responsive nowrap" style="width:100%;">
                                        <thead>
                                            <tr>
                                                <th>Sno</th>
                                                <th>Invoice #</th>
                                                <th>Branch From</th>
                                                <th>Branch To</th>
                                                <th>Total Items</th>
                                                <th>Date / Time </th>
                                                <th>Invoice</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div><!--.tab-pane-->
                    </div><!--.tab-content-->
                </section>
            </div>
        </div><!--.container-fluid-->
        <div id="trf-details" class="modal fade" role="dialog">
            <div class="modal-dialog modal-lg">
                <!-- Modal content-->
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="modal-close" data-dismiss="modal">
                            <i class="font-icon-close-2"></i>
                        </button>
                        <h4 class="modal-title">Transfer # : <span id="invoice_number"></span></h4>
                    </div>
                    <div class="modal-body" id="trf-mbody">

                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                    </div>
                </div>
            </div>
        </div>
    </div><!--.page-content-->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('customjs'); ?>
    <script src="<?php echo e(asset('custom_js/transfer_scripts.js')); ?>"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.template.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\Freelance\BigWishes\work\resources\views/admin/stock_transfer.blade.php ENDPATH**/ ?>