Add Date in Cashier's Dashboard and remove no need breadcrumb
This commit is contained in:
@@ -493,7 +493,6 @@
|
||||
jQuery('.first_'+id).click();
|
||||
});
|
||||
$(document).ready(function () {
|
||||
setHeaderBreadCrumb(_ADD_ORDER_);
|
||||
$(".tables").on('click', function () {
|
||||
$('.tables').css('background-color','');
|
||||
$('.tables').removeClass('purple')
|
||||
|
||||
@@ -56,9 +56,6 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
setHeaderBreadCrumb(_CASH_IN_);
|
||||
});
|
||||
var payment_method = "";
|
||||
$('.payment-type').on('click',function(){
|
||||
$('.payment-type').css("background-color","#7a62d3")
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
<h1>CashMgmt#new</h1>
|
||||
<p>Find me in app/views/cash_mgmt/new.html.erb</p>
|
||||
$(document).ready(function () {
|
||||
setHeaderBreadCrumb(_CASH_MGMT_);
|
||||
});
|
||||
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
setHeaderBreadCrumb(_CASH_OUT_);
|
||||
});
|
||||
$('#cash_out').on('click',function(){
|
||||
var reference = $('#reference').val();
|
||||
var remark = $('#remark').val();
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<div class="container-fluid">
|
||||
<div class="block-header">
|
||||
<h2><%= t :dashboard %></h2>
|
||||
<!-- <h2><%= t :dashboard %></h2> -->
|
||||
<h2><%= t :date_time %> : <%= Time.zone.now.utc.getlocal.strftime("%Y-%m-%d %I:%M %p") %></h2>
|
||||
</div>
|
||||
<% if @print_settings.precision.to_i > 0
|
||||
precision = @print_settings.precision
|
||||
@@ -191,11 +192,6 @@
|
||||
</div>
|
||||
<button type="button" data-href="<%=origami_second_display_index_path%>" target="_blank" id="second_view" class="btn action-btn bg-blue waves-effect second_view hidden" style="height: 45px">Customer View</button>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
setHeaderBreadCrumb(_DASHBOARD_);
|
||||
});
|
||||
|
||||
|
||||
|
||||
$(".cashier_view").on('click', function() {
|
||||
window.location.href = '/origami';
|
||||
|
||||
@@ -139,7 +139,6 @@
|
||||
<!-- Column One -->
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
setHeaderBreadCrumb(_CASHIER_);
|
||||
$(".tables").on('click', function(){
|
||||
var dining_id = $(this).attr("data-id");
|
||||
window.location.href = '/origami/table/' + dining_id;
|
||||
|
||||
@@ -543,7 +543,6 @@
|
||||
<script>
|
||||
var cashier_type = "cashier";
|
||||
$(document).ready(function () {
|
||||
setHeaderBreadCrumb(_TABLE_);
|
||||
/* start check first bill or not*/
|
||||
var receipt_no = "";
|
||||
if(($("#receipt_no").html()!=undefined) && ($("#receipt_no").html()!="")){
|
||||
|
||||
@@ -166,7 +166,6 @@
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
setHeaderBreadCrumb(_MOVE_ROOM_);
|
||||
$(".tables").on('click', function(){
|
||||
$('.tables').removeClass('selected-item');
|
||||
$(this).addClass('selected-item');
|
||||
|
||||
@@ -284,7 +284,6 @@ end
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
setHeaderBreadCrumb(_MOVE_TABLE_);
|
||||
$(".tables").on('click', function(){
|
||||
$('.tables').removeClass('selected-item');
|
||||
$(this).addClass('selected-item');
|
||||
|
||||
@@ -253,7 +253,6 @@
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
setHeaderBreadCrumb(_ORDERS_);
|
||||
$(".tables").on('click', function(){
|
||||
var dining_id = $(this).attr("data-id");
|
||||
window.location.href = '/origami/table/' + dining_id;
|
||||
|
||||
@@ -39,9 +39,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
setHeaderBreadCrumb(_PENDING_ORDER_);
|
||||
});
|
||||
cashier_type = "quick_service"
|
||||
$(".sales").on('click',function(){
|
||||
var sale_id = $(this).attr("data-id");
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
setHeaderBreadCrumb(_PRODUCT_COMMISSIONS_);
|
||||
setHeaderBreadCrumb(_COMMISSIONS_);
|
||||
var selected_sale_item = 0;
|
||||
|
||||
$('.sale_item').on('click', function () {
|
||||
|
||||
@@ -82,7 +82,6 @@
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
setHeaderBreadCrumb(_ROOM_INVOICES_);
|
||||
$(".tables").on('click', function(){
|
||||
var dining_id = $(this).attr("data-id");
|
||||
window.location.href = '/origami/table/<%= @room.id %>/table_invoice/' + dining_id;
|
||||
|
||||
@@ -484,7 +484,6 @@
|
||||
<script>
|
||||
var cashier_type = "cashier";
|
||||
$(document).ready(function(){
|
||||
setHeaderBreadCrumb(_ROOM_);
|
||||
// $(".tables").on('click', function(){
|
||||
// var customer_id=$(".customer-id").text();
|
||||
// show_customer_details(customer_id);
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
setHeaderBreadCrumb(_SECOND_DISPLAY_);
|
||||
$('#s_reload').on('click', function () {
|
||||
window.location.href = '/origami/second_display';
|
||||
});
|
||||
|
||||
@@ -58,9 +58,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
setHeaderBreadCrumb(_CLOSE_CASHIER_);
|
||||
});
|
||||
$('#close_cashier').on('click',function(){
|
||||
var amount = $('#closing_balance_amount').val();
|
||||
var shift_id = "<%= @shift.id rescue ""%>"
|
||||
|
||||
@@ -82,7 +82,6 @@
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
setHeaderBreadCrumb(_TABLE_INVOICE_);
|
||||
$(".tables").on('click', function(){
|
||||
var dining_id = $(this).attr("data-id");
|
||||
window.location.href = '/origami/table/<%= @table.id %>/table_invoice/' + dining_id;
|
||||
|
||||
@@ -212,7 +212,6 @@
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
setHeaderBreadCrumb(_TABLE_INVOICE_);
|
||||
$(".tables").on('click', function(){
|
||||
var dining_id = $(this).attr("data-id");
|
||||
window.location.href = '/origami/table/<%= @table.id %>/table_invoice/' + dining_id;
|
||||
|
||||
Reference in New Issue
Block a user