示例#1
0
 def finish_finishing(self, finishing_id):
     """Mark this order's finishing as ended."""
     quote_id = self.get_quote_id()
     try:
         QuoteController.finish_finishing(quote_id, finishing_id)
     except AttributeError as err:
         raise AttributeError(err)
示例#2
0
 def get_finishings(self, is_started=None, is_finished=None):
     """Return the list of finishings associated with this Order."""
     quote_id = self.get_quote_id()
     return QuoteController.get_finishings(
         quote_id,
         is_started,
         is_finished)
示例#3
0
 def get_paper(self):
     """Return the paper associated with this Order."""
     quote_id = self.get_quote_id()
     return QuoteController.get_paper(quote_id)
示例#4
0
 def get_materials(self):
     """Return the list of materials associated with this Order."""
     quote_id = self.get_quote_id()
     return QuoteController.get_materials(quote_id)
示例#5
0
 def get_executive(self):
     """Return the executive associated with this Order."""
     quote_id = self.get_quote_id()
     return QuoteController.get_executive(quote_id)
示例#6
0
 def get_client(self):
     """Return the client associated with this Order."""
     quote_id = self.get_quote_id()
     return QuoteController.get_client(quote_id)