Beispiel #1
0
 public static void removeLocalData(Context ctx) {
   Data.Receipt.clear(ctx);
   CloseCash.closeCashNoMatterWhat(ctx);
   CashArchive.clear(ctx);
 }
Beispiel #2
0
 public static boolean hasCashOpened(Context ctx) {
   return (Data.Receipt.getReceipts(ctx).size() > 0) || Data.Cash.dirty;
 }