Skip to content

Commit

Permalink
fix(reports): require depots for stock changes
Browse files Browse the repository at this point in the history
Makes the depot field a required field for viewing the stock changes
report.

Closes #6154.
  • Loading branch information
jniles committed Jan 4, 2022
1 parent edd6afd commit 5f79ffb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ <h3 translate>REPORT.STOCK_CHANGES.TITLE</h3>
<!-- select depot -->
<bh-depot-select
depot-uuid="ReportConfigCtrl.reportDetails.depot_uuid"
on-select-callback="ReportConfigCtrl.onSelectDepot(depot)">
<bh-clear on-clear="ReportConfigCtrl.clear('depot_uuid')"></bh-clear>
on-select-callback="ReportConfigCtrl.onSelectDepot(depot)"
required="true">
</bh-depot-select>

<!-- preview -->
Expand Down

0 comments on commit 5f79ffb

Please sign in to comment.