-
Notifications
You must be signed in to change notification settings - Fork 1
/
sales_local.php
executable file
·160 lines (156 loc) · 5.7 KB
/
sales_local.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
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
<!DOCTYPE HTML>
<html>
<?php
include 'common.php';
externalLinks();
?>
<body>
<script type="text/javascript">
$(document).ready(function(){
$('#print').on('click',function(){
$('#printCont').printThis({
debug: true, // show the iframe for debugging
importCSS: false, // import parent page css
importStyle: true, // import style tags
printContainer: true, // print outer container/$.selector
loadCSS: ["tsg/css/custom.css","tsg/css/style.css","tsg/css/bootstrap.min.css"], // load an additional css file - load multiple stylesheets with an array []
header: "",
// "<h4 class='header col-md-12'>"+paymentType+"</h4>", // prefix to html
footer:"<h4 class='f_right'>For<b>SRI RAK JEWELLERS</h4><br>"+
"<p class='f_left'>Smith Signature</p>"+
"<p class='f_right'>Partner</p>",
pageTitle: "", // add title to print page
removeInline: false, // remove all inline styles
printDelay: 333, // variable print delay
doctypeString: '<!DOCTYPE html>', // html doctype
removeScripts: false // remove script tags before appending
});
});
});
</script>
<div class="page-container">
<!--/content-inner-->
<div class="left-content">
<div class="inner-content">
<?php
headerBar();
?>
<div class="outter-wp">
<!-- Main Container -->
<div id="printCont" class="col-md-12 col-sm-12 col-xs-12">
<div class="col-md-8 col-sm-8 col-xs-8 f_left from">
<h2>SRI RAK JEWELLERS</h2>
<address>
<span>678-680, Big Bazzar Street, Coimbatore - 01</span>
<span>E- mail: [email protected]</span>
<span>Cell: 91502 05732,98438 15732</span>
</address>
</div>
<div class="col-md-4 col-sm-4 col-xs-4 f_right to">
<h2>Sales Local</h2>
<p>No:</p>
<p>Date:</p>
<p>State Code:33</p>
</div>
<div class="col-md-12 col-sm-12 col-xs-12 border">
<span class="col-md-4 col-sm-4 col-xs-12">Tin No:33776262182</span>
<span class="col-md-4 col-sm-4 col-xs-12">CST NO:265634</span>
<span class="col-md-4 col-sm-4 col-xs-12">Date:20-10-14</span>
</div>
<div class="col-md-12 col-sm-12 col-xs-12">
<h3>LALITHA JEWELLERY MART PVT LTD</h3>
<address>
<span>NO 53 ICON SAVITHRI GANESH BUILIDING ,HABIBULLAH ROAD,</span>
<span>T NAGAR. CHENNAI -17</span>
<span>GST NO: ……………………………………………………………………</span>
</address>
</div>
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="table-responsive">
<input type="hidden" id="form_inc" value="1" name="form_inc">
<form method="POST">
<table data-id="1" id="usertbl" class="table table-bordered">
<thead>
<tr>
<th>Sl No</th>
<th>HSN</th>
<th>Particulars</th>
<th>Purity</th>
<th>Weight</th>
<th>Rate</th>
<th>Amount</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="particular_list" data-id="1" id='rec_1'>
<td class="sm_table"><input type="text" value="0"></td>
<td><input type="text" value=""></td>
<td class="sm_table"><input class="weight" type="text" value=""></td>
<td><input class="purity" value="" type="text"></td>
<td><input class="netGms" value="" type="text"></td>
<td><input class="mCharge" value="" type="text"></td>
<td><input class="amount" value="" type="text"></td>
<td>
<span data-id="rec_1" class="delete_row glyphicon glyphicon-remove"></span>
<!-- <input type="hidden" name="form_inc" value="1"> -->
</td>
</tr>
</tbody>
</table>
</form>
<div class="total col-md-12">
<div class="">
<p class="totalCol">Net Amount:</p>
<p class="sgst">SGST:1.5%</p>
<p class="cgst">CGST:1.5%</p>
<p class="sumTotal">Total:<span></span><p>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12 col-sm-12 col-xs-12">
<button type="button" data-id="1" id="new_row" class="btn btn-warning">Add</button>
<button class="btn btn-info " id="print">Print</button>
</div>
<!-- //Main Container -->
</div>
<!--footer section start-->
<?php
footer();
?>
<!--footer section end-->
</div>
</div>
<!--//content-inner-->
<?php
sideBar();
?>
<div class="clearfix"></div>
</div>
<script>
var toggle = true;
$(".sidebar-icon").click(function() {
if (toggle)
{
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"});
}
else
{
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
}
toggle = !toggle;
});
</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>