commit 5684d7380f6d16d9a42eaf69ec2ac2187f5d62cf
parent 71b8b2214dc1a78e6f0f9078811e852d0648c182
Author: srfsh <dev@srf.sh>
Date: Sun, 20 Nov 2022 23:03:04 +0300
Zenflows.VF.EconomicResource.Domain: add :previous_event to previous/2
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/zenflows/vf/economic_resource/domain.ex b/src/zenflows/vf/economic_resource/domain.ex
@@ -122,11 +122,11 @@ end
| :conforms_to | :accounting_quantity
| :onhand_quantity | :primary_accountable | :custodian
| :stage | :state | :current_location | :lot | :contained_in
- | :unit_of_effort)
+ | :unit_of_effort | :previous_event)
:: EconomicResource.t()
def preload(eco_res, x) when x in ~w[
images conforms_to primary_accountable custodian lot
- stage current_location contained_in unit_of_effort
+ stage current_location contained_in unit_of_effort previous_event
]a,
do: Repo.preload(eco_res, x)
def preload(eco_res, x) when x in ~w[accounting_quantity onhand_quantity]a,