feat: add selective_update event

This commit is contained in:
Herculino Trotta
2024-10-29 13:42:52 -03:00
parent 63b65afe75
commit b2be01b6b9

View File

@@ -149,7 +149,7 @@ def transaction_pay(request, transaction_id):
context={"transaction": transaction, **request.GET}, context={"transaction": transaction, **request.GET},
) )
response.headers["HX-Trigger"] = ( response.headers["HX-Trigger"] = (
f'{"paid" if new_is_paid else "unpaid"}, monthly_summary_update' f'{"paid" if new_is_paid else "unpaid"}, selective_update'
) )
return response return response