mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-18 14:22:35 +00:00
22 lines
509 B
TypeScript
22 lines
509 B
TypeScript
import { Component } from '@angular/core';
|
|
import { InvoiceService } from '../invoice.service';
|
|
|
|
@Component({
|
|
selector : 'fuse-invoice-modern',
|
|
templateUrl: './modern.component.html',
|
|
styleUrls : ['./modern.component.scss']
|
|
})
|
|
export class InvoiceModernComponent
|
|
{
|
|
invoice: any;
|
|
|
|
constructor(private invoiceService: InvoiceService)
|
|
{
|
|
this.invoiceService.invoiceOnChanged
|
|
.subscribe((invoice) => {
|
|
this.invoice = invoice;
|
|
});
|
|
}
|
|
|
|
}
|