MH: Mobile Bugfix
This commit is contained in:
@@ -46,6 +46,15 @@ namespace MobileEV
|
||||
|
||||
foreach (var ip in pRO.ServiceInvoicePeriods)
|
||||
{
|
||||
foreach (var item in ip.ServiceInvoiceItems)
|
||||
{
|
||||
if (item.ServiceRecord == null)
|
||||
item.ServiceRecord = new ServiceRecordDC()
|
||||
{
|
||||
ServiceDescription = new ServiceDescriptionDC() { CategoryName = item.ServiceDescription != null ? item.ServiceDescription : ""}
|
||||
};
|
||||
}
|
||||
|
||||
ip.ServiceInvoiceItems = ip.ServiceInvoiceItems.OrderBy(sii => sii.ServiceRecord.ServiceDescription.CategoryName).ToList();
|
||||
|
||||
string kat = "";
|
||||
|
||||
Reference in New Issue
Block a user