diff --git a/backend/lcfs/web/api/fuel_supply/schema.py b/backend/lcfs/web/api/fuel_supply/schema.py index 60592dffe..134b87968 100644 --- a/backend/lcfs/web/api/fuel_supply/schema.py +++ b/backend/lcfs/web/api/fuel_supply/schema.py @@ -117,7 +117,7 @@ class FuelSupplyCreateUpdateSchema(BaseSchema): compliance_period: Optional[str] = None fuel_type_id: int fuel_category_id: int - end_use_id: Optional[int] = None + end_use_id: int provision_of_the_act_id: int quantity: int units: str diff --git a/frontend/src/assets/locales/en/fuelSupply.json b/frontend/src/assets/locales/en/fuelSupply.json index 92ed0968f..15ba14b59 100644 --- a/frontend/src/assets/locales/en/fuelSupply.json +++ b/frontend/src/assets/locales/en/fuelSupply.json @@ -16,7 +16,7 @@ "fuelType": "Fuel type", "fuelTypeOther": "Fuel type other", "fuelCategoryId": "Fuel category", - "endUse": "End use", + "endUseId": "End use", "provisionOfTheActId": "Determining carbon intensity", "fuelCode": "Fuel code", "quantity": "Quantity supplied", @@ -33,4 +33,4 @@ "validateMsg": { "isRequired": "{{field}} is required" } -} +} \ No newline at end of file diff --git a/frontend/src/views/FuelSupplies/_schema.jsx b/frontend/src/views/FuelSupplies/_schema.jsx index ba1b52df9..1d59a83a0 100644 --- a/frontend/src/views/FuelSupplies/_schema.jsx +++ b/frontend/src/views/FuelSupplies/_schema.jsx @@ -193,7 +193,7 @@ export const fuelSupplyColDefs = (optionsData, errors, warnings) => [ { field: 'endUseType', headerComponent: RequiredHeader, - headerName: i18n.t('fuelSupply:fuelSupplyColLabels.endUse'), + headerName: i18n.t('fuelSupply:fuelSupplyColLabels.endUseId'), cellEditorParams: (params) => ({ options: [ ...new Set(