Skip to content

Commit

Permalink
BAH-3752 | Refactor. Use ordered date for purchase order register dat…
Browse files Browse the repository at this point in the history
…e field (#158)
  • Loading branch information
mohan-13 authored Apr 24, 2024
1 parent 9952415 commit 12e2ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bahmni_reports/report/purchase_order_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def print_report(self):
'tax_type': rec.tax_type,
'po_details': [{
'po_no': po_details.name,
'date': po_details.date_approve.strftime("%d/%m/%Y"),
'date': po_details.date_order.strftime("%d/%m/%Y"),
'supplier_ref': po_details.partner_ref if po_details.partner_ref else '-',
'vendor_name': po_details.partner_id.name,
'product_details': [{
Expand Down

0 comments on commit 12e2ddb

Please sign in to comment.