-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinvoice.php
87 lines (77 loc) · 3.69 KB
/
invoice.php
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
<div class="panel panel-default">
<div class="panel-body">
<div class="row">
<div class="col-md-6">
<div class="bill-to">
<p class="h5 mb-xs text-dark text-semibold"><strong>Invoiced To:</strong></p>
<address>
Full Name: <br>
Address: <br>
City: <br>
ZipCode:<br>
Mobile<br>
<strong>Email:</strong> [email protected]
</address>
</div>
</div>
<div class="col-md-6">
<div class="bill-data text-right">
<p class="mb-none">
<span class="text-dark">Invoice Date:</span>
<span class="value"><?php echo date("M d Y"); ?></span>
</p>
<p class="mb-none">
<span class="text-dark">Due Date:</span>
<span class="value"><?php echo date("M d Y"); ?></span>
</p>
</div>
</div>
</div>
<div class="table-responsive">
<table class="table invoice-items">
<thead>
<tr class="h4 text-dark">
<th id="cell-id" class="text-semibold">Item_no</th>
<th id="cell-item" class="text-semibold">Medicine</th>
<th id="cell-price" class="text-center text-semibold">Price</th>
</tr>
</thead>
<tbody>
<tr id="prodinv"></tr>
<tr id="prodinv">
<td>001</td>
<td class="text-semibold text-dark">#</td>
<td class="text-center amount">#</td>
</tr>
</tbody>
</table>
</div>
<div class="row">
<div class="col-sm-4">
</div>
<div class="col-md-4">
<h2> Invoice Total: <span class="amount">#</span> </h2>
</div>
<div class="col-md-4">
Amount Paid By :
<select name="paymentmode" class="form-control">
<option value="cash">Cash</option>
<option value="card">Card</option>
</select>
</div>
</div>
</div>
</div>
<form method="post">
Amount Paid By :
<select name="paymentmode" class="form-control">
<option value="cash">Cash</option>
<option value="card">Card</option>
</select>
<input type="hidden" name="uid" value="<?php echo $_GET['id']; ?>">
<?php if(isset($_GET['medicine']) & !empty($_GET['medicine'])){ ?>
<input type="hidden" name="productids" value="<?php echo implode(",", $_GET['medicine']) ?>">
<?php } ?>
<br>
<input type="submit" value="Invoice Paid" class="btn btn-primary btn-lg">
</form>