<?php $__env->startSection('content'); ?>
    <?php Fun::lang()?>
    <div class="page">
        <div class=container-fluid>
            <div class="top-content">
                <div class="row">
                    <div class="col-sm-12 col-xs-12">
                        <div class="title-add">
                            <div class="pull-left">
                                <h3><?php echo e(__('administrator.tailor_payable')); ?></h3>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="wrapper-table">
                <table id="datatable" class="table table-striped table-hover ">
                    <thead>
                    <tr>
                        <th>#</th>
                        <th><?php echo e(__('administrator.type')); ?></th>
                        <th><?php echo e(__('administrator.tailor')); ?> / <?php echo e(__('administrator.packer')); ?></th>
                        <th><?php echo e(__('administrator.contact')); ?></th>
                        <th><?php echo e(__('administrator.payable_amount')); ?></th>
                        <th><?php echo e(__('administrator.paid')); ?></th>
                        <th><?php echo e(__('administrator.remain')); ?></th>
                        <th><?php echo e(__('administrator.action')); ?></th>
                    </tr>
                    </thead>
                    <tbody></tbody>
                </table>
            </div>
        </div>
    </div>
 <?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
    <script type="text/javascript">
        let $table = $('#datatable');
        $(document).ready(function () {
            getTable();
        });
        function getTable() {
            $table.DataTable().destroy();
            $table.DataTable({
                ordering: false,
                serverSide: true,
                lengthMenu: tbLeng,
                ajax: "",
                columns:
                    [
                        {data: 'DT_RowIndex', searchable:false,'orderable':false},
                        {data: 'type', searchable:false},
                        {data: 'tailor_id', searchable:false},
                        {data: 'contact', searchable:false},
                        {data: 'payable_amount', searchable:false},
                        {data: 'paid', searchable:false},
                        {data: 'remain', searchable:false},
                        {data: 'action',searchable:false},
                    ],

            });

        }
    </script>
<?php $__env->stopSection(); ?>




<?php echo $__env->make(branchMenu(), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nsowos/public_html/shr-brand/resources/views/administrator/production-payment/tailor-payable.blade.php ENDPATH**/ ?>