<?php $__env->startSection('css'); ?>
	<style type="text/css">
	/* size landscape for landscape paper */
		@page{
			size: landscape;
		}
	</style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
	<div class="container-print">
		<div class="row">
			<div class="col-md-12">
				<div class="UpperTitle"><img src="<?php echo e(asset('assets/images/resize')); ?>/<?php echo e($branch->branch_img); ?>" alt="Logo">
					<div class="title">
						<h2 class="com-name"><?php echo e($branch->branch_kh); ?></h2>
						<h2><?php echo e($branch->branch_en); ?></h2>
						<h3>Report Manage Using</h3>
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12">
				<hr>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12">
				<table class="table table-print" width="100%">
					<tbody>
						<tr>
							<th>No</th>
							<th>Date</th>
							<th>Project Name</th>
							<th>Warehouse</th>
							<th>Zone</th>
							<th>House</th>
							<th>Product Name</th>
							<th>Category</th>
							<th>Sub Category</th>
							<th>Quantities</th>
							<th>Unit Name</th>
						</tr>
						<?php $total_qty = 0;$total_qty = 0; ?>
						<?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
						<?php 
						$total_qty += $value->product_use_qty;?>
						<tr>
							<td><?php echo e($key+1); ?></td>
							<td><?php echo e(!empty($value->date)?date("d-m-Y",strtotime($value->date)):""); ?></td>
							<td><?php echo e($value->project_name); ?></td>
							<td><?php echo e($value->warehouse_name); ?></td>
							<td><?php echo e($value->zone_name); ?></td>
							<td><?php echo e($value->house_name); ?></td>
							<td><?php echo e($value->product_name); ?></td>
							<td><?php echo e($value->product_category_name); ?></td>
							<td><?php echo e($value->sub_category); ?></td>
							<td><?php echo e($value->product_use_qty); ?></td>
							<td><?php echo e($value->unit_name); ?></td>
						</tr>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
						<tr>
							<td colspan="9">Total</td>
							<td><?php echo e($total_qty); ?></td>
							<td></td>
						</tr>
					</tbody>
				</table>
			</div>	
		</div>
		<div class="row">
			<div class="col-md-12">
				<table width="100%"​ class="tb-sign">
					<tr align="right">
						<td>
							<p>ធ្វើនៅ​ <strong>ភ្នំពេញ</strong> ថ្ងៃទី <strong><?php echo e(\Globals::date_khmers(date('Y-m-d'))); ?></strong></p>
							<p style="padding-bottom: 80px;padding-right:40px">ហត្ថលេខា</p>
							<p>______________________</p>
						</td>
					</tr>	
				</table>
			</div>
		</div>
	</div>
<?php $__env->stopSection(); ?>
<style>
	#text-align-right{
		text-align: right !important;
	}
</style>




<?php echo $__env->make('layouts.report-print', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>