diff --git a/src/components/AttachmentsModal.vue b/src/components/AttachmentsModal.vue index 3dd62cb..5f3fee6 100644 --- a/src/components/AttachmentsModal.vue +++ b/src/components/AttachmentsModal.vue @@ -83,17 +83,24 @@ } .attachment p { - font-size: 1rem; - font-weight: 900; - color: black; + font-size: 1rem; + font-weight: 900; + color: black; } .attachment img { - width: 50%; + width: 33%; justify-content: center; align-items: center; margin: 0 auto; align-content: center; } + @media (max-width: 568px) { + .attachment img { + width: 50%; + } + + } + \ No newline at end of file diff --git a/src/components/CardLoad.vue b/src/components/CardLoad.vue index ffaa02d..09a0c92 100644 --- a/src/components/CardLoad.vue +++ b/src/components/CardLoad.vue @@ -19,13 +19,17 @@ type: Boolean, required: false, default: false + }, + tracking: { + type: Boolean, + required: false, + default: true } }); const { t } = useI18n() defineEmits(['set-load']) - const openAttachmentsModal = () => { loadsStore.currentLoad = props.load; loadsStore.openAttachmentsModal = true; @@ -94,32 +98,32 @@

{{t('loads.origin')}}: - - - - - - + + + + + +

{{t('loads.destination')}}: - - - - - - + + + + + +

-
-

+

+

{{t('loads.company')}}: - {{ load.company.company_name }} + {{ load.company?.company_name }}

-
-
-

{{t('loads.postStatus')}}: {{ getStatusPublished(load) }}

-

{{t('loads.loadStatus')}}: {{ getStatusLoad(load).status }}

+
+

{{t('loads.postStatus')}}: {{ getStatusPublished(load) }}

+

{{t('loads.loadStatus')}}: {{ getStatusLoad(load).status }}

+
@@ -139,7 +143,7 @@

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

{{t('loads.loadCode')}}: {{ load.shipment_code?.toUpperCase() }} {{ load.notes }} -

+
-
+
@@ -222,4 +222,5 @@ gap: 0.2rem; } } + \ No newline at end of file diff --git a/src/components/CardVehicle.vue b/src/components/CardVehicle.vue index f7ee93f..c22f5dd 100644 --- a/src/components/CardVehicle.vue +++ b/src/components/CardVehicle.vue @@ -1,6 +1,6 @@ + + + + \ No newline at end of file diff --git a/src/views/TrackingLoadView.vue b/src/views/TrackingLoadView.vue index 3efa5af..1a5f4af 100644 --- a/src/views/TrackingLoadView.vue +++ b/src/views/TrackingLoadView.vue @@ -94,7 +94,7 @@
- +