feat: update profile page
This commit is contained in:
parent
06d777290d
commit
de11c1243c
@ -58,6 +58,14 @@ class ProfileAccountInfo extends StatelessWidget {
|
||||
subtitle: user.createdAt.toDate,
|
||||
showArrow: false,
|
||||
),
|
||||
ProfileDivider(),
|
||||
|
||||
ProfileTile(
|
||||
icon: LineIcons.userEdit,
|
||||
title: 'Ubah Profil',
|
||||
subtitle: 'Ubah profil kamu',
|
||||
showArrow: false,
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
import 'package:auto_route/auto_route.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../../../../common/theme/theme.dart';
|
||||
import '../../../router/app_router.gr.dart';
|
||||
import 'divider.dart';
|
||||
import 'profile_tile.dart';
|
||||
|
||||
@ -39,8 +41,8 @@ class ProfileBusinessSetting extends StatelessWidget {
|
||||
|
||||
ProfileTile(
|
||||
icon: Icons.business_outlined,
|
||||
title: 'Business Information',
|
||||
subtitle: 'Manage your business details',
|
||||
title: 'Outlet Information',
|
||||
subtitle: 'Manage your Outlet details',
|
||||
onTap: () {
|
||||
// Navigate to business info
|
||||
},
|
||||
@ -71,23 +73,10 @@ class ProfileBusinessSetting extends StatelessWidget {
|
||||
ProfileDivider(),
|
||||
|
||||
ProfileTile(
|
||||
icon: Icons.receipt_long_outlined,
|
||||
title: 'Tax Settings',
|
||||
subtitle: 'Configure tax rates and policies',
|
||||
onTap: () {
|
||||
// Navigate to tax settings
|
||||
},
|
||||
),
|
||||
|
||||
ProfileDivider(),
|
||||
|
||||
ProfileTile(
|
||||
icon: Icons.print_outlined,
|
||||
title: 'Receipt & Print Settings',
|
||||
subtitle: 'Configure receipt templates',
|
||||
onTap: () {
|
||||
// Navigate to print settings
|
||||
},
|
||||
icon: Icons.inventory_2_outlined,
|
||||
title: 'Product',
|
||||
subtitle: 'Manage your products',
|
||||
onTap: () => context.router.push(ProductRoute()),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user