Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
reverted mdms V2
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldevgarg committed Mar 11, 2024
1 parent 18293e9 commit 36dc83a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ class ConsumerProvider with ChangeNotifier {
List<TaxPeriod> getLastFinancialYearList(int count) {
return getFinancialYearList().length>count?getFinancialYearList().sublist(0,count):getFinancialYearList();
}
List<Map<String,dynamic>> newFunction({int pastMonthCount = 2}){
List<Map<String,dynamic>> newBillingCycleFunction({int pastMonthCount = 2}){
List<TaxPeriod> financialYears = getFinancialYearList();
var dates = <Map<String,dynamic>>[];
financialYears.forEach((year) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ class _ConsumerDetailsState extends State<ConsumerDetails> {
consumerProvider
.onChangeBillingCycle,
consumerProvider
.newFunction(),
.newBillingCycleFunction(),
true,
itemAsString: (i) =>"${ApplicationLocalizations.of(context).translate(i['name'])}",
controller: consumerProvider
Expand Down
2 changes: 1 addition & 1 deletion frontend/mgramseva/lib/services/urls.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Url {

static const String LOCALIZATION = 'localization/messages/v1/_search';

static const String MDMS = 'mdms-v2/v1/_search';
static const String MDMS = 'egov-mdms-service/v1/_search';
static const String FILE_UPLOAD = 'filestore/v1/files';
static const String FILE_FETCH = 'filestore/v1/files/url';
static const String URL_SHORTNER = 'egov-url-shortening/shortener';
Expand Down

0 comments on commit 36dc83a

Please sign in to comment.