Order listing moved to orders page

This commit is contained in:
Jiang Yio 2023-04-24 23:40:47 -04:00
parent 4edf50aa82
commit 539f804d2e
2 changed files with 3 additions and 13 deletions

View File

@ -26,14 +26,6 @@
<ViewVitalsLabs :client="client" :dfn="dfn" :date_begin="report_date_begin" :date_end="report_date" /> <ViewVitalsLabs :client="client" :dfn="dfn" :date_begin="report_date_begin" :date_end="report_date" />
</div> </div>
</div> </div>
<div class="card mb-3 shadow">
<div class="card-header d-flex justify-content-between align-items-center">
<span>Orders</span>
<OrderFilterPicker :client="client" v-model="orders_filter" />
<DateRangePicker range="6M" direction="-1" v-model:date="orders_date" v-model:date_end="orders_date_begin" />
</div>
<div class="card-body"><ViewOrders :client="client" :dfn="dfn" :filter="orders_filter" :date_begin="orders_date_begin" :date_end="orders_date" /></div>
</div>
</div> </div>
</template> </template>
@ -42,14 +34,12 @@
import DateRangePicker from './DateRangePicker.vue'; import DateRangePicker from './DateRangePicker.vue';
import ViewVitalsLabs from './ViewVitalsLabs.vue'; import ViewVitalsLabs from './ViewVitalsLabs.vue';
import OrderFilterPicker from './OrderFilterPicker.vue';
import ViewOrders from './ViewOrders.vue';
var now = new Date(); var now = new Date();
export default { export default {
components: { components: {
DateRangePicker, ViewVitalsLabs, OrderFilterPicker, ViewOrders DateRangePicker, ViewVitalsLabs
}, },
props: { props: {
client: Object client: Object

View File

@ -18,12 +18,12 @@
</div> </div>
</div> </div>
<div class="card mb-3 shadow"> <div class="card mb-3 shadow">
<div class="card-header">Orders</div> <div class="card-header">Order entry</div>
<div class="card-body"><ViewOrderMenu :client="client" :dfn="dfn" /></div> <div class="card-body"><ViewOrderMenu :client="client" :dfn="dfn" /></div>
</div> </div>
<div class="card mb-3 shadow"> <div class="card mb-3 shadow">
<div class="card-header d-flex justify-content-between align-items-center"> <div class="card-header d-flex justify-content-between align-items-center">
<span>Orders</span> <span>Order view</span>
<OrderFilterPicker :client="client" v-model="orders_filter" /> <OrderFilterPicker :client="client" v-model="orders_filter" />
<DateRangePicker range="6M" direction="-1" v-model:date="orders_date" v-model:date_end="orders_date_begin" /> <DateRangePicker range="6M" direction="-1" v-model:date="orders_date" v-model:date_end="orders_date_begin" />
</div> </div>