diff --git a/Views/Vehicle/_ServiceRecordModal.cshtml b/Views/Vehicle/_ServiceRecordModal.cshtml index c40c1bd..e95174f 100644 --- a/Views/Vehicle/_ServiceRecordModal.cshtml +++ b/Views/Vehicle/_ServiceRecordModal.cshtml @@ -1,6 +1,9 @@ @model ServiceRecordInput +@{ + var isNew = Model.Id == 0; +}