Fixed all known bugs; Modified the menu to hide; Fixed the tables to scroll with a fixed header.

This commit is contained in:
Wynne Crisman
2017-10-20 14:54:58 -07:00
parent 83e8268375
commit f848ea9a8f
34 changed files with 1019 additions and 821 deletions

View File

@@ -36,18 +36,6 @@
<div class="listCell">
<div class="tableContainer mCustomScrollbar" data-mcs-theme="dark">
<table class="table table-striped table-hover">
<thead>
<tr>
<th class="amount"></th>
<th class="product"></th>
<th class="price"></th>
<th class="measure"></th>
<th class="saleDate"></th>
<th class="createdDate"></th>
<th class="venue"></th>
<th class="actions"></th>
</tr>
</thead>
<tbody>
{{#if displayNewSale}}
{{> InsertSale}}
@@ -71,14 +59,14 @@
<template name="Sale">
<tr>
<td class="tdLarge noselect nonclickable center">{{amount}}</td>
<td class="tdLarge noselect nonclickable left">{{productName productId}}</td>
<td class="tdLarge noselect nonclickable left">{{formatPrice price}}{{#if showTotalPrice amount}} ({{formatTotalPrice price amount}}){{/if}}</td>
<td class="tdLarge noselect nonclickable left">{{measureName measureId}}</td>
<td class="tdLarge noselect nonclickable left">{{formatDateAndWeek date}}</td>
<td class="tdLarge noselect nonclickable left">{{formatDateTime createdAt}}</td>
<td class="tdLarge noselect nonclickable left">{{venueName venueId}}</td>
<td class="tdLarge noselect left"><i class="fa fa-pencil-square-o fa-lg actionEdit noselect clickable" title="Edit" aria-hidden="true"></i> <i class="fa fa-commenting fa-lg editComment noselect clickable {{commentClass}}" aria-hidden="true"></i> <i class="fa fa-times-circle fa-lg saleRemove noselect clickable" aria-hidden="true"></i></td>
<td class="amount tdLarge noselect nonclickable center">{{amount}}</td>
<td class="product tdLarge noselect nonclickable left">{{productName productId}}</td>
<td class="price tdLarge noselect nonclickable left">{{formatPrice price}}{{#if showTotalPrice amount}} ({{formatTotalPrice price amount}}){{/if}}</td>
<td class="measure tdLarge noselect nonclickable left">{{measureName measureId}}</td>
<td class="saleDate tdLarge noselect nonclickable left">{{formatDateAndWeek date weekOfYear}}</td>
<td class="createdDate tdLarge noselect nonclickable left">{{formatDateTime createdAt}}</td>
<td class="venue tdLarge noselect nonclickable left">{{venueName venueId}}</td>
<td class="actions tdLarge noselect left"><i class="fa fa-pencil-square-o fa-lg actionEdit noselect clickable" title="Edit" aria-hidden="true"></i> <i class="fa fa-commenting fa-lg editComment noselect clickable {{commentClass}}" aria-hidden="true"></i> <i class="fa fa-times-circle fa-lg saleRemove noselect clickable" aria-hidden="true"></i></td>
</tr>
</template>
@@ -115,7 +103,7 @@
<template name="InsertSale">
<tr>
<td colspan="8">
<form class="insertSaleForm" autocomplete="off">
<form name="insertSaleForm" class="insertSaleForm" autocomplete="off">
<div class="grid">
<div class="col-4-12">
<div class="formGroupHeading">New Sale</div>