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