Merge pull request #9318 from saunmanoj888/translation-missing-order-cycle-status

Add translation for order-cycle-status on new order creation from admin
This commit is contained in:
Filipe
2022-07-01 12:03:45 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ angular.module("admin.orders").controller "orderCtrl", ($scope, shops, orderCycl
$scope.distributor_id && $scope.order_cycle_id
for oc in $scope.orderCycles
oc.name_and_status = "#{oc.name} (#{oc.status})"
oc.name_and_status = "#{oc.name} (#{t("admin.order_cycles.status.#{oc.status}")})"
for shop in $scope.shops
shop.disabled = !$scope.distributorHasOrderCycles(shop)

View File

@@ -1228,6 +1228,11 @@ en:
msg: This order cycle is linked to %{n} open subscription orders. Changing this date now will not affect any orders which have already been placed, but should be avoided if possible. Are you sure you want to proceed?
cancel: Cancel
proceed: Proceed
status:
undated: undated
upcoming: upcoming
open: open
closed: closed
producer_properties:
index:
title: Producer Properties