Skip to content

Commit

Permalink
Fixed: removed unused methods and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
shanmukhdutt committed Feb 15, 2024
1 parent 7e433e1 commit aa6f623
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 24 deletions.
4 changes: 1 addition & 3 deletions src/components/ClosePurchaseOrderModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ import {
modalController
} from '@ionic/vue';
import { Actions, hasPermission } from '@/authorization'
import { closeOutline, checkmarkCircle, arrowBackOutline, saveOutline } from 'ionicons/icons';
import { arrowBackOutline, saveOutline } from 'ionicons/icons';
import { defineComponent } from 'vue';
import { mapGetters, useStore } from 'vuex'
import { OrderService } from "@/services/OrderService";
Expand Down Expand Up @@ -179,8 +179,6 @@ export default defineComponent({
return {
arrowBackOutline,
Actions,
closeOutline,
checkmarkCircle,
hasPermission,
OrderService,
productHelpers,
Expand Down
10 changes: 1 addition & 9 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"Authenticating": "Authenticating",
"Are you sure you have received the purchase order for the selected items? Once closed, the shipments for the selected items wont be available for receiving later.": "Are you sure you have received the purchase order for the selected items? { space } Once closed, the shipments for the selected items won't be available for receiving later.",
"Are you sure you want to change the time zone to?": "Are you sure you want to change the time zone to {timeZoneId}?",
"Arrival date": "Arrival date",
"Cancel": "Cancel",
"Change": "Change",
"Choosing a product identifier allows you to view products with your preferred identifiers.": "Choosing a product identifier allows you to view products with your preferred identifiers.",
Expand All @@ -19,7 +18,6 @@
"Copied": "Copied { value }",
"Close purchase order items": "Close purchase order items",
"eCom Store": "eCom Store",
"Enter a custom date time format that you want to use when uploading documents to HotWax Commerce.": "Enter a custom date time format that you want to use when uploading documents to HotWax Commerce.",
"External ID": "External ID",
"Facility": "Facility",
"Location": "Location",
Expand All @@ -28,7 +26,6 @@
"facility location": "facility location",
"Facility locations were not found corresponding to destination facility of return shipment. Please add facility locations to avoid receive return shipment failure.": "Facility locations were not found corresponding to destination facility of return shipment. Please add facility locations to avoid receive return shipment failure.",
"Go to Launchpad": "Go to Launchpad",
"Go to OMS": "Go to OMS",
"History": "History",
"Internal ID saved to clipboard": "Internal ID saved to clipboard",
"Inventory can be received for purchase orders in multiple shipments. Proceeding will receive a new shipment for this purchase order but it will still be available for receiving later": "Inventory can be received for purchase orders in multiple shipments. { space } Proceeding will receive a new shipment for this purchase order but it will still be available for receiving later",
Expand Down Expand Up @@ -59,7 +56,6 @@
"primary identifier": "primary identifier",
"Primary Product Identifier": "Primary Product Identifier",
"Proceed": "Proceed",
"Product not found": "Product not found",
"Product Identifier": "Product Identifier",
"Product identifier preference updated": "Product identifier preference updated",
"Purchase Order": "Purchase Order",
Expand Down Expand Up @@ -102,23 +98,19 @@
"Shipments": "Shipments",
"Shipments not found": "Shipments not found",
"Shipped": "Shipped",
"Shop eCommerce": "Shop eCommerce",
"Something went wrong": "Something went wrong",
"Something went wrong while login. Please contact administrator": "Something went wrong while login. Please contact administrator.",
"Sorry, your username or password is incorrect. Please try again.": "Sorry, your username or password is incorrect. Please try again.",
"Specify which facility you want to operate from. Order, inventory and other configuration data will be specific to the facility you select.": "Specify which facility you want to operate from. Order, inventory and other configuration data will be specific to the facility you select.",
"The timezone you select is used to ensure automations you schedule are always accurate to the time you select.": "The timezone you select is used to ensure automations you schedule are always accurate to the time you select.",
"There are no incoming shipments": "There are no incoming shipments",
"There are no purchase orders to receive": "There are no purchase orders to receive",
"There are no returns to receive": "There are no returns to receive",
"This is the name of the OMS you are connected to right now. Make sure that you are connected to the right instance before proceeding.": "This is the name of the OMS you are connected to right now. Make sure that you are connected to the right instance before proceeding.",
"This return has been and cannot be edited.": "This return has been {status} and cannot be edited.",
"Timezone": "Timezone",
"Time zone updated successfully": "Time zone updated successfully",
"To close the purchase order, select all.": "To close the purchase order, select all.",
"Unable to update product identifier preference": "Unable to update product identifier preference",
"Update time zone": "Update time zone",
"Username": "Username",
"You do not have permission to access this page": "You do not have permission to access this page",
"ZeroQuantity": "ZeroQuantity"
"You do not have permission to access this page": "You do not have permission to access this page"
}
8 changes: 1 addition & 7 deletions src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
<script lang="ts">
import { alertController, IonAvatar, IonButton, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonContent, IonHeader,IonIcon, IonItem, IonLabel, IonMenuButton, IonPage, IonSelect, IonSelectOption, IonTitle, IonToolbar, modalController } from '@ionic/vue';
import { defineComponent } from 'vue';
import { codeWorkingOutline, ellipsisVertical, openOutline, saveOutline, globeOutline, personCircleOutline, storefrontOutline} from 'ionicons/icons'
import { openOutline } from 'ionicons/icons'
import { mapGetters, useStore } from 'vuex';
import { useRouter } from 'vue-router';
import Image from '@/components/Image.vue'
Expand Down Expand Up @@ -239,14 +239,8 @@ export default defineComponent({
return {
Actions,
codeWorkingOutline,
ellipsisVertical,
globeOutline,
hasPermission,
personCircleOutline,
openOutline,
saveOutline,
storefrontOutline,
store,
router,
translate
Expand Down
5 changes: 0 additions & 5 deletions src/views/Shipments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,6 @@ export default defineComponent({
this.getShipments();
},
methods: {
selectSearchBarText(event: any) {
event.target.getInputElement().then((element: any) => {
element.select();
})
},
async getShipments(vSize?: any, vIndex?: any) {
this.queryString ? this.showErrorMessage = true : this.showErrorMessage = false;
this.fetchingShipments = true;
Expand Down

0 comments on commit aa6f623

Please sign in to comment.