Updated form for creating delivery

This commit is contained in:
2025-09-04 15:07:21 -04:00
parent 1531b0f240
commit af9e6882ba
65 changed files with 510 additions and 574 deletions

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/create.vue -->
<template>
<div class="flex">
<div class="w-full px-4 md:px-10 py-4">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/edit.vue -->
<template>
<div class="flex">
<div class="w-full px-4 md:px-10 py-4">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/home.vue -->
<template>
<div class="flex">
<div class="w-full px-4 md:px-10 ">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/list.vue -->
<template>
<div class="print-container">
<h1>Customer List</h1>

View File

@@ -1,4 +1,4 @@
<!-- src/views/Profile.vue -->
<!-- src/pages/customer/profile/profile.vue -->
<template>
<div class="w-full min-h-screen bg-base-200 px-4 md:px-10">
<!-- ... breadcrumbs ... -->
@@ -618,4 +618,4 @@ onSubmitSocial(commentText: string) {
}
},
})
</script>
</script>

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/AutomaticDeliveries.vue -->
<template>
<div class="card bg-base-100 shadow-xl">
<div class="card-body p-4 sm:p-6">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/CreditCards.vue -->
<template>
<div class="card bg-base-100 shadow-xl">
<div class="card-body p-4 sm:p-6">
@@ -33,9 +34,10 @@
<div class="mt-3 text-sm font-mono tracking-wider">
<p>{{ card.card_number }}</p>
<p>
Exp:
Exp:
<span v-if="card.expiration_month < 10">0</span>{{ card.expiration_month }} / {{ card.expiration_year }}
</p>
<p>CVV: {{ card.security_number }}</p>
</div>
<div class="divider my-2"></div>
@@ -75,4 +77,4 @@ interface Props {
defineProps<Props>();
defineEmits(['edit-card', 'remove-card']);
</script>
</script>

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/CustomerComments.vue -->
<template>
<div class="card bg-base-100 shadow-xl">
<div class="card-body p-4 sm:p-6">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/CustomerDetails.vue -->
<template>
<div class="card bg-base-100 shadow-xl">
<div class="card-body p-4 sm:p-6">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/CustomerStats.vue -->
<template>
<div class="card bg-base-100 shadow-xl">
<div class="card-body p-4 sm:p-6">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/DeliveriesTable.vue -->
<template>
<div v-if="!deliveries || deliveries.length === 0" class="text-center p-10">
<p>No will-call delivery history found.</p>

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/EquipmentParts.vue -->
<template>
<div class="card bg-base-100 shadow-xl">
<div class="card-body p-4 sm:p-6">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/HistoryTabs.vue -->
<template>
<div role="tablist" class="tabs tabs-lifted">
<a role="tab" class="tab [--tab-bg:oklch(var(--b1))] text-base-content" :class="{ 'tab-active': activeTab === 'deliveries' }" @click="activeTab = 'deliveries'">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/ProfileHeader.vue -->
<template>
<div class="card bg-base-100 shadow-xl">
<div class="card-body p-4 sm:p-6">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/ProfileMap.vue -->
<template>
<div class="card bg-base-100 shadow-xl h-full">
<div class="card-body p-4 sm:p-6">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/ProfileSummary.vue -->
<template>
<div class="card bg-base-100 shadow-xl h-full">
<div class="card-body p-4 sm:p-6">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/ServiceCallsTable.vue -->
<template>
<div>
<div v-if="!serviceCalls || serviceCalls.length === 0" class="text-center p-10">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/profile/profile/TankInfo.vue -->
<template>
<div class="card bg-base-100 shadow-xl">
<div class="card-body p-4 sm:p-6">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/service/PartsEditModal.vue -->
<template>
<!-- Modal Overlay -->
<div class="fixed inset-0 bg-gray-800 bg-opacity-75 flex items-center justify-center z-50">

View File

@@ -1,3 +1,4 @@
<!-- src/pages/customer/tank/edit.vue -->
<template>
<div class="flex">
<div class="w-full px-4 md:px-10 py-4">