Skip to content

Commit

Permalink
fix: 11/2/2024 7:14
Browse files Browse the repository at this point in the history
  • Loading branch information
monkey111111111 committed Feb 11, 2024
1 parent e514b84 commit c23fea4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/screens/buku_tamu/buku_tamu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ class _BukuTamuState extends State<BukuTamu> {
DocumentSnapshot data =
snapshot.data!.docs[index];

final tanggal = data["tanggal"];
final hari = tanggal["hari"];
final bulan = tanggal["bulan"];
final tahun = tanggal["tahun"];

return DataRow(cells: [
DataCell(SizedBox(
width: sizeColumn,
Expand All @@ -73,7 +78,7 @@ class _BukuTamuState extends State<BukuTamu> {
child: Text(data['alamat']))),
DataCell(SizedBox(
width: sizeColumn,
child: Text(data['tanggal']))),
child: Text("$hari/$bulan/$tahun"))),
DataCell(SizedBox(
width: sizeColumn,
child: Text(data['pekerjaan']))),
Expand Down

0 comments on commit c23fea4

Please sign in to comment.