Updates to order screen

This commit is contained in:
2022-01-04 15:04:55 +10:00
parent 4de8f20d00
commit 85722fa692
21 changed files with 720 additions and 242 deletions

View File

@@ -1,9 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>DredgePOS</title>
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://unpkg.com/current-device/umd/current-device.min.js"></script>
<title>DredgePOS</title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name = "viewport" content = "user-scalable = no ,shrink-to-fit=yes" />
<link rel="manifest" href="/manifest.webmanifest">
@@ -12,13 +10,24 @@
<div id="pageContainer">
<div id="leftColumn">
<h1 class="tableHeading"><!--[lang:active_table]--></h1>
<h1 class="tableHeading"><!--[var: orderNumber]--></h1>
<div class="tableInfo">
<a href="#" class="posButton"><!--[lang:covers]--></a>
<a class="posHeader">Logged in as <!--[arr:clerk|clerk_name]--></a></a>
<!--[var: coverSelectorButton]-->
<a class="posButton">Logged in as <!--[arr:clerk|clerk_name]--></a>
</div>
<div class="orderBox">
<table class="orderBoxTable">
<thead>
<tr>
<th class="orderBoxCell qtyCell"><!--[lang:qty_header]--></th>
<th class="orderBoxCell itemCell"><!--[lang:item_header]--></th>
<th class="orderBoxCell unitPriceCell hidden"><!--[lang:price_header]--></th>
<th class="orderBoxCell totalPriceCell"><!--[lang:total_price_header]--></th>
<th class="orderBoxCell printGroupCell"><!--[lang:printgroup_header]--></th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<div class="orderBoxInfo"></div>
<div class="orderBoxFooter">
@@ -44,8 +53,8 @@
</div>
<div class="functionColumn">
<a class="posButton"></a>
<a class="posButton"></a>
<a class="posButton voidButton"><!--[lang:void]--></a>
<a class="posButton accumulateButton" data-active-in-mode="accumulate"><!--[lang:accumulate_function]--></a>
<a class="posButton voidButton" data-active-in-mode="void"><!--[lang:void]--></a>
<a class="posButton"></a>
</div>
<div class="functionColumn"></div>
@@ -55,8 +64,8 @@
<div id="pageList">
<!--[var:categoryList]-->
</div>
<div id="pageContainer">
<!--[var:pageGroups]-->
<div id="pageGroupContainer">
<!--[var:pageGroups]-->
</div>
<div class="pageNavigation">
<a class="posButton prevButton"><!--[lang:prev_page]--></a>

View File

@@ -1 +1 @@
<span class="buttonImg" style="background-image:url(images/items/<!--[var:image]-->);"></span>
<span class="buttonImg" style="background-image:url(/images/items/<!--[var:image]-->);"></span>

View File

@@ -0,0 +1 @@
<a href="#" class="posButton coverSelector"><!--[var:covers]--></a>