From 6556828afe63476fc03546ae51e3ba5104162ee8 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 30 Aug 2023 14:32:42 +0530 Subject: changed clients list --- src/app/manage/client/list/mod.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/app/manage/client/list/mod.rs') diff --git a/src/app/manage/client/list/mod.rs b/src/app/manage/client/list/mod.rs index 2e13be6..1c00f0a 100644 --- a/src/app/manage/client/list/mod.rs +++ b/src/app/manage/client/list/mod.rs @@ -31,11 +31,18 @@ pub struct Props { pub fn clients_list(props: &Props) -> Html { let list_items: Html = props.clients .iter() - .map(|c| html!()) + .enumerate() + .map(|(id, c)| html!()) .collect(); html! {
+
+ {"S. No"} + {"Client Name"} + {"GSTIN"} + +
{list_items}
-- cgit v1.2.3