import { Routes } from '@angular/router';
import { RemissionReturnReceiptListComponent } from './remission-return-receipt-list.component';
export const routes: Routes = [
  {
    path: '',
    component: RemissionReturnReceiptListComponent,
    title: 'Remission',
    data: {
      scrollPositionRestoration: true,
    },
  },
  {
    path: ':returnId/:receiptId',
    title: 'Remission - Beleg',
    loadComponent: () =>
      import('@isa/remission/feature/remission-return-receipt-details').then(
        (m) => m.RemissionReturnReceiptDetailsComponent,
      ),
  },
];
