Updated form for creating delivery
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
<!-- src/pages/delivery/viewstatus/cancelled.vue -->
|
||||
<template>
|
||||
<div class="flex">
|
||||
<div class="w-full px-4 md:px-10 py-4">
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- src/pages/delivery/viewstatus/delivered.vue -->
|
||||
<template>
|
||||
<div class="flex">
|
||||
<div class="w-full px-4 md:px-10 py-4">
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- src/pages/delivery/viewstatus/finalized.vue -->
|
||||
<template>
|
||||
<div class="flex">
|
||||
<div class="w-full px-4 md:px-10 py-4">
|
||||
@@ -14,7 +15,6 @@
|
||||
<!-- Header: Title and Count -->
|
||||
<div class="flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 mb-4">
|
||||
<h2 class="text-lg font-bold">Completed and Finalized Deliveries</h2>
|
||||
<!-- <div class="badge badge-ghost">{{ recordsLength }} items Found</div> -->
|
||||
</div>
|
||||
|
||||
<div class="divider"></div>
|
||||
@@ -28,7 +28,7 @@
|
||||
<th>Name</th>
|
||||
<th>Status</th>
|
||||
<th>Town / Address</th>
|
||||
<th>Gallons</th>
|
||||
<th>Gallons Delivered</th>
|
||||
<th>Date</th>
|
||||
<th>Options</th>
|
||||
<th class="text-right">Actions</th>
|
||||
@@ -50,8 +50,8 @@
|
||||
<div class="text-xs opacity-70">{{ oil.customer_address }}</div>
|
||||
</td>
|
||||
<td>
|
||||
<span v-if="oil.customer_asked_for_fill == 1" class="badge badge-info">FILL</span>
|
||||
<span v-else>{{ oil.gallons_ordered }}</span>
|
||||
|
||||
{{ oil.gallons_delivered }}
|
||||
</td>
|
||||
<td>{{ oil.expected_delivery_date }}</td>
|
||||
<td>
|
||||
@@ -95,8 +95,8 @@
|
||||
<p><strong class="font-semibold">Address:</strong> {{ oil.customer_address }}</p>
|
||||
<p><strong class="font-semibold">Town:</strong> {{ oil.customer_town }}</p>
|
||||
<p><strong class="font-semibold">Gallons:</strong>
|
||||
<span v-if="oil.customer_asked_for_fill" class="badge badge-info badge-xs">FILL</span>
|
||||
<span v-else>{{ oil.gallons_ordered }}</span>
|
||||
|
||||
{{ oil.gallons_delivered }}
|
||||
</p>
|
||||
<p><strong class="font-semibold">Date:</strong> {{ oil.expected_delivery_date }}</p>
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- src/pages/delivery/viewstatus/issue.vue -->
|
||||
<template>
|
||||
<div class="flex">
|
||||
<div class="w-full px-4 md:px-10 py-4">
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- src/pages/delivery/viewstatus/pending.vue -->
|
||||
<template>
|
||||
<div class="flex">
|
||||
<div class="w-full px-4 md:px-10 py-4">
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- src/pages/delivery/viewstatus/todaysdeliveries.vue -->
|
||||
<template>
|
||||
<div class="flex">
|
||||
<div class="w-full px-4 md:px-10 py-4">
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- src/pages/delivery/viewstatus/tommorrow.vue -->
|
||||
<template>
|
||||
<div class="flex">
|
||||
<div class="w-full px-4 md:px-10 py-4">
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- src/pages/delivery/viewstatus/waiting.vue -->
|
||||
<template>
|
||||
<div class="flex">
|
||||
<div class="w-full px-4 md:px-10 py-4">
|
||||
|
||||
Reference in New Issue
Block a user