Updated looks
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<SideBar />
|
||||
</div>
|
||||
<div class=" w-full px-10 ">
|
||||
<div class="text-sm breadcrumbs pb-10">
|
||||
<div class="text-sm breadcrumbs mb-10">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link :to="{ name: 'home' }">
|
||||
@@ -15,14 +15,14 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="flex start pb-10">Tommorrows Deliveries </div>
|
||||
<div class="flex justify-start pb-5">
|
||||
<button @click.prevent="printtTicketAll" class="btn btn-accent">
|
||||
<div class="flex start pb-10 text-2xl">Tommorrows Deliveries </div>
|
||||
<div class="flex justify-end pb-5">
|
||||
<button @click.prevent="printtTicketAll" class="btn btn-accent btn-sm">
|
||||
Print All
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="overflow-x-auto">
|
||||
<div class="overflow-x-auto bg-neutral">
|
||||
<div class="flex start"> </div>
|
||||
<table class="table">
|
||||
<!-- head -->
|
||||
@@ -81,15 +81,15 @@
|
||||
|
||||
<td class="flex gap-5">
|
||||
<router-link :to="{ name: 'deliveryOrder', params: { id: oil['id'] } }">
|
||||
<button class="btn btn-accent">View</button>
|
||||
<button class="btn btn-accent btn-sm">View</button>
|
||||
</router-link>
|
||||
<router-link :to="{ name: 'deliveryEdit', params: { id: oil['id'] } }">
|
||||
<button class="btn btn-accent">Edit</button>
|
||||
<button class="btn btn-accent btn-sm">Edit</button>
|
||||
</router-link>
|
||||
<button @click.prevent="deleteCall(oil['id'])" class="btn btn-accent">
|
||||
<button @click.prevent="deleteCall(oil['id'])" class="btn btn-accent btn-sm">
|
||||
Delete
|
||||
</button>
|
||||
<button @click.prevent="printTicket(oil['id'])" class="btn btn-accent">
|
||||
<button @click.prevent="printTicket(oil['id'])" class="btn btn-accent btn-sm">
|
||||
Print
|
||||
</button>
|
||||
</td>
|
||||
@@ -171,7 +171,7 @@ export default defineComponent({
|
||||
})
|
||||
},
|
||||
get_oil_orders(page: any) {
|
||||
let path = import.meta.env.VITE_BASE_URL + '/delivery/outfordelivery/' + page;
|
||||
let path = import.meta.env.VITE_BASE_URL + '/delivery/tommorrow/' + page;
|
||||
axios({
|
||||
method: 'get',
|
||||
url: path,
|
||||
@@ -207,7 +207,7 @@ export default defineComponent({
|
||||
|
||||
|
||||
printtTicketAll() {
|
||||
let path = import.meta.env.VITE_PRINT_URL + '/command/printticket/all/print_tommorrow';
|
||||
let path = import.meta.env.VITE_PRINT_URL + '/command/printticket/print_tommorrow';
|
||||
axios({
|
||||
method: 'delete',
|
||||
url: path,
|
||||
|
||||
Reference in New Issue
Block a user