

def balance_due(self):
    if self.balance:
        b = self.balance
    else:
        b = Decimal('0.00')
    return moneyfmt(b)

dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/payment/modules/purchaseorder/models.py PurchaseOrder.balance_due/original