-
Notifications
You must be signed in to change notification settings - Fork 0
/
billing_step1.php
168 lines (163 loc) · 8.25 KB
/
billing_step1.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
161
162
163
164
165
166
167
168
<!DOCTYPE html> <!-- CLEANED -->
<?php
require('php/functions.php');
?>
<html lang="en">
<head>
<title>Timaflu - Billing</title>
<link rel="stylesheet" type="text/css" href="css/stylesheet.css"/>
<link rel="stylesheet" type="text/css" href="css/top.css"/>
<link rel="stylesheet" type="text/css" href="css/form.css" />
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/message.css">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<!-- <link href="css/stylesheet.css" rel="stylesheet" type="text/css"> -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script src="js/main.js"></script>
<script src="js/charts.js"></script>
<script src="js/sorttable.js"></script>
<script type="text/javascript">
function SelectOrder(el) {
var id = $(el).attr('id');
$.ajax({
type: 'post',
data: {selectorder: ' ', id: id},
url: "/php/ajax.php",
success: function(result){
window.location.href = "billing_stepA1.php";
}});
};
</script>
</head>
<body>
<div id="main">
<header class="top">
<div class="logo">TIMAFLU</div>
<div class="title">January 4th, 2018</div>
<ul class="menu">
<div class="dropdown"><!-- Needed for dropdown-content, so when hovering over it it keeps displaying -->
<a href="index.html">
<li><div class="profile-picture"></div><span>dr. B. Onderstal</span></li>
</a>
<ul class="dropdown-content">
<a href="index.html"><li><img src="img/logout.png"><span>Logout</span></li></a>
<a href="index.html"><li><img src="img/settings.png"><span>Settings</span></li></a>
</ul>
</div>
</ul>
</header>
<div class="container-main">
<header class="hero">
<ul class="items">
<a href="order.php">
<li>
<div class="notify"><div class="blinker green"></div></div>
<img src="img/neworder.png">
<span class="description">Create Order</span>
</li>
</a>
<a href="stock.php">
<li>
<div class="notify"><div class="blinker red"></div></div>
<img src="img/stock.png">
<span class="description">Stock</span>
</li>
</a>
<a href="billing_step1.php">
<li>
<div class="notify"><div class="blinker orange"></div></div>
<img src="img/invoice.png">
<span class="description">Billing</span>
</li>
</a>
<a href="purchase_step1.php">
<li>
<div class="notify"><div class="blinker red"></div></div>
<img src="img/purchase.png">
<span class="description">Purchase</span>
</li>
</a>
<a href="distribution_step1.html">
<li>
<div class="notify"><div class="blinker red"></div></div>
<img src="img/distr.png">
<span class="description">Distribution</span>
</li>
</a>
</ul>
</header>
<div class="main">
<div class="row">
<div class="cont9 card">
<header>
<h4 class="title">Order Display</h4>
<p class="description">Select an order to create a new invoice</p>
<div class="row">
<div class="cont10 card right content">
<input id='order_search_customer_name' class='cont12' type='text' placeholder='Customer Name'></input>
</div>
<div class="cont2 card right content">
<input id='order_search_order_id' class='cont12' type='text' placeholder='Order ID'></input>
</div>
</div>
</header>
<?php GetOrders('', '');?>
<footer>
<label>Previous</label>
<label><b>1</b></label>
<label>Next</label>
</footer>
</div>
<div class="cont3 card">
<header>
<h4 class="title">Outstanding amounts</h4>
<p class="description">Select a costumer to view invoices</p>
<div class="row">
<div class="cont12 card right content">
<input id='stock_search' class='cont12' type='text'></input>
</div>
</div>
</header>
<table class="stats sortable">
<col style="width:57%">
<col style="width:43%">
<thead>
<tr>
<th>Costumer name</th>
<th>Awaiting</th>
</tr>
</thead>
<tbody>
<tr>
<td>Alphega Apotheek De Betuwe</td>
<td><div class="switcher red"><span class="blinker">€ 723,83</span></div></td>
</tr>
<tr>
<td>SAL Apotheek Brandevoort</td>
<td><div class="switcher red"><span class="blinker">€ 2734,22</span></div></td>
</tr>
<tr OnClick="document.location='billing_stepB1.html'" style="cursor:pointer">
<td>BENU Apotheek Ghen heij</td>
<td><div class="switcher red"><span class="blinker">€ 6743,90</span></div></td>
</tr>
</tbody>
</table>
<footer>
<label>Previous</label>
<label><b>1</b></label>
<label>Next</label>
</footer>
</div>
</div>
<footer>
<label></label>
<label>Ⓒ 2017 | version 1.0 beta 6</label>
<label></label>
</footer>
</div>
</div>
</div>
</body>
</html>