- 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:
Aung Phyo Thant
2025-01-16 14:16:30 +06:30
parent 2350d10f70
commit f368295dea
4 changed files with 43 additions and 9 deletions

View File

@@ -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;
}
}