import { Component } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { IServiceModel } from '@fleio-api/billing/model/service.model';
import { ActivatedRoute } from '@angular/router';
import { ServiceListUIService } from '../service-list-ui.service';

@Component({
  selector: 'app-service-change',
  templateUrl: './service-change.component.html',
  styleUrls: ['./service-change.component.scss']
})
export class ServiceChangeComponent extends DetailsBase<IServiceModel> {
  constructor(route: ActivatedRoute, serviceListUIService: ServiceListUIService) {
    super(
      route, serviceListUIService, 'change', 'service', ['upgradeOptions']
    );
  }
}
