<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<link type="text/css" href="{{public_path()}}/dompdf-assets/receipts.css" rel="stylesheet" />
	<title>TestData PDF </title>
	<style type="text/css">
		table.receipt-content tr td{padding: 3px 10px;}
		.line-height-1 {line-height: 10px!important;}
		.line-height-12{line-height: 12px!important;}
		.margin-right-10{margin-right: 10px!important;}
	</style>
</head>
<!-- Page 1 of 1 -->
<body class="exo2-regular position-relative">
	<div id="page-background" class="overlay">
        <!-- <img src="images/progress-report-bg.jpg" height="100%" width="100%" style="position: absolute; width: 100%;z-index: -1;"> -->
     </div> 
	<div>
		<div class="col-xs-12 no-padding position-relative">
			<div class="clearfix" style="height: 20px;"></div>
			<div class="pdf-wrapper proximanova-regular">
				<div class="pdf-header" style="border: 0!important;">
                  <div>
						<table width="100%">
							<tr>
								<td width="50%" valign="top">
									<div class="eti-logo">
										<img src="{{public_path()}}/dompdf-assets/images/dps-logo.jpg" alt="" style="width: 260px;">
									</div>
								</td>
								<td width="50%" valign="top">
									<p class="primary-font-color px-14-font line-height-1 europa-bold">DAVAO PROPERTY SOLUTIONS</p>
									<p class=" px-12-font line-height-1">Door F, TMNT Building, </p>
									<p class=" px-12-font line-height-1">Dona Vicenta Village, Bajada Davao City</p>
									<p class=" px-12-font line-height-1">082 327 -3608</p>
									<p class=" px-12-font line-height-1">davaopropertysolutions.com</p>
									<p class=" px-12-font line-height-1">https://www.davaopropertysolutions.com</p>
								</td>
							</tr>
						</table>
				</div>
				</div>
				<div class="pdf-wrapper pdf-body">
					<p class="primary-font-color px-24-font line-height-1">VOUCHER</p>
					<div class="clearfix" style="height: 15px;"></div>
					<table width="100%" class="px-14-font line-height-12">
							<tr>
								<td width="50%" valign="top">
									<p class="europa-bold margin-right-10">Received From:</p>
									{{--<p>{{ $data->name}}</p>
									<p>{{ $data->email }}</p>--}}
									{{--<p>{{ $data->address }}</p>--}}
									{{-- <p>TARNEIT VICTORIA 3029</p> --}}
								</td>
								<td width="50%" valign="top">
									<table width="100%">
										<tr>
											<td class="europa-bold text-right margin-right-10">Date: </td>
											{{--<td>{{ Carbon\Carbon::createFromFormat('Y-m-d H:i:s',$data->created_at)->format('d/m/Y') }}</td>--}}
										</tr>
										<tr>
											<td class="europa-bold text-right margin-right-10">Payment Method:</td>
											{{--}}<td>{{ $data->created_at }}</td>--}}
										</tr>
										<tr>
											<td class="europa-bold text-right margin-right-10">Reference No.: </td>
											{{--}}<td> {{ $data->id }}</td>--}}
										</tr>
									</table>
								</td>
							</tr>
						</table>
						<div class="clearfix"></div>
						<div class="clearfix" style="height: 15px;"></div>
						<table width="100%" class="receipt-content px-14-font line-height-1">
							<tr style="background-color: #525252!important;color: #ffffff">
								<td width="15%">Payment Date</td>
								<td width="15%">Payment Method</td>
								<td width="15%" class="text-right">Amount Received</td>
								<td width="15%" class="text-right">Amount Applied</td>
								<td width="20%" class="text-right">Fees to be Paid</td>
							</tr>
							{{--@foreach($all_pays as $data )
								<tr>	
									<td>{{ Carbon\Carbon::createFromFormat('Y-m-d H:i:s',$data->created_at)->format('d/m/Y') }}</td>
									<td>{{ $data->payment_method->method }}</td>
									<td class="text-right">{{ number_format($data->amount,2) }}</td>
									<td class="text-right">{{ number_format($data->amount_applied,2) }}</td>
									<td class="text-right">{{ number_format($data->fees_to_be_paid,2) }}</td>
								</tr>
							@endforeach--}}
							{{-- <tr>
								<td> 05/12/2018</td> 
								<td>Direct Debit</td>
								<td class="text-right">0.00</td>
								<td class="text-right">0.00</td>
								<td class="text-right">0.00</td>
							</tr> --}}
						</table>
						<div class="clearfix" style="height: 20px;"></div>
						<div style="border-bottom: dotted #555555!important; width: 100%;"></div>
						<table width="100%" class="total-payment px-14-font line-height-1">
							<tr>
								<td width="50%" valign="top">
									<table width="100%" class="total-payment px-14-font line-height-1">
										<tr>
											<td width="50%" class="text-justify px-10-font" style="padding-right: 10px;">
												<span class="europa-bold">Note:</span>
												 {{--INSTALLMENT PAID FOR <span>{{ $data['id'] }} {{ strtoupper($data['email']) }}</span>--}}
											</td>
										</tr>
									</table>
								</td>
								<td width="50%" valign="top">
									<table width="100%" class="total-payment px-14-font europa-bold">
									{{-- 	<tr>
											<td width="25%">Amount Credited:</td>
											<td width="25%" class="text-right">A$0.00</td>
										</tr> --}}
										<tr>
											<td>Total:
											$ AU 5.00
											{{--<td class="text-right"> {{ $data->currency }} {{ number_format($sum_pays,2) }}</td>--}}
										</tr>
									</table>
								</td>
							</tr>
						</table>
				</div>
			</div>
			<div class="pdf-footer">
					<!-- This is footer section	 -->
			</div>
		</div>
	</div>
</body>
<!-- End Page 1 of 1 -->
</html>