Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idcardurl2 firebase rules #199

Merged
merged 2 commits into from
Jul 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/provider/concession_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ConcessionProvider extends StateNotifier<String> {
super("");

Future applyConcession(ConcessionDetailsModel concessionDetails,
File idCardPhoto,File idCardPhoto2, File previousPassPhoto, BuildContext context) async {
File idCardPhoto,File idCardPhotoTemp2, File previousPassPhoto, BuildContext context) async {
// concessionDetails.status = ConcessionStatus.unserviced;
// concessionDetails.statusMessage =
// await _concessionService.getWaitingMessage();
Expand All @@ -55,7 +55,7 @@ class ConcessionProvider extends StateNotifier<String> {
concessionDetailsData.idCardURL =
await _concessionService.uploadPhoto(idCardPhoto, "idCard");
final idCardURL2 =
await _concessionService.uploadPhoto(idCardPhoto2, "idCard");
await _concessionService.uploadPhoto(idCardPhotoTemp2, "idCard2");
concessionDetailsData.previousPassURL =
await _concessionService.uploadPhoto(previousPassPhoto, "prevpass");
await _concessionService.applyConcession(concessionDetailsData,idCardURL2);
Expand Down
Loading