Skip to content

Commit 055cf94

Browse files
PG-Momikaashish-t-magar
authored andcommitted
Added missing validation : single_allocated_region_total_mismatch
1 parent 532e5f7 commit 055cf94

File tree

9 files changed

+747
-448
lines changed

9 files changed

+747
-448
lines changed

app/Http/Requests/Activity/RecipientRegion/RecipientRegionRequest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ public function getWarningForRecipientRegion(array $formFields, bool $fileUpload
149149
return false;
150150
});
151151

152+
Validator::extend('single_allocated_region_total_mismatch', function () {
153+
return false;
154+
});
155+
152156
Validator::extend('sum_greater_than', function () {
153157
return false;
154158
});

lang/en/common.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,5 +318,6 @@
318318
'import_activities_from_xls' => 'IMPORT ACTIVITIES FROM .XLS',
319319
'xls' => 'XLS',
320320
'to' => 'to',
321-
'retry'=>'Retry'
321+
'retry'=>'Retry',
322+
'administrative'=>'Administrative'
322323
);

lang/es/common.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,5 +330,6 @@
330330
'import_activities_from_xls' => 'IMPORTAR ACTIVIDADES DE XLS',
331331
'xls' => 'XLS',
332332
'to'=> 'a',
333-
'retry'=>'Rever'
333+
'retry'=>'Rever',
334+
'administrative'=>'Administrativo'
334335
);

lang/fr/common.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,5 +330,6 @@
330330
'import_activities_from_xls' => 'IMPORTER ACTIVITÉS DE XLS',
331331
'xls' => 'XLS',
332332
'to' => 'à',
333-
'retry'=>'Recommencez'
333+
'retry'=>'Recommencez',
334+
'administrative'=>'Administratif'
334335
);

public/js/app.js

Lines changed: 10 additions & 10 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)