-
Notifications
You must be signed in to change notification settings - Fork 0
/
torn.php
138 lines (109 loc) · 3.65 KB
/
torn.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
<?php include "php/inc/header.inc.php" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=$language;?>" lang="<?=$language;?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $Text['global_title'] . " - " . $Text['head_ti_torn']; ?></title>
<link rel="stylesheet" type="text/css" media="screen" href="css/aixada_main.css" />
<link rel="stylesheet" type="text/css" media="screen" href="js/fgmenu/fg.menu.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/ui-themes/<?=$default_theme;?>/jqueryui.css"/>
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jqueryui/jqueryui.js"></script>
<?php echo aixada_js_src(); ?>
<script type="text/javascript">
$(function(){
$.ajaxSetup({ cache: false });
$('button')
.button()
.click(function(e){
var btnId = $(this).attr('id');
switch(btnId){
case 'btn_nav_validate':
window.location.href = "validate.php";
break;
case 'btn_nav_revise':
window.location.href = "manage_orders.php?filter=ordersForToday&lastPage=torn.php";
break;
case 'btn_nav_cash':
window.location.href = "manage_money.php";
break;
case 'btn_nav_stock':
window.location.href = "manage_stock.php";
break;
case 'btn_nav_orders':
window.location.href = "manage_orders.php?filter=nextWeek&lastPage=torn.php";
break;
case 'btn_nav_stats':
window.location.href = "report_torn.php";
break;
}
});
}); //close document ready
</script>
</head>
<body>
<div id="wrap">
<div id="headwrap">
<?php include "php/inc/menu.inc.php" ?>
</div>
<!-- end of headwrap -->
<div id="stagewrap">
<div class="aix-layout-center60 ui-widget">
<div class="aix-style-entry-widget">
<table>
<tr>
<td>
<button class="aix-layout-fixW150" id="btn_nav_validate"><?php echo $Text['nav_wiz_validate']; ?></button>
</td>
<td><p><?php echo $Text['desc_validate']; ?></p></td>
</tr>
</table>
</div>
<div class="aix-style-entry-widget">
<h2><?php echo $Text['primer_torn'];?></h2>
<table>
<tr>
<td>
<button class="aix-layout-fixW150" id="btn_nav_revise"><?php echo $Text['nav_wiz_revise_order']; ?></button>
</td>
<td><p><?php echo $Text['desc_revise']; ?></p></td>
</tr>
<tr>
<td>
<button class="aix-layout-fixW150" id="btn_nav_cash"><?php echo $Text['nav_wiz_cashbox']; ?></button>
</td>
<td><p><?php echo $Text['desc_cashbox']; ?></p></td>
</tr>
</table>
</div>
<div class="aix-style-entry-widget">
<h2><?php echo $Text['segon_torn']; ?></h2>
<table>
<tr>
<td>
<button class="aix-layout-fixW150" id="btn_nav_stock"><?php echo $Text['nav_mng_stock']; ?></button>
</td>
<td><p><?php echo $Text['desc_stock']; ?></p></td>
</tr>
<tr>
<td>
<button class="aix-layout-fixW150" id="btn_nav_orders"><?php echo $Text['nav_mng_orders']; ?></button>
</td>
<td><p><?php echo $Text['desc_print_orders']; ?></p></td>
</tr>
<tr>
<td>
<button class="aix-layout-fixW150" id="btn_nav_stats"><?php echo $Text['nav_report_status']; ?></button>
</td>
<td><p><?php echo $Text['desc_stats']; ?></p></td>
</tr>
</table>
</div>
</div>
<!-- end of stage wrap -->
</div>
</div>
<!-- end of wrap -->
<!-- / END -->
</body>
</html>