added new log column "take_date"
Also removed unnesesarry code notes
This commit is contained in:
@@ -8,6 +8,7 @@ type Loan = {
|
||||
loan_code: number;
|
||||
start_date: string;
|
||||
end_date: string;
|
||||
take_date: string | null;
|
||||
returned_date: string | null;
|
||||
created_at: string;
|
||||
loaned_items_id: number[];
|
||||
@@ -89,6 +90,9 @@ const Form4: React.FC = () => {
|
||||
<th className="px-4 py-3 text-left text-xs font-semibold uppercase tracking-wider text-gray-600">
|
||||
Ende
|
||||
</th>
|
||||
<th className="px-4 py-3 text-left text-xs font-semibold uppercase tracking-wider text-gray-600">
|
||||
Abgeholt
|
||||
</th>
|
||||
<th className="px-4 py-3 text-left text-xs font-semibold uppercase tracking-wider text-gray-600">
|
||||
Zurückgegeben
|
||||
</th>
|
||||
@@ -118,6 +122,9 @@ const Form4: React.FC = () => {
|
||||
<td className="px-4 py-3 whitespace-nowrap font-mono tabular-nums text-gray-900">
|
||||
{formatDate(loan.end_date)}
|
||||
</td>
|
||||
<td className="px-4 py-3 whitespace-nowrap font-mono tabular-nums text-gray-900">
|
||||
{formatDate(loan.take_date)}
|
||||
</td>
|
||||
<td className="px-4 py-3 whitespace-nowrap font-mono tabular-nums text-gray-900">
|
||||
{formatDate(loan.returned_date)}
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user