Subversion Repositories SmartDukaan

Rev

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

Rev 15659 Rev 15660
Line 3770... Line 3770...
3770
            if storeOrder:
3770
            if storeOrder:
3771
                amount = -int(order.advanceAmount)
3771
                amount = -int(order.advanceAmount)
3772
            else:
3772
            else:
3773
                amount = -int(order.total_amount-order.gvAmount)
3773
                amount = -int(order.total_amount-order.gvAmount)
3774
            ts = order.refund_timestamp
3774
            ts = order.refund_timestamp
-
 
3775
        cash_int = 0
-
 
3776
        card_int = 0
3775
        if payment_mode == "Cash":
3777
        if payment_mode == "Cash":
3776
            cash_int = amount
3778
            cash_int = amount
3777
            card_int = 0
3779
            card_int = 0
3778
        if payment_mode == "Card":
3780
        if payment_mode == "Card":
3779
            cash_int = 0
3781
            cash_int = 0