This commit is contained in:
@@ -47,13 +47,17 @@ namespace rmutr_report.Controllers
|
||||
{
|
||||
faculty.total_budget = faculty.unit_price;
|
||||
}
|
||||
|
||||
foreach (var assetList in faculty.asset_lists)
|
||||
{
|
||||
if (assetList.total<=10)
|
||||
{
|
||||
assetList.total = assetList.unit_price;
|
||||
}
|
||||
|
||||
if (assetList.total==null&&assetList.amount==1)
|
||||
{
|
||||
assetList.total = assetList.unit_price;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user