Purchase return entry not linked for voucher edit.
This commit is contained in:
parent
a4d8ae3c6a
commit
cbb004e922
@ -236,6 +236,8 @@ def get_edit_url(request, voucher):
|
||||
return request.route_url('payment_id', id=voucher.id)
|
||||
elif voucher.type == 5:
|
||||
return request.route_url('receipt_id', id=voucher.id)
|
||||
elif voucher.type == 6:
|
||||
return request.route_url('purchase_return_id', id=voucher.id)
|
||||
elif voucher.type == 12:
|
||||
return request.route_url('salary_deduction_id', id=voucher.id)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user