diff --git a/src/pages/Item/ItemFixedPrice.vue b/src/pages/Item/ItemFixedPrice.vue
index 5b35670a9..2c55e33e1 100644
--- a/src/pages/Item/ItemFixedPrice.vue
+++ b/src/pages/Item/ItemFixedPrice.vue
@@ -392,22 +392,6 @@ function highlightNewRow(index) {
const openEditTableCellDialog = () => {
editTableCellDialogRef.value.show();
};
-async function showBadDates() {
- try {
- if (!checked.value) fixedPrices.value = fixedPricesOriginalData.value;
- else {
- rowsSelected.value = [];
- const { data } = await axios.get('FixedPrices/filter', {
- params: {
- showBadDates: checked.value,
- },
- });
- fixedPrices.value = data;
- }
- } catch (error) {
- console.error(error);
- }
-}
const onEditCellDataSaved = async () => {
rowsSelected.value = [];
await fetchFixedPrices();
@@ -480,13 +464,16 @@ onUnmounted(() => (stateStore.rightDrawer = false));
-
-
+
+ {{ t('Edit fixed price(s)') }}
+
+
@@ -700,32 +687,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
{{ t('Add') }}
-
-
-
- {{ t('Edit fixed price(s)') }}
-
-
-
- removeFuturePrice()
- )
- "
- />
-
- {{ t('Add') }}
-
-
+
{
};
const $params = ref({});
onMounted(() => {
- ['mine', 'hasMinPrice'].forEach((tag) => ($params.value[tag] = sanitizeParam(tag)));
+ ['mine', 'hasMinPrice', 'showBadDates'].forEach(
+ (tag) => ($params.value[tag] = sanitizeParam(tag))
+ );
});
const pushParam = (param) => ({
param: { [param]: $params.value[param] },
@@ -109,6 +111,17 @@ const pushParam = (param) => ({
@update:model-value="searchFn(pushParam('mine'))"
/>
+
+
+
+