From 96d702d60c6be9000c9ac5ae32455ed9b781f26c Mon Sep 17 00:00:00 2001 From: Baroo Date: Fri, 6 Apr 2018 15:58:17 +0200 Subject: [PATCH] Fixed Preview view showing error notice while BillingRecords colletion being empty --- Adescom CTM Billings/Pages/Preview.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adescom CTM Billings/Pages/Preview.cshtml b/Adescom CTM Billings/Pages/Preview.cshtml index ffed3d7..24e2ec5 100644 --- a/Adescom CTM Billings/Pages/Preview.cshtml +++ b/Adescom CTM Billings/Pages/Preview.cshtml @@ -10,7 +10,7 @@ @Model.ExceptionMessage } -else if ((Model.ClientBilling == null) || (!Model.ClientBilling.BillingRecords.Any())) +else if (Model.ClientBilling == null) {
Błąd wyświetlania widoku podglądu