edit template
This commit is contained in:
parent
ae0056af1d
commit
087f759432
1 changed files with 12 additions and 15 deletions
|
|
@ -1637,24 +1637,21 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
|
|
||||||
return new
|
return new
|
||||||
{
|
{
|
||||||
template = "candidate",
|
template = "candidate-payment",
|
||||||
reportName = $"Candidate_{DateTime.Now.ToString("yyyyMMddHHmmssfff")}",
|
reportName = $"Candidate_{DateTime.Now.ToString("yyyyMMddHHmmssfff")}",
|
||||||
data = new
|
data = new
|
||||||
{
|
{
|
||||||
data = new
|
Remark = periodExam?.PeriodExam?.Remark ?? "-",
|
||||||
{
|
CompanyCode = periodExam?.PeriodExam?.CompanyCode ?? "-",
|
||||||
FeRemarke = periodExam?.PeriodExam?.Remark ?? "-",
|
PeriodExamBarCodes = (periodExam?.PeriodExam?.PeriodExamBarCodes[0]?.Document?.Id ?? null) == null ? "" : _minioService.ImagesPath(periodExam?.PeriodExam?.PeriodExamBarCodes[0]?.Document?.Id ?? Guid.Parse("00000000-0000-0000-0000-000000000000")).Result,
|
||||||
CompanyCode = periodExam?.PeriodExam?.CompanyCode ?? "-",
|
Reason = periodExam?.PeriodExam?.Reason ?? "-",
|
||||||
PeriodExamBarCodes = (periodExam?.PeriodExam?.PeriodExamBarCodes[0]?.Document?.Id ?? null) == null ? "" : _minioService.ImagesPath(periodExam?.PeriodExam?.PeriodExamBarCodes[0]?.Document?.Id ?? Guid.Parse("00000000-0000-0000-0000-000000000000")).Result,
|
RefNo1 = periodExam?.PeriodExam?.RefNo1 ?? "-",
|
||||||
Reason = periodExam?.PeriodExam?.Reason ?? "-",
|
PeriodExamQrCodes = (periodExam?.PeriodExam?.PeriodExamQrCodes[0]?.Document?.Id ?? null) == null ? "" : _minioService.ImagesPath(periodExam?.PeriodExam?.PeriodExamQrCodes[0]?.Document?.Id ?? Guid.Parse("00000000-0000-0000-0000-000000000000")).Result,
|
||||||
RefNo1 = periodExam?.PeriodExam?.RefNo1 ?? "-",
|
CitizenId = periodExam?.CitizenId ?? "-",
|
||||||
PeriodExamQrCodes = (periodExam?.PeriodExam?.PeriodExamQrCodes[0]?.Document?.Id ?? null) == null ? "" : _minioService.ImagesPath(periodExam?.PeriodExam?.PeriodExamQrCodes[0]?.Document?.Id ?? Guid.Parse("00000000-0000-0000-0000-000000000000")).Result,
|
FullName = $"{periodExam.PrefixName}{periodExam.FirstName} {periodExam.LastName}",
|
||||||
CitizenId = periodExam?.CitizenId ?? "-",
|
Fee = periodExam?.PeriodExam?.Fee?.ToString() ?? "-",
|
||||||
FullName = $"{periodExam.PrefixName}{periodExam.FirstName} {periodExam.LastName}",
|
Date = DateTime.Now.Date.ToThaiShortDate(),
|
||||||
Fee = periodExam?.PeriodExam?.Fee?.ToString() ?? "-",
|
FeeText = (periodExam?.PeriodExam?.Fee ?? null) == null ? "-" : periodExam?.PeriodExam?.Fee.Value.NumberToThaiText() ?? "-",
|
||||||
Date = DateTime.Now.Date.ToThaiShortDate(),
|
|
||||||
FeeText = (periodExam?.PeriodExam?.Fee ?? null) == null ? "-" : periodExam?.PeriodExam?.Fee.Value.NumberToThaiText() ?? "-",
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue