

<?php $__env->startSection('title'); ?> DO <?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<?php
    $residential_id = Request::segment(3);
    // echo '[residential_id] '.$residential_id;
?>
<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
    <div class="d-flex flex-column-fluid pb-20">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
				<div class="d-flex align-items-stretch justify-content-between mb-2">
						<div class="d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap mr-15">
						
						</div>
						
						
					</div> 
                    <!-- Datatable (JS in datatable-custom.js) -->
					<div id="ListTable"></div>
					
                </div>
            </div>

            <!-- Modal RF -->
			<div class="modal fade" id="requisition_form" tabindex="-1" role="dialog" aria-labelledby="requisition_form" aria-hidden="true">
                <div class="modal-dialog modal-dialog-centered modal-xl" role="document">
                    <div class="modal-content">
                        <div class="modal-body">
                            <div class="row">
                                <div class="col-sm-5">
                                    <h1>Requisition Form</h1>
                                    <h5 class="rf_no"></h5>
                                </div>
                                <div class="col-sm-7">
                                    <div class="address-box text-right">
                                        Arte Cheras,<br>
                                        No.2, Jalan Midah 2,<br>
                                        Taman Midah, Cheras,<br>
                                        56000 Kuala Lumpur<br>
                                        Tel: +6012-123 4567												
                                    </div>
                                    <div class="logo-box">
                                        <div class="logo-rf" style="background-image: url('<?php echo e(asset('/images/logo/arte-cheras.png')); ?>');"></div>
                                    </div>
                                </div>
                            </div>

                            <hr class="mt-5 mb-5">

                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="to-info"></div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="request-info">
									
                                    </div>
                                </div>

                                <div class="col-sm-12">
                                    <table class="table table-bordered table-rf mt-5">
                                        
                                    </table>
                                </div>
                            </div>

                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-light-primary font-weight-bold" data-dismiss="modal">Close</button>
                        </div>
                    </div>
                </div>
            </div>

			<!-- Modal PO -->
			<div class="modal fade" id="po_form" tabindex="-1" role="dialog" aria-labelledby="po_form" aria-hidden="true">
                <div class="modal-dialog modal-dialog-centered modal-xl" role="document">
                    <div class="modal-content">
                        <div class="modal-body">
						
                            <div class="row">
                                <div class="col-sm-5">
                                    <h1>Purchase Order</h1>
                                    <h5 class="po_no"></h5>
                                </div>
                                
                            </div>
							
                            <hr class="mt-5 mb-5">

                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="to-info"></div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="request-info">
									
                                    </div>
                                </div>

                                <div class="col-sm-12">
                                    <table class="table table-bordered table-po mt-5">
                                        
                                    </table>
                                </div>
                            </div>
							
							<div class="row">
								<div class="col-sm-12">
									<div class="col-sm-3">
										<a href="#img1" class="btn btn-light-dark font-weight-bold">
											View PO File
										</a>
										<a href="#" class="lightbox" id="img1">
										
											<span style="background-image: url('<?php echo e(asset('images/2/floorplan.jpg')); ?>"></span>
										</a>
									</div>
								</div>
							</div>

                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-light-primary font-weight-bold" data-dismiss="modal">Close</button>
                        </div>
                    </div>
                </div>
            </div>

			<!-- Modal DO -->
			<div class="modal fade" id="do_form" tabindex="-1" role="dialog" aria-labelledby="do_form" aria-hidden="true">
                <div class="modal-dialog modal-dialog-centered modal-xl" role="document">
                    <div class="modal-content">
                        <div class="modal-body">
						
                            <div class="row">
                                <div class="col-sm-5">
                                    <h1>Delivery Order</h1>
                                    <h5 class="do_no"></h5>
                                </div>                                
                            </div>
							
                            <hr class="mt-5 mb-5">

                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="to-info"></div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="request-info">									
                                    </div>
                                </div>

                                <div class="col-sm-12">
                                    <table class="table table-bordered table-do mt-5">                                       
                                    </table>
                                </div>
                            </div>
							
							<div class="row">
								<div class="col-sm-12">
									<div id="view_file" class="col-sm-3">
										<a href="#doFile" class="btn btn-light-dark font-weight-bold">
											View DO File
										</a>
										<a href="#" class="lightbox" id="doFile">										
										
											<iframe id="iframe_doFile" src="assets/document/do-sample.pdf" class="lightbox-pdf"></iframe>
										</a>
									</div>
								</div>
							</div>

                        </div>
                        <div class="modal-footer">
							<button type="button" class="btn btn-success font-weight-bold btnAccept" data-toggle="modal" data-target="#ConfirmPopup" data-ref-no="" data-do-id="" data-action="accept">Accept DO</button>
                            <button type="button" class="btn btn-danger font-weight-bold btnReject" data-toggle="modal" data-target="#ConfirmPopup" data-ref-no=""  data-do-id="" data-action="reject">Reject DO</button>
                            <button type="button" class="btn btn-light-primary font-weight-bold" data-dismiss="modal">Close</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

    
<?php $__env->stopSection(); ?>

<?php $__env->startSection('custom_js'); ?>
<script src="<?php echo e(asset('js/do.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/superweb/public_html/demo.superweb.my/inventory/resources/views/do/index.blade.php ENDPATH**/ ?>