import { Component } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { IClientModel } from '@fleio-api/client-user/model/client.model';
import { ActivatedRoute } from '@angular/router';
import { ClientListUIService } from '../client-list-ui.service';

@Component({
  selector: 'app-configure-auto-invoicing',
  templateUrl: './configure-auto-invoicing.component.html',
  styleUrls: ['./configure-auto-invoicing.component.scss']
})
export class ConfigureAutoInvoicingComponent extends DetailsBase<IClientModel> {
  constructor(route: ActivatedRoute, clientListUIService: ClientListUIService) {
    super(route, clientListUIService, 'auto-invoicing-settings',
      'client', ['autoInvoicingSettings']);
  }
}
