Skip to content

Commit

Permalink
chore: remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AyshaHakeem committed Jan 30, 2025
1 parent c141c7d commit 81defcc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions hrms/hr/doctype/expense_claim/expense_claim.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,12 +614,6 @@ def make_expense_claim_for_delivery_trip(source_name, target_doc=None):
return doc


# // amke below fucntion reusable basef on wht is passed, if only unclaimed and return_amt is pased, return unclaimed - returne_amt else paid_amount - (claimed_amount + return_amount)
# @frappe.whitelist()
# def get_allocation_amount(paid_amount, claimed_amount, return_amount):
# return paid_amount - (claimed_amount + return_amount)


@frappe.whitelist()
def get_allocation_amount(paid_amount=None, claimed_amount=None, return_amount=None, unclaimed_amount=None):
if unclaimed_amount is not None and return_amount is not None:
Expand Down

0 comments on commit 81defcc

Please sign in to comment.