public int[] getTotalImportBySyncStatus(DateTime pDate, long pGroup, long pSyncStatus) { return(this.listRepository.getDrawListTotals(UtilityService.getPointSaleId(), pDate, pGroup, pSyncStatus)); }
public int[] getDrawPendingSyncTotals(DateTime pDate, long pGroup) { return(this.listRepository.getDrawListTotals(UtilityService.getPointSaleId(), pDate, pGroup, 0, true)); }
public static string getGlobalId(long pId) { return(UtilityService.fillNumberString(UtilityService.getPointSale().LPS_Id.ToString(), 2) + UtilityService.fillNumberString(pId.ToString(), 4)); }
public static string formatSecondsToMinutes(int pSeconds) { int minutes = pSeconds / 60; int seconds = pSeconds % 60; string timeInMinutes = UtilityService.fillNumberString(minutes.ToString(), 2) + ":" + UtilityService.fillNumberString(seconds.ToString(), 2); return(timeInMinutes); //return pSeconds / 60 + ":" + ((pSeconds % 60) >= 10 ? (pSeconds % 60).ToString() : "0" + pSeconds % 60); }
public LPF_LotteryPrizeFactor getByGroup(long pGroup) { return(this.prizeFactorRepo.getByPointSaleAndGroup(UtilityService.getPointSaleId(), pGroup)); }