import { QuerySettings } from '@isa/shared/filter';

/**
 * Query settings configuration for filtering and sorting return receipts.
 * Provides options to sort by date in ascending or descending order.
 * @constant
 */
export const RETURN_RECEIPT_QUERY_SETTINGS: QuerySettings = {
  filter: [],
  input: [],
  orderBy: [
    // {
    //   by: 'completed',
    //   label: 'Remissiondatum',
    //   desc: true,
    // },
    // {
    //   by: 'completed',
    //   label: 'Remissiondatum',
    //   desc: false,
    // },
    {
      by: 'created',
      label: 'Datum',
      desc: true,
    },
    {
      by: 'created',
      label: 'Datum',
      desc: false,
    },
  ],
};