Merge branch 'develop' into work

This commit is contained in:
Kittapath 2023-10-03 15:48:24 +07:00
commit cb3c877c29
16 changed files with 5 additions and 5 deletions

View file

@ -45,7 +45,7 @@ namespace BMA.EHR.Application.Repositories.Reports
.Where(x => x.Id == id)
.FirstOrDefaultAsync();
var currentdate = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")).ToThaiFullDate().ToString().ToThaiNumber().Remove(0, 16);
var currentdate = DateTime.Parse(DateTime.Now.ToString("yyyy-MM")).ToThaiFullDate().ToString().ToThaiNumber().Remove(0, 15);
return new
{
CurrentDate = currentdate,
@ -62,7 +62,7 @@ namespace BMA.EHR.Application.Repositories.Reports
.Include(x => x.Profile)
.Where(x => x.Id == id)
.FirstOrDefaultAsync();
var currentdate = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")).ToThaiFullDate().ToString().ToThaiNumber().Remove(0, 16);
var currentdate = DateTime.Parse(DateTime.Now.ToString("yyyy-MM")).ToThaiFullDate().ToString().ToThaiNumber().Remove(0, 15);
return new
{
CurrentDate = currentdate,
@ -79,7 +79,7 @@ namespace BMA.EHR.Application.Repositories.Reports
.Include(x => x.Profile)
.Where(x => x.Id == id)
.FirstOrDefaultAsync();
var currentdate = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")).ToThaiFullDate().ToString().ToThaiNumber().Remove(0, 16);
var currentdate = DateTime.Parse(DateTime.Now.ToString("yyyy-MM")).ToThaiFullDate().ToString().ToThaiNumber().Remove(0, 15);
return new
{
CurrentDate = currentdate,
@ -101,7 +101,7 @@ namespace BMA.EHR.Application.Repositories.Reports
.Include(x => x.Profile)
.Where(x => x.Id == id)
.FirstOrDefaultAsync();
var currentdate = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")).ToThaiFullDate().ToString().ToThaiNumber().Remove(0, 16);
var currentdate = DateTime.Parse(DateTime.Now.ToString("yyyy-MM")).ToThaiFullDate().ToString().ToThaiNumber().Remove(0, 15);
return new
{
CurrentDate = currentdate,
@ -123,7 +123,7 @@ namespace BMA.EHR.Application.Repositories.Reports
.Include(x => x.Profile)
.Where(x => x.Id == id)
.FirstOrDefaultAsync();
var currentdate = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")).ToThaiFullDate().ToString().ToThaiNumber().Remove(0, 16);
var currentdate = DateTime.Parse(DateTime.Now.ToString("yyyy-MM")).ToThaiFullDate().ToString().ToThaiNumber().Remove(0, 15);
return new
{
CurrentDate = currentdate,