feat: add remote products and qr code for payconic
This commit is contained in:
@@ -50,10 +50,10 @@ extension StockQueries on AppDatabase {
|
||||
);
|
||||
}
|
||||
|
||||
/// Queues a `stock_set` event, so a stock count or tracking change made on
|
||||
/// this tablet reaches the server. Call it inside the transaction that
|
||||
/// writes the stock.
|
||||
Future<void> queueStockSet(TabEvent event) async {
|
||||
/// Queues an event that is not about a tab (a stock count, a product
|
||||
/// change) in the outbox. Call it inside the transaction that makes the
|
||||
/// change, so the change and its event are stored together.
|
||||
Future<void> queueEvent(TabEvent event) async {
|
||||
await into(tabEvents).insert(
|
||||
TabEventsCompanion.insert(
|
||||
id: event.id,
|
||||
|
||||
Reference in New Issue
Block a user