
        /*
        $price = db_query("select *,(nosplate+vreg+regbooklet+vlicense+rworthiness+hpermit) as subTotal,
(bankCharges+transactionCharges+eSystemsCharges+agentCharges) as serviceCharges
 from _price where title = '$vehicleTitle'")->fetchObject();
        */

        // $entity->vehicleID->value = $form_state->getValue('vehicleID')[0]['target_id'];

        /*


        $price->sub_total = ($price->nosplate + $price->vreg + $price->regbooklet + $price->poc + $price->lpermit + $price->vlicense + $price->rworthiness + $price->hpermit);
        $price->serviceCharge = ($price->bankCharges + $price->transactionCharges + $price->eSystemsCharges + $price->agentCharges);
        $price->total = ($price->sub_total + $price->serviceCharge);
        */



        /*
        if ($this->regType->value =='renew') {
          $price->sub_total = ($price->vreg + $price->lpermit + $price->vlicense + $price->hpermit);
          $price->serviceCharge = ($price->bankCharges + $price->transactionCharges + $price->eSystemsCharges + $price->agentCharges);
          $price->serviceCharge = $price->serviceCharge - 1500;
          $price->total = ($price->sub_total + $price->serviceCharge);
        }
        */

       // $this->Amount->value = $price->total;

        //$link_title = $vehicletitleId->toString();
        //echo $vehicletitleId;
        //exit();
        //$total = db_query("select (nosplate+vreg+regbooklet+poc+lpermit+vlicense+rworthiness+hpermit+bankCharges+transactionCharges+eSystemsCharges+agentCharges) as total from _price where id = $vehicletitleId")->fetchField();

