diff --git a/index.html b/index.html index d132df6..6b79ce3 100644 --- a/index.html +++ b/index.html @@ -15,9 +15,7 @@
- - diff --git a/src/components/AttachmentsModal.vue b/src/components/AttachmentsModal.vue index 5f3fee6..4222755 100644 --- a/src/components/AttachmentsModal.vue +++ b/src/components/AttachmentsModal.vue @@ -68,7 +68,6 @@ \ No newline at end of file diff --git a/src/components/CardBudget.vue b/src/components/CardBudget.vue index 28d8755..c52f967 100644 --- a/src/components/CardBudget.vue +++ b/src/components/CardBudget.vue @@ -83,7 +83,6 @@

{{ t('calculator.totalBeforeIva') }}: {{ formatCurrency(budget.total_before_tax) }}

{{ t('calculator.totalUtityByKm') }}: {{ formatCurrency( budget.total_utility_per_km) }}

{{ t('calculator.totalUtity') }}: {{ formatCurrency( budget.total_profit ) }}

-

{{ t('calculator.percentUtility') }}: {{ totalPercentage }}

diff --git a/src/components/CardCompany.vue b/src/components/CardCompany.vue index be75c43..15e1792 100644 --- a/src/components/CardCompany.vue +++ b/src/components/CardCompany.vue @@ -19,12 +19,9 @@
- -

{{ t('labels.codeId') }}: {{ company.company_code }}

{{ t('labels.dateMembership') }}: {{getDateMonthDay(company.createdAt)}}

{{ t('company.segment') }}: {{ company._categories }}

-

{{ t('labels.locationLoadState') }}: {{company._company_state}}

diff --git a/src/components/CardFaq.vue b/src/components/CardFaq.vue index 4383f52..622d1bd 100644 --- a/src/components/CardFaq.vue +++ b/src/components/CardFaq.vue @@ -44,7 +44,6 @@ import { ref } from 'vue'; width: 100%; padding: 12px 20px; background-color: white; - /* background-color: rgb(184, 236, 234); */ margin-bottom: 15px; filter: drop-shadow(0px 4px 4px rgba(0, 255, 255,0.3)); border-radius: 13px; diff --git a/src/components/CardLoad.vue b/src/components/CardLoad.vue index 09a0c92..9efc4a6 100644 --- a/src/components/CardLoad.vue +++ b/src/components/CardLoad.vue @@ -48,7 +48,7 @@ if(result.isConfirmed) { Swal.fire({ title: t('messages.loading'), - html: t('loads.loadingDel') + '...',// add html attribute if you want or remove + html: t('loads.loadingDel') + '...', allowOutsideClick: false, didOpen: () => { Swal.showLoading() diff --git a/src/components/CardProposal.vue b/src/components/CardProposal.vue index aebed26..4880700 100644 --- a/src/components/CardProposal.vue +++ b/src/components/CardProposal.vue @@ -222,5 +222,4 @@ gap: 0.2rem; } } - \ No newline at end of file diff --git a/src/components/CardUser.vue b/src/components/CardUser.vue index 63239a3..9f74093 100644 --- a/src/components/CardUser.vue +++ b/src/components/CardUser.vue @@ -18,6 +18,8 @@ } }) + + console.log(props.user) defineEmits(['set-user']) @@ -80,22 +82,22 @@

{{ t('global.segments') }}: {{user.categories?.map((e) => e.name).join(', ')}}

-

{{ t('labels.locationLoadCity') }}: {{user._user_city}}

{{ t('labels.locationLoadState') }}: {{user._user_state}}

-

{{ t('labels.truckUsed') }}: {{user._truck_type}}

-

{{ t('labels.userInfo') }}: {{user.user_description}}

+

{{ t('labels.locationLoadCity') }}: {{user._user_city}}

+

{{ t('labels.truckUsed') }}: {{user._truck_type}}

{{ t('labels.memberSince') }}: {{getDateOnly(user.createAt)}}

-

Tipo de afiliación: {{user.company.membership}}

+

{{ t('labels.userInfo') }}: {{user.user_description}}

+

{{ t('global.segments') }}: {{user.categories?.map((e) => e.name).join(', ')}}

-

{{ t('labels.locationLoadCity') }}: {{user.user_city?.join(', ')}}

{{ t('labels.locationLoadState') }}: {{user.user_state?.join(', ')}}

+

{{ t('labels.locationLoadCity') }}: {{user.user_city?.join(', ')}}

{{ t('labels.truckUsed') }}: {{user.truck_type?.join(', ')}}

-

{{ t('labels.userInfo') }}: {{user.user_description}}

{{ t('labels.memberSince') }}: {{getDateOnly(user.createAt)}}

-

Tipo de afiliación: {{user.company.membership}}

+

{{ t('labels.userInfo') }}: {{user.user_description}}

+
diff --git a/src/components/CardVehicle.vue b/src/components/CardVehicle.vue index c22f5dd..b3e989d 100644 --- a/src/components/CardVehicle.vue +++ b/src/components/CardVehicle.vue @@ -37,7 +37,7 @@ if(result.isConfirmed) { Swal.fire({ title: t('messages.loading'), - html: t('vehicles.loadingDel') + '...',// add html attribute if you want or remove + html: t('vehicles.loadingDel') + '...', allowOutsideClick: false, didOpen: () => { Swal.showLoading() diff --git a/src/components/CreateBudgetModal.vue b/src/components/CreateBudgetModal.vue index c0d11d4..92a3122 100644 --- a/src/components/CreateBudgetModal.vue +++ b/src/components/CreateBudgetModal.vue @@ -32,7 +32,6 @@ const { t } = useI18n(); onMounted(() => { - console.log(props.budget); if(props.budget) { budgetForm.budget_id = props.budget._id; budgetForm.client = props.budget.client; @@ -116,10 +115,6 @@ client: null }) - // const total = computed(() => { - - // }); - const totalTravel = computed(() => { budgetForm.total_travel = budgetForm.warehouse_distance * 1 + budgetForm.delivery_distance * 1 + budgetForm.pickup_distance * 1; budgetForm.total_travel = isNaN(budgetForm.total_travel) ? 0.0 : budgetForm.total_travel; @@ -257,7 +252,6 @@