perbaikan on possale string 1

This commit is contained in:
2026-04-18 22:45:08 +07:00
parent d912b1f63a
commit b1781625f2
2693 changed files with 366 additions and 6459 deletions

View File

@@ -9,7 +9,7 @@ import 'package:mobile_pos/generated/l10n.dart' as lang;
import 'package:nb_utils/nb_utils.dart';
import '../../GlobalComponents/glonal_popup.dart';
import '../../constant.dart';
import '../../constant.dart' as mainConstant;
import '../../currency.dart';
import '../../widgets/empty_widget/_empty_widget.dart';
import '../Customers/Provider/customer_provider.dart';
@@ -35,7 +35,7 @@ class _PurchaseContactsState extends State<PurchaseContacts> {
return businessInfo.when(data: (details) {
return GlobalPopup(
child: Scaffold(
backgroundColor: kWhite,
backgroundColor: mainConstant.kWhite,
resizeToAvoidBottomInset: true,
appBar: AppBar(
backgroundColor: Colors.white,
@@ -60,7 +60,7 @@ class _PurchaseContactsState extends State<PurchaseContacts> {
hintText: lang.S.of(context).search,
prefixIcon: Icon(
Icons.search,
color: kGreyTextColor.withOpacity(0.5),
color: mainConstant.kGreyTextColor.withOpacity(0.5),
),
),
onChanged: (value) {
@@ -116,7 +116,7 @@ class _PurchaseContactsState extends State<PurchaseContacts> {
),
const SizedBox(width: 4),
Text(
'$currency${customer[index].due}',
'$currency${mainConstant.formatWithSeparator(customer[index].due ?? 0)}',
style: _theme.textTheme.bodyMedium?.copyWith(
fontSize: 16.0,
),
@@ -178,13 +178,13 @@ class _PurchaseContactsState extends State<PurchaseContacts> {
}),
),
floatingActionButton: FloatingActionButton(
backgroundColor: kMainColor,
backgroundColor: mainConstant.kMainColor,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(100),
),
child: const Icon(
Icons.add,
color: kWhite,
color: mainConstant.kWhite,
),
onPressed: () async {
const AddParty().launch(context);