Skip to content

Commit

Permalink
Merge pull request #4670 from lit-poks/fix/distribution-enum-state-to…
Browse files Browse the repository at this point in the history
…-status

Change State to Status on Distribution Table
  • Loading branch information
cielf authored Oct 6, 2024
2 parents 8097b9b + d07bbab commit 2b6ee74
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/services/exports/export_distributions_csv_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def base_table
"Shipping Cost" => ->(distribution) {
distribution_shipping_cost(distribution.shipping_cost)
},
"State" => ->(distribution) {
"Status" => ->(distribution) {
distribution.state
},
"Agency Representative" => ->(distribution) {
Expand Down
2 changes: 1 addition & 1 deletion app/views/distributions/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<th>Delivery Method</th>
<th>Shipping Cost</th>
<th>Comments</th>
<th>State</th>
<th>Status</th>
<th class="text-right" style="width: 400px">Actions</th>
</tr>
</thead>
Expand Down
2 changes: 1 addition & 1 deletion app/views/distributions/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<th>Delivery method:</th>
<th>Shipping cost:</th>
<th>Comments:</th>
<th>State:</th>
<th>Status:</th>
</tr>
</thead>
<tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"Total Value",
"Delivery Method",
"Shipping Cost",
"State",
"Status",
"Agency Representative",
"Comments"
]
Expand Down

0 comments on commit 2b6ee74

Please sign in to comment.