-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetVATandNBT.php
executable file
·87 lines (81 loc) · 3.89 KB
/
setVATandNBT.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
<?php
require_once './include/MainConfig.php';
include './config/dbc.php';
?>
<!DOCTYPE html>
<html>
<head>
<title>Banks</title>
<meta charset="UTF-8">
<?php require_once './include/systemHeader.php'; ?>
</head>
<body>
<div id="wrap">
<?php require_once './include/navBar.php'; ?>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="page-header">
<h2>Vat And NBT</h2>
</div>
<div class="row">
<div class="col-md-5">
<div class="form-horizontal">
<input type="hidden" id="bankID">
<div class="form-group">
<label class="col-lg-4 control-label">Vat</label>
<div class="col-lg-6">
<input type="text" id="vatval" class="form-control" placeholder="VAT" required>
<button class="btn btn-success" id="changevat"><i class="fa fa-save fa-lg"></i> Change VAT</button>
</div>
</div>
<div class="form-group">
<label class="col-lg-4 control-label">NBT</label>
<div class="col-lg-4">
<input type="text" id="nbtval" class="form-control" placeholder="NBT" required>
<button class="btn btn-success" id="changeNbt"><i class="fa fa-save fa-lg"></i> Change NBT</button>
</div>
</div>
</div>
</div>
<div class="col-lg-7">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Available Values</h3>
</div>
<div class="scrollable" style="height: 100px; overflow-y: auto">
<table class="table table-bordered table-striped table-hover vatnbttbl" id="">
<thead>
<tr>
<th>VAT</th>
<th>NBT</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php // require_once './include/footerBar.php'; ?>
<?php require_once './include/systemFooter.php'; ?>
</body>
<script type="text/javascript">
$(function() {
$('#logout').click(function() {
logout();
});
loadvatnbt();
$('#changevat').click(function() {
chsngeVat();
});
$('#changeNbt').click(function() {
chsngenbt();
});
});
</script>
</html>