HOTFIX: Suppleir Consumption PDF #1764
|
@ -40,13 +40,11 @@ const dateRanges = computed(() => {
|
||||||
return { from, to };
|
return { from, to };
|
||||||
});
|
});
|
||||||
|
|
||||||
const reportParams = computed(() => {
|
const reportParams = computed(() => ({
|
||||||
return {
|
recipientId: Number(route.params.id),
|
||||||
recipientId: Number(route.params.id),
|
from: dateRange(dateRanges.value.from)[0].toISOString(),
|
||||||
to: dateRange(dateRanges.value.to)[1],
|
to: dateRange(dateRanges.value.to)[1].toISOString(),
|
||||||
from: dateRange(dateRanges.value.from)[1],
|
}));
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
async function getSupplierConsumptionData() {
|
async function getSupplierConsumptionData() {
|
||||||
await arrayData.fetch({ append: false });
|
await arrayData.fetch({ append: false });
|
||||||
|
|
Loading…
Reference in New Issue