codigo actual del servidor, con avances de joan

This commit is contained in:
Jose Sanchez
2023-08-07 15:52:04 -04:00
commit 3cd9b8bbe8
3070 changed files with 532255 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import 'package:active_ecommerce_seller_app/custom/localization.dart';
import 'package:one_context/one_context.dart';
class PaymentStatus {
String option_key;
String name;
PaymentStatus(this.option_key, this.name);
static List<PaymentStatus> getPaymentStatusList() {
return <PaymentStatus>[
PaymentStatus('', LangText(context: OneContext().context).getLocal()!.all_ucf),
PaymentStatus('paid', LangText(context: OneContext().context).getLocal()!.paid_ucf),
PaymentStatus('unpaid', LangText(context: OneContext().context).getLocal()!.unpaid_ucf),
];
}
static List<PaymentStatus> getPaymentStatusListForUpdater() {
return <PaymentStatus>[
PaymentStatus('paid', LangText(context: OneContext().context).getLocal()!.paid_ucf,),
PaymentStatus('unpaid', LangText(context: OneContext().context).getLocal()!.unpaid_ucf),
];
}
}