public ActionResult CompleteVehicle(int invoiceId)
        {
            var invoice = InvoiceServices.CompleteInvoice(invoiceId);

            if (string.IsNullOrEmpty(invoice.StockNumber))
            {
                throw new InvalidOperationException("The stock number cannot be empty");
            }

            NavigationServices.RemoveVehicleFromInShopList(base.LocationId, invoice);
            NavigationServices.AddVehicleToCompletedTodayList(base.LocationId, invoice);

            return(Json("ok"));
        }