-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbill.php
111 lines (105 loc) · 4.08 KB
/
bill.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?php
require 'config.php';
$conn = connection();
$sql = "select * from firm order by firm_name";
$data = $conn->query($sql);
$data1 = $conn->query($sql);
$conn=null;
?>
<!-- MODAL CLOSE -->
<div class="col-md-12">
<div class="col-md-12">
<div class="panel panel-full-color panel-primary">
<div class="panel-heading panel-heading-contrast" style="background-color: #5d001e;"><strong>STOCK BILLING</strong>
<div class="tools"><span class="icon mdi"></span></div><span class="panel-subtitle"></span>
</div>
</div>
</div>
<form type="POST" action="stock_billing.php" onsubmit="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>Firm</center></th>
<th><center>Description</center></th>
<th><center>Size</center></th>
<th><center>Qty Req.</center></th>
<th><center>Rate</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>
<!-- <span style="margin-left: 36px;">
<label>GST no. :
<input type="number" name="gst_no" id="gst_no" value="" >
</label>
<label>Transportation Charge :
<input type="number" name="trans_chg" id="trans_chg" value="" >
</label>
<label>Transportation no. :
<input type="text" name="trans_no" id="trans_no" value="" >
</label>
</span> -->
<br>
<input type="hidden" name="total_amt" id="total_amt" value="" required="">
<input type="hidden" name="bill_type" value="1">
<!-- <input type="submit" class="btn btn-space md-trigger btn-danger" name=""> -->
<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_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>