Skip to content

Commit

Permalink
tweak fc admin (#4160)
Browse files Browse the repository at this point in the history
  • Loading branch information
domdinicola authored Aug 26, 2024
1 parent 6a528fa commit e79542a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions backend/hct_mis_api/apps/erp_datahub/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ class FundsCommitmentAdmin(HOPEModelAdminBase):
)
date_hierarchy = "create_date"
form = FundsCommitmentAddForm
search_fields = ("rec_serial_number", "vendor_id", "wbs_element", "funds_commitment_number")

@atomic(using="cash_assist_datahub_erp")
@atomic(using="default")
Expand Down
1 change: 1 addition & 0 deletions backend/hct_mis_api/apps/mis_datahub/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def household(self, button: button) -> Optional[str]:
@admin.register(FundsCommitment)
class FundsCommitmentAdmin(HUBAdminMixin):
filters = (BusinessAreaFilter,)
search_fields = ("rec_serial_number", "vendor_id", "wbs_element", "funds_commitment_number")


@admin.register(DownPayment)
Expand Down

0 comments on commit e79542a

Please sign in to comment.