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

@Component({
  selector: 'app-journal-details',
  templateUrl: './journal-details.component.html',
  styleUrls: ['./journal-details.component.scss']
})
export class JournalDetailsComponent extends DetailsBase<IJournalEntryModel> {
  constructor(route: ActivatedRoute, journalListUiService: JournalListUiService) {
    super(route, journalListUiService, 'details', 'journalEntry');
  }
}
