Esempio n. 1
0
 public int[] getTotalImportBySyncStatus(DateTime pDate, long pGroup, long pSyncStatus)
 {
     return(this.listRepository.getDrawListTotals(UtilityService.getPointSaleId(), pDate, pGroup, pSyncStatus));
 }
Esempio n. 2
0
 public int[] getDrawPendingSyncTotals(DateTime pDate, long pGroup)
 {
     return(this.listRepository.getDrawListTotals(UtilityService.getPointSaleId(), pDate, pGroup, 0, true));
 }
Esempio n. 3
0
 public static string getGlobalId(long pId)
 {
     return(UtilityService.fillNumberString(UtilityService.getPointSale().LPS_Id.ToString(), 2) + UtilityService.fillNumberString(pId.ToString(), 4));
 }
Esempio n. 4
0
        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);
        }
Esempio n. 5
0
 public LPF_LotteryPrizeFactor getByGroup(long pGroup)
 {
     return(this.prizeFactorRepo.getByPointSaleAndGroup(UtilityService.getPointSaleId(), pGroup));
 }