Subversion Repositories SmartDukaan

Rev

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

Rev 7252 Rev 7253
Line 233... Line 233...
233
        type_string = "<Type>RechargeSale</Type>"
233
        type_string = "<Type>RechargeSale</Type>"
234
        amount_string = "<GrossRechargeAmount>" + str(rc.grossAmount) + "</GrossRechargeAmount><Discount>" + str(rc.discount) +  "</Discount><NetCollection>" + str(rc.netCollection) + "</NetCollection>";
234
        amount_string = "<GrossRechargeAmount>" + str(rc.grossAmount) + "</GrossRechargeAmount><Discount>" + str(rc.discount) +  "</Discount><NetCollection>" + str(rc.netCollection) + "</NetCollection>";
235
                
235
                
236
        #SaholicRechargeSaleTransfer(string Store, int ReconDate, decimal Cash, decimal Hdfc, string Type, decimal GrossRechargeAmount, decimal Discount, decimal NetCollection)
236
        #SaholicRechargeSaleTransfer(string Store, int ReconDate, decimal Cash, decimal Hdfc, string Type, decimal GrossRechargeAmount, decimal Discount, decimal NetCollection)
237
        
237
        
238
        conn = httplib.HTTPConnection("182.71.104.182")
238
        conn = httplib.HTTPConnection("182.71.104.186")
239
        XML="""
239
        XML="""
240
        <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
240
        <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
241
          <soap:Body>
241
          <soap:Body>
242
            <SaholicRechargeSaleTransfer xmlns="http://tempuri.org/">
242
            <SaholicRechargeSaleTransfer xmlns="http://tempuri.org/">
243
        """
243
        """