Added Shift update

This commit is contained in:
Mosiur Rahman
2024-11-24 18:56:51 +06:00
parent f08750a116
commit 8070465cf0
18 changed files with 299 additions and 27 deletions

View File

@@ -1,12 +1,26 @@
import { Component } from '@angular/core';
import { Component, OnInit } from '@angular/core';
import { TableComponent } from '../../../shared/components/table/table.component';
import { UpdateService } from './update.service';
import { TitleComponent } from '../../../shared/components/title/title.component';
import { ShortenPipe } from '../../../shared/pipe/shorten.pipe';
@Component({
selector: 'app-shift-update',
standalone: true,
imports: [],
imports: [TableComponent, TitleComponent, ],
templateUrl: './shift-update.component.html',
styleUrl: './shift-update.component.scss'
styleUrl: './shift-update.component.scss',
providers: [UpdateService]
})
export class ShiftUpdateComponent {
export class ShiftUpdateComponent implements OnInit {
tableHeaderList = ['date','detail','ref','handler']
updateDataList: any[] = [];
constructor(private updateService: UpdateService) {}
ngOnInit(): void {
this.updateDataList = this.updateService.allUpdate;
}
}