Fixes
- Add shop name in second display - Slim scroll when order items are more than card's height - Add change tax audit
This commit is contained in:
@@ -90,7 +90,11 @@ App.checkin = App.cable.subscriptions.create('SecondDisplayViewChannel', {
|
||||
+'</td>'
|
||||
+'</tr>';
|
||||
$(".second_display_items tbody").append(row);
|
||||
|
||||
|
||||
//slim scroll
|
||||
var scrollContainer = $('#order-detail-slimscroll');
|
||||
scrollContainer.slimScroll({ scrollTo: scrollContainer[0].scrollHeight });
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -123,8 +127,10 @@ App.checkin = App.cable.subscriptions.create('SecondDisplayViewChannel', {
|
||||
+'</td>'
|
||||
+'</tr>';
|
||||
$(".second_display_items tbody").append(row);
|
||||
rowCount = rowCount + 1;
|
||||
|
||||
var scrollContainer = $('#order-detail-slimscroll');
|
||||
scrollContainer.slimScroll({ scrollTo: scrollContainer[0].scrollHeight });
|
||||
rowCount = rowCount + 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user