-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreturn.print.php
More file actions
executable file
·160 lines (153 loc) · 7.5 KB
/
return.print.php
File metadata and controls
executable file
·160 lines (153 loc) · 7.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<?php
session_start();
#################### Login & License Validation ####################
require("temp/validate.login.temp.php"); #
$license_path = "license/".$_SESSION['license_username']."/license.json"; #
require("auth/license.validate.functions.php"); #
require("temp/validate.license.temp.php"); #
#################### Login & License Validation ####################
####################### Database Connection #######################
require("auth/config.php"); #
require("auth/functions.php"); #
$conn = conn("localhost", "root", "", "unitySync"); #
####################### Database Connection #######################
$title = "Property - Plot #234";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include('temp/head.temp.php'); ?>
</head>
<body>
<div class="row">
<div class="col-12">
<div class="card border-0 p-4" id="propertyDetails">
<div class="d-flex justify-content-between pb-4 pb-md-5 mb-4 mb-md-5 border-bottom border-light">
<img class="image-md" src="assets/img/brand/light.svg" height="30" width="30"
alt="Rocket Logo">
<div>
<h4>Pine Valley</h4>
<ul class="list-group simple-list">
<li class="list-group-item fw-normal">Lorem, ipsum dolor.</li>
<li class="list-group-item fw-normal">Pakpattan, Pakistan</li>
<li class="list-group-item fw-normal">
<a class="fw-bold text-primary" href="#">
loremipsum@example.com
</a>
</li>
</ul>
</div>
</div>
<div class="mb-6 d-flex align-items-center justify-content-center">
<h2 class="h1 mb-0">Invoice #00123</h2>
<!-- <span class="badge badge-lg bg-success ms-4">Paid</span> -->
</div>
<div class="row justify-content-between mb-4 mb-md-5">
<div class="col-sm">
<h5>Purchaser Information:</h5>
<div>
<ul class="list-group simple-list">
<li class="list-group-item fw-normal">Ali Abdullah - 36402-42643663-1</li>
<li class="list-group-item fw-normal">+92 345 674333583</li>
<li class="list-group-item fw-normal">Lorem, ipsum dolor sit amet consectetur adipisicing elit.
</li>
<li class="list-group-item fw-normal">
<a class="fw-bold text-primary" href="#">
example@person.com
</a>
</li>
</ul>
</div>
</div>
<div class="col-sm col-lg-4">
<dl class="row text-sm-right">
<dt class="col-6">
<strong>Invoice No.</strong>
</dt>
<dd class="col-6">
00123
</dd>
<dt class="col-6">
<strong>Date Issued:</strong>
</dt>
<dd class="col-6">
31/03/2020
</dd>
<dt class="col-6">
<strong>Date Due:</strong>
</dt>
<dd class="col-6">
30/04/2020
</dd>
</dl>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="table-responsive">
<table class="table mb-0">
<thead class="bg-light border-top">
<tr>
<th scope="row" class="border-0">Property</th>
<th scope="row" class="border-0">Total Insts.</th>
<th scope="row" class="border-0">Amount Per Inst.</th>
<th scope="row" class="border-0 text-end">Total</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row" class="fw-bold h6">Plot - #234</th>
<td>36 Inst.</td>
<td>Rs. 15,270</td>
<td class="text-end">Rs. 550,000</td>
</tr>
</tbody>
</table>
</div>
<div class="d-flex justify-content-between text-right mb-4 py-4">
<div class="mt-4 d-flex align-items-end">
<h5>Sign. </h5>___________________
</div>
<div class="mt-4">
<table class="table table-clear">
<tbody>
<tr>
<td class="left"><strong>Subtotal</strong></td>
<td class="right">Rs. 550,000</td>
</tr>
<tr>
<td class="left"><strong>Discount (3%)</strong></td>
<td class="right">Rs. 45,833</td>
</tr>
<!-- <tr>
<td class="left"><strong>VAT (10%)</strong></td>
<td class="right">$679,76</td>
</tr> -->
<tr>
<td class="left"><strong>Total</strong></td>
<td class="right"><strong>Rs. 504,166</strong></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- <h4>Payments to:</h4><span>payment@volt.com</span> -->
</div>
</div>
</div>
</div>
</div>
<?php include('temp/script.temp.php'); ?>
<script>
$(document).ready(function() {
// Print the page automatically when it loads
window.print();
});
// Handle the onafterprint event
$(window).on('afterprint', function() {
// Return to the previous page after printing or canceling
window.history.back();
});
</script>
</body>
</html>