fixed zero to 0
This commit is contained in:
@@ -2581,13 +2581,21 @@ namespace rmutr_report.Controllers
|
||||
|
||||
foreach (var notation in government_budget.notations)
|
||||
{
|
||||
string bath = " บาท";
|
||||
int subrow = 1;
|
||||
notation.row_no = row.ToString();
|
||||
if (notation.row_no == "1")
|
||||
{
|
||||
notation.row_no = "หมายเหตุ : " + "1";
|
||||
}
|
||||
|
||||
if (notation.amount != null)
|
||||
{
|
||||
notation.amounts = bath;
|
||||
}
|
||||
if (notation.amount == null)
|
||||
{
|
||||
notation.amounts = null;
|
||||
}
|
||||
foreach (var notation2 in notation.notations_detail)
|
||||
{
|
||||
if (notation2.list != null && notation2.amount != null)
|
||||
|
||||
Reference in New Issue
Block a user