Shift Update adding
This commit is contained in:
9
src/app/components/pages/shift-update/sample_update.ts
Normal file
9
src/app/components/pages/shift-update/sample_update.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export const sample_update = [
|
||||
{
|
||||
id: "1",
|
||||
date: "10/10/24",
|
||||
detail: "everything to show here",
|
||||
ref: "Mail Reference",
|
||||
handler: "xy"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,22 @@
|
||||
<div class="container">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Sr.</th>
|
||||
<th>Date</th>
|
||||
<th>Details</th>
|
||||
<th>Reference</th>
|
||||
<th>Personnel</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Issue Count + 1</td>
|
||||
<td>Date Of the Issue</td>
|
||||
<td>Details of the issue</td>
|
||||
<td>Mail or bcp reference of the issue</td>
|
||||
<td>Personnel Name</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ShiftUpdateComponent } from './shift-update.component';
|
||||
|
||||
describe('ShiftUpdateComponent', () => {
|
||||
let component: ShiftUpdateComponent;
|
||||
let fixture: ComponentFixture<ShiftUpdateComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ShiftUpdateComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ShiftUpdateComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-shift-update',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './shift-update.component.html',
|
||||
styleUrl: './shift-update.component.scss'
|
||||
})
|
||||
export class ShiftUpdateComponent {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user