{{item.title}}
+Rs. {{item.price}} x {{item.quantity}}
+Rs. {{item.subtotal}}
+diff --git a/.ai/mcp/mcp.json b/.ai/mcp/mcp.json index e69de29..bb3f251 100644 --- a/.ai/mcp/mcp.json +++ b/.ai/mcp/mcp.json @@ -0,0 +1,12 @@ +{ + "mcpServers": { + "angular-cli": { + "command": "npx", + "args": [ + "-y", + "@angular/cli", + "mcp" + ] + } + } +} \ No newline at end of file diff --git a/src/app/features/checkout/address/address.html b/src/app/features/checkout/address/address.html index dadbf33..ca829e0 100644 --- a/src/app/features/checkout/address/address.html +++ b/src/app/features/checkout/address/address.html @@ -4,12 +4,45 @@
{{[address.firstName, address.lastName] | fullname}}
{{`${address.street}, ${address.city}, ${address.pinCode}`}} diff --git a/src/app/features/checkout/components/order-summery/order-summery.html b/src/app/features/checkout/components/order-summery/order-summery.html index 4d21641..49b9257 100644 --- a/src/app/features/checkout/components/order-summery/order-summery.html +++ b/src/app/features/checkout/components/order-summery/order-summery.html @@ -1,3 +1,24 @@ -
Order Summery
+Order Summery
+ @if (cartItems | async; as cart) { @for (item of cart.items; track item.id) { +Rs. {{item.price}} x {{item.quantity}}
+Rs. {{item.subtotal}}
+Total
+Rs. {{cart.totalPrice}}
+