Increase transaction history pagination limit to 1000 in PosDepartmentStep1MobileTransactionHistory.vue.
This commit is contained in:
+3
-1
@@ -112,7 +112,9 @@ const syncListTransactionHistory = async () => {
|
||||
'created_at-date_from': dateToday,
|
||||
'created_at-date_to': dateToday,
|
||||
'department_id': SessionUser.functions.getDepartmentIdFromUrl(),
|
||||
}, pagination: {page: 1, limit: 100}}).then((response) => {
|
||||
}, pagination: {
|
||||
page: 1, limit: 1000
|
||||
}}).then((response) => {
|
||||
console.warn('Synced list of transactions', response);
|
||||
liveTransactions.value = response;
|
||||
// Clear the transactions
|
||||
|
||||
Reference in New Issue
Block a user