-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreturn.add.php
More file actions
executable file
·157 lines (148 loc) · 8.67 KB
/
return.add.php
File metadata and controls
executable file
·157 lines (148 loc) · 8.67 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
<?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 = "Add Return";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include('temp/head.temp.php'); ?>
</head>
<body>
<?php include('temp/aside.temp.php'); ?>
<main class="content">
<?php include('temp/nav.temp.php'); ?>
<div class="py-3">
<nav aria-label="breadcrumb" class="d-none d-md-inline-block">
<ol class="breadcrumb breadcrumb-dark breadcrumb-transparent">
<li class="breadcrumb-item">
<a href="#">
<svg class="icon icon-xxs" fill="none" stroke="currentColor" viewbox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6">
</path>
</svg>
</a>
</li>
<li class="breadcrumb-item">
<a href="#">Transaction</a>
</li>
<li class="breadcrumb-item active" aria-current="page">
Add Return
</li>
</ol>
</nav>
<div class="d-flex justify-content-between w-100 flex-wrap align-items-center">
<h1 class="h4 mb-0">Add Return</h1>
<div>
<a href="return.all.php" class="btn btn-outline-gray-600 d-inline-flex align-items-center">
All Returns
</a>
</div>
</div>
</div>
<div class="row">
<div class="col-6">
<div class="card">
<div class="card-body">
<h6 class="fw-bolder">General Information</h6>
<div class="row">
<div class="col-12">
<div class="row">
<div class="col-lg-12">
<div class="form-group">
<label for="saleCustomer">Select Customer</label>
<select class="form-select" name="saleCustomer" id="saleCustomer">
<option value="" selected>Select Customer</option>
<?php for ($i = 0; $i < 4; $i++) { ?>
<option value="abdul rehman">Abdul Rehman</option>
<?php } ?>
</select>
</div>
</div>
<div class="col-lg-5 py-3">
<h5 class="text-dark">Profile</h5>
<img class="img-fluid" src="assets/img/profile.png" alt="" srcset="">
</div>
<div class="col-lg-7 py-3">
<div class="row">
<div class="col-12">
<div class="form-group">
<label for="saleProperty">Select Property</label>
<select class="form-select" name="saleProperty" id="saleProperty">
<option value="" selected>Select Property</option>
<?php for ($i = 0; $i < 4; $i++) { ?>
<option value="abdul rehman">Abdul Rehman</option>
<?php } ?>
</select>
</div>
</div>
<div class="col-12 py-2">
<label for="">Balance Sheet</label>
<div class="card shadow-sm rounded-5">
<table class="table table-centered table-nowrap mb-0 rounded">
<thead class="thead-light">
<tr>
<th class="border-0 rounded-start">Detail</th>
<th class="border-0 rounded-end"
style="text-align: right;">Amount
</th>
</tr>
</thead>
<tbody id="balanceSheet">
<tr>
<td>Received Amount</td>
<td style="text-align: right;">10,00,000</td>
</tr>
<tr>
<td>Cancel Fee</td>
<td style="text-align: right;" class="text-success">
-5,000</td>
</tr>
<tr>
<td>Processing Fee</td>
<td style="text-align: right;" class="text-success">
-15,000</td>
</tr>
<tr>
<td class="text-danger">Pay. Balance</td>
<td style="text-align: right;" class="text-danger">
9,80,000</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-12 text-center">
<input class="btn btn-outline-gray-600 my-2" type="submit" name="submit"
value="Submit" />
</div>
</div>
</div>
</div>
</div>
</div>
<?php include('temp/footer.temp.php'); ?>
</main>
<?php include('temp/script.temp.php'); ?>
<script>
$(function() {
});
</script>
</body>
</html>