Subversion Repositories SmartDukaan

Rev

Rev 1886 | Rev 2536 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1886 Rev 2446
Line 138... Line 138...
138
    """
138
    """
139
    pass
139
    pass
140
 
140
 
141
  def addJacketNumber(self, orderId, jacketNumber):
141
  def addJacketNumber(self, orderId, jacketNumber):
142
    """
142
    """
-
 
143
    Adds jacket number and IMEI no. to the order. Doesn't update the IMEI no. if a -1 is supplied.
-
 
144
    Also marks the order as billed and sets the billing timestamp.
143
    Adds jacket number to the order. Return false if it doesn't find the order with the given ID.
145
    Return false if it doesn't find the order with the given ID.
144
    
146
    
145
    Parameters:
147
    Parameters:
146
     - orderId
148
     - orderId
147
     - jacketNumber
149
     - jacketNumber
148
    """
150
    """
Line 842... Line 844...
842
      raise result.ex
844
      raise result.ex
843
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBillingDetails failed: unknown result");
845
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBillingDetails failed: unknown result");
844
 
846
 
845
  def addJacketNumber(self, orderId, jacketNumber):
847
  def addJacketNumber(self, orderId, jacketNumber):
846
    """
848
    """
-
 
849
    Adds jacket number and IMEI no. to the order. Doesn't update the IMEI no. if a -1 is supplied.
-
 
850
    Also marks the order as billed and sets the billing timestamp.
847
    Adds jacket number to the order. Return false if it doesn't find the order with the given ID.
851
    Return false if it doesn't find the order with the given ID.
848
    
852
    
849
    Parameters:
853
    Parameters:
850
     - orderId
854
     - orderId
851
     - jacketNumber
855
     - jacketNumber
852
    """
856
    """