-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cb2-9620): add in IVA30 fail path and start document creation (#95)
* feat(cb2-9260): create new document path and dummy template * feat(cb2-9260): add in content for handlebars file * feat(cb2-9620): start work on css for the iva30 * feat(cb2-9620): finish css work * feat(cb2-9620): refactor name based on PR feedback * feat(cb2-9620): fix import name --------- Co-authored-by: nbrown <Nathan.Brown@frasers.group>
- Loading branch information
1 parent
e90e578
commit 2b230af
Showing
6 changed files
with
283 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package uk.gov.dvsa.model.cvs; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import uk.gov.dvsa.model.Document; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class IVA30 extends Document { | ||
@JsonProperty("dummyProperty") | ||
private String dummyProperty; | ||
|
||
public String getDummyProperty() { | ||
return dummyProperty; | ||
} | ||
public IVA30 setDummyProperty(String dummyProperty) { | ||
this.dummyProperty = dummyProperty; | ||
return this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
|
||
@page { | ||
size: A4 portrait; | ||
margin: 20px 24px 0 24px; | ||
padding: 0; | ||
} | ||
|
||
p { margin:5px; } | ||
|
||
p, | ||
div, | ||
span { | ||
font-family: "Calibri", sans-serif; | ||
} | ||
|
||
h1 { | ||
font-size: 100%; | ||
} | ||
|
||
html, | ||
body { | ||
line-height: 1; | ||
margin: 0; | ||
-fs-page-sequence: start; | ||
page-break-inside: avoid; | ||
font-size: 90%; | ||
} | ||
|
||
*, | ||
:after, | ||
:before { | ||
box-sizing: border-box; | ||
line-height: 1; | ||
} | ||
|
||
.separate-page { | ||
page-break-after: always; | ||
} | ||
.section-border { | ||
border-style: solid; | ||
border-color: black grey grey grey; | ||
margin-bottom: 5px; | ||
} | ||
|
||
.section-title-border { | ||
border-style: solid; | ||
border-color: black; | ||
background-color: grey; | ||
font-weight:bold; | ||
text-align: center; | ||
margin-left: -2px; | ||
margin-top: -2px; | ||
} | ||
|
||
.section-title-border h1 { | ||
margin: 0px; | ||
padding: 0px; | ||
} | ||
|
||
.section-text-wrapper { | ||
padding: 3px; | ||
} | ||
|
||
.exam-list { | ||
width: 100%; | ||
} | ||
|
||
#left-exam-list { | ||
float: left; | ||
width: 50%; | ||
} | ||
|
||
#right-exam-list { | ||
float: right; | ||
width: 50%; | ||
} | ||
|
||
.footer { | ||
width: 100%; | ||
} | ||
|
||
#footer-left { | ||
float: left; | ||
text-align: left; | ||
width: 50%; | ||
} | ||
|
||
#footer-right { | ||
float: right; | ||
text-align: right; | ||
width: 40%; | ||
} | ||
|
||
#no-margin-p { | ||
margin: 0px; | ||
} | ||
|
||
.bold-title { | ||
font-size: 1.5em; | ||
} | ||
|
||
.vehicle-section-list { | ||
margin-top: 0px; | ||
padding-top: 0px; | ||
list-style-type: none; | ||
} | ||
.item-list { | ||
margin-left: 50px; | ||
margin-bottom: 0px; | ||
} | ||
|
||
.item-list li { | ||
white-space: pre-wrap; | ||
} | ||
|
||
.refusal-list { | ||
clear: both; | ||
} | ||
|
||
.refusal-list p { | ||
margin: 0px; | ||
clear: both; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html> | ||
<head> | ||
<title>IVA30</title> | ||
<style type="text/css" media="print, screen"> | ||
{{~> assets/stylesheets/iva-30 this}} | ||
</style> | ||
</head> | ||
|
||
|
||
<body> | ||
<div class="separate-page"> | ||
<!-- first box --> | ||
<div class="section-border"> | ||
<div class="section-title-border"> | ||
<h1>RE-EXAMINATION</h1> | ||
</div> | ||
<div class="section-text-wrapper"> | ||
<p> This notification indicates the items of non-compliance being the reason(s) | ||
why an Individual Approval Certificate (IAC) has not been issued. An application | ||
for re-examination can be made up to 6 calendar months following the issue date | ||
of the first "Notification of Refusal" in respect of the original application. | ||
In any other case, a new application and a full fee must be submitted.</p> | ||
<p> When modification/rectification has been completed, or additional evidence of | ||
compliance obtained, an application for a re-examination (verbally or in writing) | ||
should be made, in the case of an M1 or N1 vehicle class listed below, to attend at the test | ||
station that issued this notification and in respect of any other class or category, to | ||
the test station of your choice. To obtain a re-examination appointment please contact <strong>(0300) 200 1188</strong> </p> | ||
|
||
<div class="exam-list"> | ||
<ul id="left-exam-list"> | ||
<li>Amateur Built Vehicle</li> | ||
<li>Rebuilt Vehicle</li> | ||
<li>Motor Ambulance</li> | ||
<li>Motor Caravan</li> | ||
<li>Vehicle manufactured using parts of a registered vehicle</li> | ||
</ul> | ||
|
||
<ul id="right-exam-list"> | ||
<li>Disabled Person's Vehicle</li> | ||
<li>Hearse</li> | ||
<li>Armoured Vehicle</li> | ||
<li>Vehicle manufactured in very low volume</li> | ||
</ul> | ||
</div> | ||
|
||
<div class="refusal-list"> | ||
<p> Where a "Notification of Refusal" is issued, a further examination (a retest) will be carried | ||
out without further payment if: </p> | ||
<p> - the vehicle is submitted for the examination at the place where it was previously examined, and</p> | ||
<p> - the vehicle is submitted for examination before the end of the fifth day on which DVSA is accepting | ||
vehicles for inspection following the day of the original examination, and</p> | ||
<p> - in the case of any vehicle category, the application is due to a failure to provide sufficient | ||
documentary evidence before the examination to demonstrate compliance, or</p> | ||
<p> - in the case of an M1 or N1 category vehicle only, failure is due to one or more of the following | ||
items (subject to a maximum of six items)</p> | ||
</div> | ||
|
||
<ul class="item-list"> | ||
<li>Item 3 Fuel tanks/rear protective devices - fuel filer arrangements only;</li> | ||
<li>Item 4 Rear registration plate space - all requirements;</li> | ||
<li>Item 7 Audible warning - operation of audible warning device;</li> | ||
<li>Item 8 Indirect vision - all except field of view;</li> | ||
<li>Item 9 Braking - warning lamps only;</li> | ||
<li>Item 10 EMC - markings only;</li> | ||
<li>Item 12 Interior fittings - no more than 3 separate examples of failure to comply;</li> | ||
<li>Item 13 Anti-theft & immobiliser - all requirements;</li> | ||
<li>Item 16 Exterior projects - no more than 3 separate examples of failure to comply;</li> | ||
<li>Item 17 Speedometer - illumination only;</li> | ||
<li>Item 18 Plates - all requirements;</li> | ||
<li>Item 20-30 Lighting - all except angle of visibility and position;</li> | ||
<li>Item 31 Seat belts - child restraint warning label only;</li> | ||
<li>Item 33 Controls - no more than 3 separate examples of failure to comply;</li> | ||
<li>Item 34 Defrost/demist all requirements;</li> | ||
<li>Item 35 Wash/wipe - all requirements;</li> | ||
<li>Item 36 Heating - all requirements;</li> | ||
<li>Item 37 Wheel guards - all requirements;</li> | ||
<li>Item 45 Safety glass - approval marking only;</li> | ||
<li>Item 46 Tyres - approval marking, one example only;</li> | ||
|
||
</ul> | ||
</div> | ||
</div> | ||
<!-- second box --> | ||
<div class="section-border"> | ||
<div class="section-title-border"> | ||
<h1>USE OF THE VEHICLE</h1> | ||
</div> | ||
<div class="section-text-wrapper"> | ||
<p id="no-margin-p">It is an offence to use a vehicle that requires type approval without an Individual Approval | ||
Certificate confirming compliance with the type approval requirements, except for the purposes of:</p> | ||
<ul class="vehicle-section-list"> | ||
<li> - submitting it, by previous arrangement, for an approval examination;</li> | ||
<li> - bringing it away from such an examination;</li> | ||
<li> - delivering it, by previous arrangement, to a place where relevant work is to be done on it following | ||
receipt of a refusal to issue an Individual Approval Certificate;</li> | ||
<li> - bringing it away from a place where relevant work has been done on it.</li> | ||
</ul> | ||
<p>You may have been notified of defects in addition to those appertaining to the approval requirements. | ||
Even in the above circumstances you may be committing an offence if you use the vehicle, and it does | ||
not comply with the various regulations relating to its construction and use.</p> | ||
</div> | ||
</div> | ||
|
||
<!-- third box --> | ||
<div class="section-border"> | ||
<div class="section-title-border"> | ||
<h1>YOUR RIGHT TO APPEAL</h1> | ||
</div> | ||
<div class="section-text-wrapper"> | ||
|
||
<p>If you do not agree with the refusal to issue an Individual Approval Certificate, you may appeal. If you | ||
wish to appeal against all or any of the grounds for refusal you must complete form IVA17 which is | ||
available from the test location or from the gov.uk website <strong>www.gov.uk/vehicleapproval</strong>. The form, together | ||
with the appropriate fee, must be received at the Vehicle Approvals Section, DVSA, Ellipse, Padley | ||
Road, Swansea, SA1 8AN within 14 days of the date the original notification of refusal was issued.</p> | ||
|
||
<p>It is important that no modification/rectification work carried out on the vehicle before the appeal | ||
test as this may affect the outcome of the appeal.</p> | ||
</div> | ||
</div> | ||
|
||
<!-- footer --> | ||
<div class="footer"> | ||
<p id="footer-left"> <strong class="bold-title">IVA 30E</strong> (DVSA 0211) </p> | ||
<p id="footer-right"> Version 2.3 (30/11/2022) </p> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |