Subversion Repositories SmartDukaan

Rev

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

Rev 20596 Rev 20805
Line 545... Line 545...
545
        type_string = "<Type>RechargeSale</Type>"
545
        type_string = "<Type>RechargeSale</Type>"
546
        amount_string = "<GrossRechargeAmount>" + str(rc.grossAmount) + "</GrossRechargeAmount><Discount>" + str(rc.discount) +  "</Discount><NetCollection>" + str(rc.netCollection) + "</NetCollection>";
546
        amount_string = "<GrossRechargeAmount>" + str(rc.grossAmount) + "</GrossRechargeAmount><Discount>" + str(rc.discount) +  "</Discount><NetCollection>" + str(rc.netCollection) + "</NetCollection>";
547
                
547
                
548
        #SaholicRechargeSaleTransfer(string Store, int ReconDate, decimal Cash, decimal Hdfc, string Type, decimal GrossRechargeAmount, decimal Discount, decimal NetCollection)
548
        #SaholicRechargeSaleTransfer(string Store, int ReconDate, decimal Cash, decimal Hdfc, string Type, decimal GrossRechargeAmount, decimal Discount, decimal NetCollection)
549
        
549
        
550
        conn = httplib.HTTPConnection("125.19.98.100")
550
        conn = httplib.HTTPConnection("14.141.109.13")
551
        XML="""
551
        XML="""
552
        <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/">
552
        <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/">
553
          <soap:Body>
553
          <soap:Body>
554
            <SaholicRechargeSaleTransfer xmlns="http://tempuri.org/">
554
            <SaholicRechargeSaleTransfer xmlns="http://tempuri.org/">
555
        """
555
        """