def tender_enquiryPeriod(self):
     endDate = calculate_business_date(self.tenderPeriod.endDate,
                                       -QUESTIONS_STAND_STILL)
     return EnquiryPeriod(
         dict(startDate=self.tenderPeriod.startDate,
              endDate=endDate,
              clarificationsUntil=calculate_business_date(
                  endDate, ENQUIRY_STAND_STILL_TIME, self, True)))
 def tender_enquiryPeriod(self):
     endDate = calculate_business_date(self.tenderPeriod.endDate,
                                       -QUESTIONS_STAND_STILL, self)
     return EnquiryPeriod(
         dict(startDate=self.tenderPeriod.startDate,
              endDate=endDate,
              invalidationDate=self.enquiryPeriod
              and self.enquiryPeriod.invalidationDate,
              clarificationsUntil=endDate))
Example #3
0
 def tender_enquiryPeriod(self):
     endDate = calculate_business_date(self.tenderPeriod.endDate,
                                       -ENQUIRY_PERIOD_TIME, self, True)
     return EnquiryPeriod(
         dict(startDate=self.tenderPeriod.startDate,
              endDate=endDate,
              invalidationDate=self.enquiryPeriod
              and self.enquiryPeriod.invalidationDate,
              clarificationsUntil=calculate_business_date(
                  endDate, ENQUIRY_STAND_STILL_TIME, self, True)))
 def initialize(self):
     endDate = calculate_business_date(self.tenderPeriod.endDate,
                                       -QUESTIONS_STAND_STILL, self)
     self.enquiryPeriod = EnquiryPeriod(
         dict(startDate=self.tenderPeriod.startDate,
              endDate=endDate,
              invalidationDate=self.enquiryPeriod
              and self.enquiryPeriod.invalidationDate,
              clarificationsUntil=calculate_business_date(
                  endDate, ENQUIRY_STAND_STILL_TIME, self, True)))
 def initialize(self):
     self.tenderPeriod.startDate = get_now()
     endDate = calculate_business_date(self.tenderPeriod.endDate, -QUESTIONS_STAND_STILL, self)
     self.enquiryPeriod = EnquiryPeriod(dict(startDate=self.tenderPeriod.startDate,
                                             endDate=endDate,
                                             invalidationDate=self.enquiryPeriod and self.enquiryPeriod.invalidationDate,
                                             clarificationsUntil=endDate))
     now = get_now()
     self.date = now
     if self.lots:
         for lot in self.lots:
             lot.date = now
Example #6
0
 def initialize(self):
     endDate = calculate_business_date(self.tenderPeriod.endDate,
                                       -ENQUIRY_PERIOD_TIME, self, True)
     self.enquiryPeriod = EnquiryPeriod(
         dict(startDate=self.tenderPeriod.startDate,
              endDate=endDate,
              invalidationDate=self.enquiryPeriod
              and self.enquiryPeriod.invalidationDate,
              clarificationsUntil=calculate_business_date(
                  endDate, ENQUIRY_STAND_STILL_TIME, self, True)))
     now = get_now()
     self.date = now
     if self.lots:
         for lot in self.lots:
             lot.date = now