updated modal from user loan's
This commit is contained in:
@@ -6,6 +6,7 @@ import {NzButtonComponent} from "ng-zorro-antd/button";
|
||||
import {UserInfo} from "../../interfaces/user.interfaces";
|
||||
import {LoanTable} from "../loan-table/loan-table";
|
||||
import {UpdateUser} from "../update-user/update-user";
|
||||
import {UpdateLoan} from "../update-loan/update-loan";
|
||||
|
||||
@Component({
|
||||
selector: 'app-user-table',
|
||||
@@ -15,7 +16,8 @@ import {UpdateUser} from "../update-user/update-user";
|
||||
NzButtonComponent,
|
||||
NzTableComponent,
|
||||
LoanTable,
|
||||
UpdateUser
|
||||
UpdateUser,
|
||||
UpdateLoan
|
||||
],
|
||||
templateUrl: './user-table.html',
|
||||
styleUrl: './user-table.css',
|
||||
@@ -28,6 +30,42 @@ export class UserTable {
|
||||
email: 'mathys@biblio.fr',
|
||||
birthDate: new Date('2004-05-21'),
|
||||
loan: [
|
||||
{
|
||||
book: {
|
||||
title: 'Dune',
|
||||
isbn: '9780441013593',
|
||||
author: 'Frank Herbert',
|
||||
releaseYear: 1965
|
||||
},
|
||||
user: null,
|
||||
date: new Date('2025-11-01'),
|
||||
plannedReturningDate: new Date('2025-12-01'),
|
||||
effectiveReturningDate: null
|
||||
},
|
||||
{
|
||||
book: {
|
||||
title: 'Dune',
|
||||
isbn: '9780441013593',
|
||||
author: 'Frank Herbert',
|
||||
releaseYear: 1965
|
||||
},
|
||||
user: null,
|
||||
date: new Date('2025-11-01'),
|
||||
plannedReturningDate: new Date('2025-12-01'),
|
||||
effectiveReturningDate: null
|
||||
},
|
||||
{
|
||||
book: {
|
||||
title: 'Dune',
|
||||
isbn: '9780441013593',
|
||||
author: 'Frank Herbert',
|
||||
releaseYear: 1965
|
||||
},
|
||||
user: null,
|
||||
date: new Date('2025-11-01'),
|
||||
plannedReturningDate: new Date('2025-12-01'),
|
||||
effectiveReturningDate: null
|
||||
},
|
||||
{
|
||||
book: {
|
||||
title: 'Dune',
|
||||
|
||||
Reference in New Issue
Block a user