Flo Smilari преди 4 години
родител
ревизия
4156755688

+ 2
- 2
Pages/CaritasServiceFundVeloAlternatePickupContactPage.razor Целия файл

<div class="row no-gutters w-100"> <div class="row no-gutters w-100">
<div class="col-12"> <div class="col-12">
<MatSelect Class="w-100 required" Label="@i18n["Salutation"]" Outlined="true" @bind-Value="pucSalutation" Required="true" Style="margin-bottom: 0.5rem"> <MatSelect Class="w-100 required" Label="@i18n["Salutation"]" Outlined="true" @bind-Value="pucSalutation" Required="true" Style="margin-bottom: 0.5rem">
<MatOptionString Value="sir">@i18n["Man"]</MatOptionString>
<MatOptionString Value="madam">@i18n["Woman"]</MatOptionString>
<MatOptionString Value="M">@i18n["Male"]</MatOptionString>
<MatOptionString Value="F">@i18n["Female"]</MatOptionString>
</MatSelect> </MatSelect>
</div> </div>
</div> </div>

+ 2
- 2
Pages/CaritasServiceFundVeloFoundKeyDataPage.razor Целия файл

report.GeographicInfo.Latitude = bicycleGeoPosition.Latitude; report.GeographicInfo.Latitude = bicycleGeoPosition.Latitude;
report.GeographicInfo.Longitude = bicycleGeoPosition.Longitude; report.GeographicInfo.Longitude = bicycleGeoPosition.Longitude;
report.FotoString = imgUrl; report.FotoString = imgUrl;
report.FarbeId = selectedColor != null ? selectedColor.Id : -1;
report.TypId = selectedBcType != null ? selectedBcType.Id : -1;
report.FarbeId = selectedColor != null ? selectedColor.Id : null;
report.TypId = selectedBcType != null ? selectedBcType.Id : null;
if (SelectedBrand != null) { if (SelectedBrand != null) {
if (SelectedBrand.Id == -999) { if (SelectedBrand.Id == -999) {
report.NeueMarke = SelectedBrand.Bezeichnung; report.NeueMarke = SelectedBrand.Bezeichnung;

+ 2
- 2
Shared/Models/FoundReport.cs Целия файл

public string AbholTelefon { get; set; } public string AbholTelefon { get; set; }
public FoundReport() : this("", "", "", true, -1, -1, -1, new GeographicInfo()) {
public FoundReport() : this("", "", "", true, null, null, null, new GeographicInfo()) {
} }
public FoundReport(string anrede, string vorname, string nachname, bool abholadresseIstKontakt, int typId, int markeId, int farbeId, GeographicInfo geographicInfo) {
public FoundReport(string anrede, string vorname, string nachname, bool abholadresseIstKontakt, int? typId, int? markeId, int? farbeId, GeographicInfo geographicInfo) {
this.Anrede = anrede; this.Anrede = anrede;
this.Vorname = vorname; this.Vorname = vorname;
this.Nachname = nachname; this.Nachname = nachname;

+ 2
- 2
Shared/Models/MissingReport.cs Целия файл

public string SuchDienstNr { get; set; } public string SuchDienstNr { get; set; }
public MissingReport() : this("", "", "", "", "", "", "", -1, -1, -1) {
public MissingReport() : this("", "", "", "", "", "", "", null, null, null) {
} }
public MissingReport(string anrede, string vorname, string nachname, string mail, string personPLZ, public MissingReport(string anrede, string vorname, string nachname, string mail, string personPLZ,
string personOrt, string personStrasse, int typId, int markeId, int farbeId) {
string personOrt, string personStrasse, int? typId, int? markeId, int? farbeId) {
this.Anrede = anrede; this.Anrede = anrede;
this.Vorname = vorname; this.Vorname = vorname;
this.Nachname = nachname; this.Nachname = nachname;

+ 3
- 3
Shared/Models/Report.cs Целия файл

public string Nachname { get; set; } // required public string Nachname { get; set; } // required
public string Mobil { get; set; } public string Mobil { get; set; }
public string Telefon { get; set; } public string Telefon { get; set; }
public int TypId { get; set; } // required
public int MarkeId { get; set; } // required
public int FarbeId { get; set; } // required
public int? TypId { get; set; } // required
public int? MarkeId { get; set; } // required
public int? FarbeId { get; set; } // required
public string RahmenNummer { get; set; } public string RahmenNummer { get; set; }
public string Bemerkung { get; set; } public string Bemerkung { get; set; }
public string Foto { get; set; } public string Foto { get; set; }

+ 1
- 1
Shared/Models/ReportResponse.cs Целия файл

public string GetDataAsFormattedList() { public string GetDataAsFormattedList() {
string result = ""; string result = "";
foreach (string s in Data) { foreach (string s in Data) {
result += s + "\r\n";
result += s + '\r'+'\n';
} }
return result; return result;
} }

Loading…
Отказ
Запис