-
Notifications
You must be signed in to change notification settings - Fork 9
/
custom_billing.php
95 lines (88 loc) · 3.39 KB
/
custom_billing.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
88
89
90
91
92
93
94
<?php
require 'config.php';
$conn = connection();
$sql = "select * from firm order by firm_name";
$data = $conn->query($sql);
$data1 = $conn->query($sql);
$conn=null;
?>
<div class="col-md-12">
<div class="col-md-12">
<div class="panel panel-full-color panel-danger">
<div class="panel-heading panel-heading-contrast" style="background-color:#f50057;"><strong>CUSTOM BILLING</strong>
<div class="tools"><span class="icon mdi"></span></div><span class="panel-subtitle"></span>
</div>
</div>
</div>
<form type="POST" action="custom_bill_entry.php" onsubmit="custom_calc_amt();">
<div class="col-sm-12">
<div class="panel panel-default panel-table">
<div class="panel-heading ">
<div class="col-md-6">
<div class="col-md-3">
<label style="font-size: 18px; "><strong>Name :</strong></label>
</div>
<div class="col-md-3" style="margin-left: -10%;">
<input type="text" name="bill_name" id="bill_name" value="" style="height: 25px;" required="">
</div>
</div>
<!-- <div class="col-md-6" style="float: right;">
<div class="col-md-2">
<label style="font-size: 18px;">Tax :</label>
</div>
<div class="col-md-4">
<select class="form-control input-xs" id="pro_tax_type" required="">
<option value="">Select Tax</option>
<option value="1">CGST + SGST</option>
<option value="2">IGST</option>
</select>
</div>
</div> -->
<!-- div class="btn-group btn-space" style="float: right;">
<button class="btn btn-space md-trigger btn-danger" onclick="printDiv('printableArea');"><i class="icon icon-left mdi mdi-assignment"></i> Print</button>
</div> -->
</div>
<div class="panel-body">
<span id="srch_ty">
<table class="table table-condensed table-hover table-bordered table-striped">
<thead>
<tr>
<th><center>S.no.</center></th>
<th><center>Name Of Product</center></th>
<th><center>Price</center></th>
<th><center>Qty Req.</center></th>
<th><center>Amount</center></th>
</tr>
</thead>
<tbody style="color:black;">
<tr id="fetch_d_0">
</tr>
</tbody>
</table>
<input type="hidden" name="count" id="count" value="0">
<br>
<input type="hidden" name="total_amt" id="total_amt" value="" required="">
<input type="hidden" name="bill_type" value="2">
<div class="col-md-12">
<div class="col-md-6">
<div class="col-md-5">
<label style="font-size: 18px; ">Transport Charge :</label>
</div>
<div class="col-md-1">
<input type="text" name="tr_amt" id="tr_amt" class="form-control input-xs" value="0" style="width: 100px;" >
</div>
</div>
<div class="col-md-2" style="margin-left: -12%">
<a class="btn btn-space md-trigger btn-warning" onclick="add_custom_row();" style="float: right;"><i class="icon icon-left mdi mdi-plus"></i> ADD PRODUCT</a>
</div>
<div class="col-md-2">
<button type="submit" style="width:146px;" class="btn btn-space md-trigger btn-success" formtarget="_blank"><i class="icon icon-left mdi mdi-assignment"></i> Print Bill</button>
</div>
</div>
</span>
</div>
</div>
</div>
</div>
</form>
</div>