<?php 
	$header_file=APPPATH.'views/include/header.php';
	require($header_file);
	$sidenav_file=APPPATH.'views/include/sidenav.php';
	require($sidenav_file);	?>
<!-- BEGIN: Content-->
    <div class="app-content content">
      <div class="content-overlay"></div>
      <div class="content-wrapper">
        <div class="content-header row">
          <div class="content-header-left col-md-6 col-12 mb-2 breadcrumb-new">
            <h3 class="content-header-title mb-0 d-inline-block">Inward</h3>
            <div class="row breadcrumbs-top d-inline-block">
              <div class="breadcrumb-wrapper col-12">
                <ol class="breadcrumb">
                  <li class="breadcrumb-item"><a href="#">Home</a>
                  </li>
                  <li class="breadcrumb-item"><a href="#">Request Pending List</a>
                  </li>
                  <li class="breadcrumb-item active">Inward
                  </li>
                </ol>
              </div>
            </div>
          </div>
         
        </div>
        <div class="content-body">
            <section class="card">
                <div class="row justify-content-md-center">
		<div class="col-md-12">
			<div class="card">
				
				<div class="card-content collapse show">
					<div class="card-body">
					
						<h4>Remarks</h4>
						
							<?php
								foreach($inwcnt as $incnt)
							if($incnt->inwcount > 0) {
							    foreach($inwtkt as $inwt){
								
							?>
							<div class="row" >
								<div class="col-md-6">
									<div class="form-group">
										<!--<label for="exampleInputEmail1">Remarks</label>-->
										<textarea style="text-align: left;" name="remark" id="remark" class="form-control" rows="5" >Remark : By <?php echo $inwt->dept; ?><?php echo "\n"; ?><?php echo $inwt->remarks; ?><?php echo "\n"; ?>Ref : <?php echo $inwt->inw_no; ?>, <?php echo date('d-m-Y',strtotime($inwt->inw_date)); ?>, DC No : <?php echo $inwt->dc_no; ?></textarea>
									</div>
								</div>
							</div>
							<?php } ?>
							<?php } else { ?>
							</br>
							<h5>There are no remarks.</h5>
							</br>
							<?php } ?>
						</div>
					</div>
				</div>
			</div>
	</div>

</section>
<!-- // Basic form layout section end -->
        </div>
      </div>
    </div>
    <?php //require('include/theme_customizer.php');?>

   <?php 
  $footer_file=APPPATH.'views/include/footer.php';
	require($footer_file);
	?>
	</body>
	</html>