@extends('layouts.print')
 
@section('content')
<div class="content-wrapper">
	<div class="box"> 
		<div class="content">
			<div class="container">
				<div class="page">
					<div class="row">
						<div class="layout-print">
							<div class="header">
								<div class="logo">
									<img src="{{asset('assets/images/logo.png')}}" alt="" width="120px">
								</div>
								<div class="title">
									<h1>បង្កានដៃទទួលប្រាក់</h1>
								</div>
							</div>
							<div class="row">
								<div class="col-4">
									<div class="blog">
										<div class="label">
											<label>គំរោង</label>
										</div>
										<div class="input">
											<input type="" name="" value="{{$invoice[0]->item_name}}">
										</div>
									</div>
									<div class="blog">
										<div class="label">
											<label>លេខកូដលក់</label>
										</div>
										<div class="input">
											<input type="" name="" value="{{$invoice[0]->item_name}}">
										</div>
									</div>
									<div class="blog">
										<div class="label">
											<label>ឈ្មោះ</label>
										</div>
										<div class="input">
											<input type="" name=""​ value="{{$invoice[0]->client_fullname}}">
										</div>
									</div>
									
									<div class="blog">
										<div class="label">
											<label>អាស័យដ្ឋាន</label>
										</div>
										<div class="input">
											<input type="" name="" value="{{$invoice[0]->client_address}}">
										</div>
									</div>
									
								</div>
								<div class="col-4">
									<div class="blog">
										<div class="label">
											<label>សរុប</label>
										</div>
										<div class="input">
											<input type="" name="" value="$ {{number_format($invoice[0]->item_price,2)}}">
										</div>
									</div>
									<div class="blog">
										<div class="label">
											<label>ប្រាក់ត្រូវបង់</label>
										</div>
										<div class="input">
											<?php $remain_amount = ($invoice[0]->item_price)-($invoice[0]->sale_receive) ?>
											<input type="" name="" value="$ {{number_format($remain_amount,2)}}">
										</div>
									</div>
									<div class="blog">
										<div class="label">
											<label>ប្រាក់កក់</label>
										</div>
										<div class="input">
											<input type="" name="" value="$ {{number_format($invoice[0]->sale_receive,2)}}">
										</div>
									</div>
									
									<div class="blog">
										<div class="label">
											<label>ថ្ងៃទទួល</label>
										</div>
										<div class="input">
											<input type="" name="" value="<?php echo date("d, M, Y");?>">
										</div>
									</div>
									<!-- <div class="blog">
										<div class="label">
											<label>ទូទាត់ជា</label>
										</div>
										<div class="input">
											<input type="" name="" value="សាច់ប្រាក់">
										</div>
									</div> -->
									
								</div>


								<div class="col-4">
									<div class="blog">
										<div class="label">
											<label>ថ្ងៃត្រូវបង់</label>
										</div>
										<div class="input">
											<input type="" name="">
										</div>
									</div>
									
								</div>
							</div>
							<div class="row">
								<div class="footer">
									<div class="col-4">
										<div class="signature">
											<p>ក្នុងករណីអតិថិជនបង់ប្រាក់មិនទៀងទាត់នេងត្រូវផាកពិន័យដូចបានចែងក្នុងកិច្ចសន្យា</p>
										</div>
									</div>
									<div class="col-4">
										<div class="signature">
											<p>អ្នកទទួល</p>
										</div>
									</div>

									<div class="col-4">
										<div class="signature">
											<p>Administrator</p>
										</div>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="bottom-footer">
									<div class="">
										<div class="">
											<h2> អឹមអិល មង្គល រៀលធី </h2>
											<p> ភូមិត្រពាំងទួល សង្កាត់កំបូល , ខណ្ឌពោធិ៍ សែនជ័យ , រាជធានីភ្នំពេញ ទូរស័ព្ទ : ០៧០ ៧៣៥ ០០១ </p>
										</div>
									</div>
									
								</div>
							</div>
							
						</div>
						<div class="layout-print">
							<div class="header">
								<div class="logo">
									<img src="{{asset('assets/images/logo.png')}}" alt="" width="120px">
								</div>
								<div class="title">
									<h1>បង្កានដៃទទួលប្រាក់</h1>
								</div>
							</div>
							<div class="row">
								<div class="col-4">
									<div class="blog">
										<div class="label">
											<label>គំរោង</label>
										</div>
										<div class="input">
											<input type="" name="" value="{{$invoice[0]->item_name}}">
										</div>
									</div>
									<div class="blog">
										<div class="label">
											<label>លេខកូដលក់</label>
										</div>
										<div class="input">
											<input type="" name="" value="{{$invoice[0]->item_name}}">
										</div>
									</div>
									<div class="blog">
										<div class="label">
											<label>ឈ្មោះ</label>
										</div>
										<div class="input">
											<input type="" name=""​ value="{{$invoice[0]->client_fullname}}">
										</div>
									</div>
									
									<div class="blog">
										<div class="label">
											<label>អាស័យដ្ឋាន</label>
										</div>
										<div class="input">
											<input type="" name="" value="{{$invoice[0]->client_address}}">
										</div>
									</div>
									
								</div>
								<div class="col-4">
									<div class="blog">
										<div class="label">
											<label>សរុប</label>
										</div>
										<div class="input">
											<input type="" name="" value="$ {{number_format($invoice[0]->item_price,2)}}">
										</div>
									</div>
									<div class="blog">
										<div class="label">
											<label>ប្រាក់ត្រូវបង់</label>
										</div>
										<div class="input">
											<?php $remain_amount = ($invoice[0]->item_price)-($invoice[0]->sale_receive) ?>
											<input type="" name="" value="$ {{number_format($remain_amount,2)}}">
										</div>
									</div>
									<div class="blog">
										<div class="label">
											<label>ប្រាក់កក់</label>
										</div>
										<div class="input">
											<input type="" name="" value="$ {{number_format($invoice[0]->sale_receive,2)}}">
										</div>
									</div>
									
									<div class="blog">
										<div class="label">
											<label>ថ្ងៃទទួល</label>
										</div>
										<div class="input">
											<input type="" name="" value="<?php echo date("d, M, Y");?>">
										</div>
									</div>
									<!-- <div class="blog">
										<div class="label">
											<label>ទូទាត់ជា</label>
										</div>
										<div class="input">
											<input type="" name="" value="សាច់ប្រាក់">
										</div>
									</div> -->
									
								</div>


								<div class="col-4">
									<div class="blog">
										<div class="label">
											<label>ថ្ងៃត្រូវបង់</label>
										</div>
										<div class="input">
											<input type="" name="">
										</div>
									</div>
									
								</div>
							</div>
							<div class="row">
								<div class="footer">
									<div class="col-4">
										<div class="signature">
											<p>ក្នុងករណីអតិថិជនបង់ប្រាក់មិនទៀងទាត់នេងត្រូវផាកពិន័យដូចបានចែងក្នុងកិច្ចសន្យា</p>
										</div>
									</div>
									<div class="col-4">
										<div class="signature">
											<p>អ្នកទទួល</p>
										</div>
									</div>

									<div class="col-4">
										<div class="signature">
											<p>Administrator</p>
										</div>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="bottom-footer">
									<div class="">
										<div class="">
											<h2> អឹមអិល មង្គល រៀលធី </h2>
											<p> ភូមិត្រពាំងទួល សង្កាត់កំបូល , ខណ្ឌពោធិ៍ សែនជ័យ , រាជធានីភ្នំពេញ ទូរស័ព្ទ : ០៧០ ៧៣៥ ០០១ </p>
										</div>
									</div>
									
								</div>
							</div>
							
						</div>
					</div>
					
					
				</div>
			</div>
		</div>
	</div>
</div>

@endsection


