HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /var/www/html/taxicamera/application/views/admin/layouts/driver/generate_agreement.php
<style>
input#crop {
    padding: 5px;
    background: lightseagreen;
    border: #485c61 1px solid;
    color: #FFF;
    visibility: hidden;
    width:20%;
    height:20%;
    margin:10px;
    font-size: 12px;
}

#cropped_img {
    margin-top: 40px;
}

.uploadblock_section {
    width: 33%;
    float: left;
    margin: -22px 0px 5px 14px;
    position: relative;
    padding: 4px;
    background: #239c91;
    border-radius: 5px;
    font-size: 14px;
}

</style>
<div class="main-content">
	<div class="content-wrapper">
		<div class="container-fluid">
			<section id="basic-form-layouts">
				<div class="row">
					<div class="col-md-12">
						<div class="card">
							<div class="clearfix"></div>
							<div class="card-header">
								<div class="page-title-wrap">
									<h4 class="card-title">Driver Agreement</h4>
								</div>
							</div>
							<div class="card-body">
								<div class="px-3">
									<form id="driver_agreement" method="post" name="driver_agreement" action="<?php echo base_url().'admin/driver/generateAgreement';?>">
										<div class="body_wrapper" style="border: 1px solid #ccc;padding: 20px;width:100%;margin: 40px auto;">	
											<div style="width: 100%;display: inline-block;">
												<label style="width: 100%; padding: 0 0 5px;display: block;">Operator/Company name</label>
												<input name="operator_name" type="text" style="width: 100%;height: 35px;border: 1px solid #ccc;box-sizing: border-box;padding: 0 0 0 12px;margin: 0 0 15px;" value="AS MENTION IN PART B – SCHEDULE "/>
												<label style="width: 100%; padding: 0 0 5px;display: block;">Address details</label>
												<!--<textarea name="operator_addr" style="width: 49%;float: left;height: 180px;border:1px solid #ccc;padding: 10px 0 0 12px;box-sizing: border-box;resize: none;"></textarea>-->
												<textarea style="width: 100%;float: right;height: 180px;border:1px solid #ccc;padding: 10px 0 0 12px;box-sizing: border-box;resize: none;">The content of this template agreement is provided for information purposes only. No claim is made as to the accuracy or authenticity of the content of the template agreement at any time. The Victorian Government and this agency (TSC) does not accept liability to any person for the information, or the use of such information, provided in this template agreement. Nothing in the template agreement constitutes, or is meant to constitute, advice of any kind. If you require advice in relation to any legal matter you should consult an appropriate professional.
												</textarea>
											</div>
											<div style="width: 100%;display: inline-block;margin-top: 20px;">
												<h2 style="color:#fff;padding:0 0 0 12px;line-height: 35px;font-size: 20px;margin: 0 0 20px;background: #6aa8ba;">Table of Contents</h2>
												<p><strong>Part A – Introduction <span style="display: inline-block;border-bottom: 1px dotted #000;width: 78%;"></span><span style="width: auto;float: right;">3</span></strong></p>
												<p>Check list (tick once completed) <span style="display: inline-block;border-bottom: 1px dotted #000;width: 70%;"></span><span style="width: auto;float: right;">3</span>
												<br>Disputes about this Agreement <span style="display: inline-block;border-bottom: 1px dotted #000;width: 71%;"></span> <span style="width: auto;float: right;">3</span></p>
												<p><strong>Part B – Schedule<span style="display: inline-block;border-bottom: 1px dotted #000;width: 82%;"></span><span style="width: auto;float: right;">4</span></strong></p>
												<p>Item 1. Operator details<span style="display: inline-block;border-bottom: 1px dotted #000;width: 78%;"></span> <span style="width: auto;float: right;">4</span>
												<br>Item 2. Driver details<span style="display: inline-block;border-bottom: 1px dotted #000;width: 80%;"></span> <span style="width: auto;float: right;">4</span>
												<br>Item 3. Taxi details<span style="display: inline-block;border-bottom: 1px dotted #000;width: 81%;"></span> <span style="width: auto;float: right;">4</span>
												<br>Item 4. Time, place and method of payment to Operator<span style="display: inline-block;border-bottom: 1px dotted #000;width: 50%;"></span> <span style="width: auto;float: right;">5</span>
												<br>Item 5. Duration of Agreement<span style="display: inline-block;border-bottom: 1px dotted #000;width: 71%;"></span> <span style="width: auto;float: right;">5</span>
												<br>Item 6. Garage<span style="display: inline-block;border-bottom: 1px dotted #000;width: 86%;"></span> <span style="width: auto;float: right;">5</span>
												<br>Item 7. Bond <span style="display: inline-block;border-bottom: 1px dotted #000;width: 87%;"></span> <span style="width: auto;float: right;">5</span>
												<br>Item 8: Insurance policy details<span style="display: inline-block;border-bottom: 1px dotted #000;width: 72%;"></span> <span style="width: auto;float: right;">5</span>
												<br>Item 9. Additional terms<span style="display: inline-block;border-bottom: 1px dotted #000;width: 77%;"></span> <span style="width: auto;float: right;">5</span></p>
												<p><strong>Part C – General conditions <span style="display: inline-block;border-bottom: 1px dotted #000;width: 72%;"></span><span style="width: auto;float: right;">6</span></strong></p>
												<p>1. Background  <span style="display: inline-block;border-bottom: 1px dotted #000;width: 85%;"></span> <span style="width: auto;float: right;">6</span>
												<br>2. Possession and use of Taxi <span style="display: inline-block;border-bottom: 1px dotted #000;width: 72%;"></span> <span style="width: auto;float: right;">6</span>
												<br>3. Life of agreement<span style="display: inline-block;border-bottom: 1px dotted #000;width: 81%;"></span><span style="width: auto;float: right;">6</span>
												<br>4. Parties’ earnings<span style="display: inline-block;border-bottom: 1px dotted #000;width: 82%;"></span> <span style="width: auto;float: right;">6</span>
												<br>5. Maintenance costs<span style="display: inline-block;border-bottom: 1px dotted #000;width: 80%;"></span> <span style="width: auto;float: right;">6</span>
												<br>6. Insurance<span style="display: inline-block;border-bottom: 1px dotted #000;width: 88%;"></span> <span style="width: auto;float: right;">7</span>
												<br>7. Disputes<span style="display: inline-block;border-bottom: 1px dotted #000;width: 89%;"></span><span style="width: auto;float: right;">7</span>
												<br>8. Driver’s leave entitlements<span style="display: inline-block;border-bottom: 1px dotted #000;width: 72%;"></span><span style="width: auto;float: right;">8</span>
												<br>9. Termination<span style="display: inline-block;border-bottom: 1px dotted #000;width: 86%;"></span> <span style="width: auto;float: right;">8</span>
												<br>10. Bond<span style="display: inline-block;border-bottom: 1px dotted #000;width: 90%;"></span> <span style="width: auto;float: right;">8</span>
												<br>11. Control of Taxi<span style="display: inline-block;border-bottom: 1px dotted #000;width: 82%;"></span> <span style="width: auto;float: right;">8</span>
												<br>12. Driver obligations<span style="display: inline-block;border-bottom: 1px dotted #000;width: 80%;"></span> <span style="width: auto;float: right;">9</span>
												<br>13. Operator obligations<span style="display: inline-block;border-bottom: 1px dotted #000;width: 77%;"></span> <span style="width: auto;float: right;">10</span>
												<br>14. Mutual obligations<span style="display: inline-block;border-bottom: 1px dotted #000;width: 78%;"></span> <span style="width: auto;float: right;">10</span>
												<br>15. Driver’s statements<span style="display: inline-block;border-bottom: 1px dotted #000;width: 78%;"></span> <span style="width: auto;float: right;">10</span>
												<br>16. Operator’s statements<span style="display: inline-block;border-bottom: 1px dotted #000;width: 76%;"></span> <span style="width: auto;float: right;">11</span>
												<br>17. Recovery of losses<span style="display: inline-block;border-bottom: 1px dotted #000;width: 78%;"></span> <span style="width: auto;float: right;">11</span>
												<br>18. Surveillance<span style="display: inline-block;border-bottom: 1px dotted #000;width: 84%;"></span> <span style="width: auto;float: right;">11</span>
												<br>19. Goods and services tax (GST)<span style="display: inline-block;border-bottom: 1px dotted #000;width: 69%;"></span> <span style="width: auto;float: right;">11</span>
												<br>20. Variations and additional terms<span style="display: inline-block;border-bottom: 1px dotted #000;width: 68%;"></span> <span style="width: auto;float: right;">11</span>
												<br>21. Entire agreement<span style="display: inline-block;border-bottom: 1px dotted #000;width: 80%;"></span> <span style="width: auto;float: right;">11</span></p>
												<p><strong>Part D – Definitions<span style="display: inline-block;border-bottom: 1px dotted #000;width: 79%;"></span><span style="width: auto;float: right;">12</span></strong></p>
												<p><strong>Part E – Attachments<span style="display: inline-block;border-bottom: 1px dotted #000;width: 78%;"></span><span style="width: auto;float: right;">13</span></strong></p>
												<p><strong>Part F – Signing<span style="display: inline-block;border-bottom: 1px dotted #000;width: 82%;"></span><span style="width: auto;float: right;">14</span></strong></p>
											</div>
											<div style="width: 100%;display: inline-block;margin-top: 20px;">
												<h2 style="color:#fff;padding:0 0 0 12px;line-height: 35px;font-size: 20px;margin: 0 0 20px;background: #6aa8ba;">Part A – Introduction</h2>
												<p style="font-size: 17px;"><strong>Please read this document from start to finish before filling it out.</strong></p>
												<p>Two copies of this Driver Agreement must be completed and signed. The Driver must keep one signed copy and the Operator must keep the other signed copy.</p>
												<p>Capitalised words in this Agreement have special meanings. These are explained in Part D.</p>
												<p>This document is a legal document. The Operator <strong>SHOULD NOT</strong> allow the Driver to drive his or her Taxi unless the Driver has signed
												this Agreement.</p>
												<p>If either party is concerned about this document, they should seek advice from a lawyer before signing it or entering into an
												arrangement where one party takes possession of the other party’s Taxi to operate the Taxi.</p>
												<p style="font-size: 17px;"><strong>Check list (tick once completed)</strong></p>
												<span style="width: 100%;display: inline-block;padding: 0 0 6px;">Have both parties completed the Schedule to this Agreement (Part B)? <input style="width: auto;float: right;" type="checkbox" /></span>
												<span style="width: 100%;display: inline-block;padding: 0 0 6px;">Does the Agreement include all the matters the parties have agreed on? <input style="width: auto;float: right;" type="checkbox" /></span>
												<span style="width: 100%;display: inline-block;padding: 0 0 6px;">Have both the Operator and the Driver signed and dated this Agreement? <input style="width: auto;float: right;" type="checkbox" /></span>
												<span style="width: 100%;display: inline-block;padding: 0 0 6px;">Has the Driver been given a copy of the completed Agreement for his/her records? <input style="width: auto;float: right;" type="checkbox" /></span>
												<span style="width: 100%;display: inline-block;padding: 0 0 6px;">Is the Driver aware of dispute resolution options? <input style="width: auto;float: right;" type="checkbox" /></span>
												<p style="font-size: 17px;"><strong>Disputes about this Agreement</strong></p>
												<p>If a dispute arises between the parties, they must follow the dispute resolution process in clause 7 of this Agreement. That clause requires
												the parties to meet to try to resolve the dispute <strong>within seven days</strong> (or longer period agreed between the parties) of one party giving
												notice (which must be written notice if the dispute relates to the bond) to the other party that a dispute has arisen. If the parties are unable
												to resolve the dispute at the meeting, they can use the dispute resolution process set out in Part VI, Division 5C, Subdivision 2A of the
												Transport (Compliance and Miscellaneous) Act 1983, referred to as the TCMA.</p>
												<p>For example, the parties can refer the dispute to the TSC at www.taxi.vic.gov.au or 1800 638 802. The TSC will assess the nature of each
												dispute and may take one of a number of actions, including taking compliance action where there has been a clear breach of one of the
												implied conditions of the Agreement.</p>
												<p>If the parties are still unable to resolve the dispute following preliminary assistance from the TSC, the TSC may issue a certificate allowing
												one or both of the parties to refer the dispute to the Small Business Commissioner or the Victorian Civil and Administrative Tribunal. Details
												of each office are listed below.</p>
												<p>Further detail on dispute resolution can be found in Part C, clause 7.</p>
												<p>The parties should always seek professional legal advice if they are unsure about what to do.</p>
												<p style="font-size: 17px;"><strong>Office of the Victorian Small Business Commissioner</strong></p>
												<p>The Office of the Victorian Small Business Commissioner (VSBC) is an independent body established to enhance a competitive and
												fair operating environment for small business. This includes Drivers and Operators.</p>
												<p>Under the TCMA, the VSBC can provide alternative dispute resolution for disputes referred to it by a party to a Driver Agreement.</p>
												<p style="font-size: 17px;"><strong>Victorian Civil and Administrative Tribunal</strong></p>
												<p>The Victorian Civil and Administrative Tribunal (VCAT) deals with some disputes about commercial agreements.</p>
											</div>
											<div style="width: 100%;display: inline-block;margin-top: 20px;">
												<h2 style="color:#fff;padding:0 0 0 12px;line-height: 35px;font-size: 20px;margin: 0 0 20px;background: #6aa8ba;">Part B – Schedule</h2>
												<div id="company_detail_div">
													<div class="company_detail_class">
														<label style="width:35%;float: right;line-height: 35px;"><a href="Javascript:void(0);" id="1" class="add_more_comp" style="background: #239c91;padding: 0 30px;display: inline-block;color: #fff;float:right; border-radius: 3px; font-size: 15px;text-decoration: none;">Add More</a></label>
														<h4>Company 1:</h4>
														<input type="hidden" id="company_cont" value="1">
														<p><strong>Item 1. Operator details</strong></p>
														<div style="width:100%;display: inline-block;margin: 0 0 10px;">
															<label style="width:22%;float: left;line-height: 35px;">Company Name<span style="color:red">*</span></label>
															<select id="company_id" name="company_id[]" class="select_company" required name="" style="width:42%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;">
												                <option value="">Select Company</option>
												                <?php foreach($company_list as $company){?>
												                    <option value="<?=$company['company_id']?>"><?=$company['company_name']?></option>
												                <?php } ?>
															</select>
															<span></span>													
														</div>												
														<div style="width:100%;display: inline-block;margin: 0 0 10px;">
															<div style="width: 65%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Business name</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="comp_business_name" name="compny_business_name[]" type="text" placeholder="" readonly/>
															</div>
															<div style="width: 33%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Australian Business Number (ABN)</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="comp_business_ABN" name="compny_business_ABN[]" type="text" placeholder="" readonly/>
															</div>
														</div>
														<div style="width:100%;display: inline-block;margin: 0 0 10px;">
															<div style="width: 65%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Company name</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" id="frt_comp_name" class="comp_name" name="compny_name[]" value="" type="text" placeholder="" readonly readonly/>
																<input type="hidden" id="compny_id" class="comp_id" value="">
															</div>
															<div style="width: 33%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Australian Company Number (ACN)</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" id="first_comp_ACN" class="comp_ACN" name="compny_ACN[]" type="text" placeholder="" readonly/>
															</div>
														</div>
														
														<div style="width:100%;display: inline-block;margin: 0 0 10px;">
															<div style="width: 49%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Telephone (business)</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="comp_ph" name="compny_ph[]" type="text" placeholder="" readonly/>
															</div>
															<div style="width: 49%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Telephone (home)</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="comp_home_ph" name="compny_home_ph[]" type="text" placeholder="" readonly/>
															</div>
														</div>
														<input type="hidden" id="frst_comp_rsp_name" class="comp_rsp_name" value="">
														<input type="hidden" id="frst_comp_rsp_signature" class="comp_rsp_signature" value="">
														<div style="width:100%;display: inline-block;margin: 0 0 10px;">															
															<div style="width: 98%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Email</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="comp_email" name="compny_email[]" type="email" placeholder="" readonly/>
															</div>
														</div>
															<div style="width:100%;display: inline-block;margin: 0 0 10px;">
															<div style="width: 63%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Operator accreditation number</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="comp_accreditation_number" name="compny_accreditation_number[]" type="text" placeholder="" readonly/>
															</div>
															<div style="width: 35%;float: left;margin-right: 6px;">
																<div class="form-group">
													                <label style="display: block;padding: 0 0 5px;width: 100%:">Expiry date</label>
													                <div class="input-group">
													                  <div class="input-group-prepend">
													                    <span class="input-group-text">
													                      <span class="fa fa-calendar-o"></span>
													                    </span>
													                  </div>
													                  <input type='text' style="border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="comp_expiry_date pickadate" name="compny_expiry_date[]" placeholder="DD/MM/YYYY" readonly/>
													                </div>
												                </div>
															</div>
														</div>
														<p style="margin-bottom: 0;"><strong>Address Details:</strong>
															<hr style="width: 98.8%; float: left;margin-bottom: .7rem;border: 0;border-top: 1px solid rgba(0,0,0,.1);">
														</p>
														
														<div style="width:100%;display: inline-block;margin: 0 0 10px;">
															<div style="width: 49%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Unit No. / Flat No.</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="comp_flat_no" name="compny_flat_no[]" type="text" placeholder="" readonly/>
															</div>
															<div style="width: 49%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Street No.</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="comp_street_no" name="compny_street_no[]" type="text" placeholder="" readonly/>
															</div>
														</div>
														
														<div style="width:100%;display: inline-block;margin: 0 0 10px;">
															<div style="width: 98.6%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Street Name</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="comp_street_name" name="compny_street_name[]" type="text" placeholder="" readonly/>
															</div>
														</div>
														<div style="width:100%;display: inline-block;margin: 0 0 10px;">
															<div style="width: 65%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Suburb</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="comp_suburb" name="compny_suburb[]"  type="text" placeholder="" readonly/>
															</div>
															<div style="width: 33%;float: left;margin-right: 6px;">
																<label style="display: block;padding: 0 0 5px;width: 100%:">Postcode</label>
																<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="comp_postcode" name="compny_postcode[]" type="text" placeholder="" readonly />
															</div>
														</div>
													</div>
												</div>
												<hr style="border-top: dotted 1px;" /><!--************************* Repeat Add More ********************************-->
												
												<p><strong>Item 2. Driver details</strong></p>
												
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<div style="width: 29%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">First Name</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_first_name" type="text" placeholder="" value="<?php if(!empty($driver_details) && !empty($driver_details['first_name'])): echo ucfirst($driver_details['first_name']); endif;?>" readonly />
													</div>
													<div style="width: 29%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Middle Name</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_middle_name" type="text" placeholder="" value="<?php if(!empty($driver_details) && !empty($driver_details['middle_name'])): echo ucfirst($driver_details['middle_name']); endif;?>" readonly />
													</div>
													<div style="width: 19%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Last Name</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_last_name" type="text" placeholder="" value="<?php if(!empty($driver_details) && !empty($driver_details['last_name'])): echo ucfirst($driver_details['last_name']); endif;?>" readonly/>
													</div>
													<div style="width: 20%;float: left;margin-right: 6px;">
														<div class="form-group">
											                <label style="display: block;padding: 0 0 5px;">Date of birth</label>
											                <div class="input-group">
											                  <div class="input-group-prepend">
											                    <span class="input-group-text">
											                      <span class="fa fa-calendar-o"></span>
											                    </span>
											                  </div>
											                  <input type='text' style="width:75%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="pickadate" name="driver_dob" value="<?php if(!empty($driver_details) && !empty($driver_details['dob'])): echo $driver_details['dob']; endif;?>" placeholder="DD/MM/YYYY" readonly/>
											                </div>
										                </div>
													</div>
												</div>
												
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<div style="width: 65%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Business name</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_business_name" type="text" placeholder="" value=""/>
													</div>
													<div style="width: 33%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Australian Business Number (ABN)</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_business_abn" type="text" placeholder="" value="<?php if(!empty($driver_details) && !empty($driver_details['abn'])): echo $driver_details['abn']; endif;?>" readonly/>
													</div>
												</div>
												
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<div style="width: 49%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Mobile</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_mobile" type="text" placeholder="" value="<?php if(!empty($driver_details) && !empty($driver_details['mobile'])): echo $driver_details['mobile']; endif;?>" readonly/>
													</div>
													<div style="width: 49%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Email</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_email" type="text" placeholder="" value="<?php if(!empty($driver_details) && !empty($driver_details['email'])): echo $driver_details['email']; endif;?>" readonly/>
												</div>
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<div style="width: 65%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Driver’s licence number</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_licence_no" type="text" placeholder="" value="<?php if(!empty($driver_details) && !empty($driver_details['dr_licence_no'])): echo $driver_details['dr_licence_no']; endif;?>" readonly/>
													</div>
													<div style="width: 33%;float: left;margin-right: 6px;">
														<div class="form-group">
											                <label style="display: block;padding: 0 0 5px;width: 50%:">Expiry date</label>
											                <div class="input-group">
											                  <div class="input-group-prepend">
											                    <span class="input-group-text">
											                      <span class="fa fa-calendar-o"></span>
											                    </span>
											                  </div>
											                  <input type='text' style="border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="pickadate" id="dr_licence_expiry" name="driver_licence_expdt" value="<?php if(!empty($driver_details) && !empty($driver_details['dr_licence_expiry'])): echo date('d/m/Y',strtotime($driver_details['dr_licence_expiry'])); endif;?>" placeholder="DD/MM/YYYY" readonly/>
											                </div>
										                </div>
													</div>
												</div>
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<div style="width: 65%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Driver accreditation number</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_accreditation_no" type="text" value="<?php if(!empty($driver_details) && !empty($driver_details['dc_no'])): echo $driver_details['dc_no']; endif;?>" placeholder="" readonly />
													</div>
													<div style="width: 33%;float: left;margin-right: 6px;">
														<div class="form-group">
											                <label style="display: block;padding: 0 0 5px;width: 50%:">Expiry date</label>
											                <div class="input-group">
											                  <div class="input-group-prepend">
											                    <span class="input-group-text">
											                      <span class="fa fa-calendar-o"></span>
											                    </span>
											                  </div>
											                  <input type='text' style="border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="pickadate" name="driver_accreditation_expdt" id="dr_dc_expiry" value="<?php if(!empty($driver_details) && !empty($driver_details['dr_dc_expiry'])): echo date('d/m/Y',strtotime($driver_details['dr_dc_expiry'])); endif;?>" placeholder="DD/MM/YYYY" readonly/>
											                </div>
										                </div>
													</div>
												</div>
												<p style="margin-bottom: 0;"><strong>Address Details:</strong>
													<hr style="width: 98.8%; float: left;margin-bottom: .7rem;border: 0;border-top: 1px solid rgba(0,0,0,.1);">
												</p>
												
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<div style="width: 49%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Unit No. / Flat No.</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_flatno" type="text" placeholder="" value="<?php if(!empty($driver_details) && !empty($driver_details['flat_no'])): echo $driver_details['flat_no']; endif;?>" readonly />
													</div>
													<div style="width: 49%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Street No.</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_streetno" type="text" placeholder="" value="<?php if(!empty($driver_details) && !empty($driver_details['street_no'])): echo ucfirst($driver_details['street_no']); endif;?>" readonly />
													</div>
												</div>
												
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<div style="width: 98.6%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Street Name</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_streetname" type="text" placeholder="" value="<?php if(!empty($driver_details) && !empty($driver_details['street_name'])): echo $driver_details['street_name']; endif;?>" readonly />
													</div>
												</div>
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<div style="width: 65%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Suburb</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_suburb" type="text" placeholder="" value="<?php if(!empty($driver_details) && !empty($driver_details['suburb'])): echo $driver_details['suburb']; endif;?>" readonly />
													</div>
													<div style="width: 33%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Postcode</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="driver_postcode" type="text" placeholder="" value="<?php if(!empty($driver_details) && !empty($driver_details['pin'])): echo $driver_details['pin']; endif;?>" readonly />
													</div>
												</div>
												<p><strong>Item 3. Taxi details</strong></p>
												<?php if(!empty($all_cars)): ?>
												<div><!-- style="max-height:50px" -->
												<?php 	foreach($all_cars as $cars): ?>															
														<span><?php echo $cars['registration_no'].','; ?> </span>													
												<?php   endforeach; ?>	
												</div>										
												<?php   endif; ?>	
												<p><strong>Item 4. Time, place and method of payment to Operator</strong></p>
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<div style="width: 33%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Time</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="payment_time" type="text" value="4:00 PM" placeholder="" />
													</div>
													<div style="width: 65%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Payment method (cash etc)</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="payment_method"  value="Cash,EFTPOS" type="text" placeholder="" />
													</div>
												</div>
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<div style="width: 98.6%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Place</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="payment_place" value="24 Graham Rd Clayton South , VIC-3169 Australia" type="text" placeholder="" />
													</div>
												</div>
												<p><strong>Item 5. Duration of Agreement</strong></p>
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<div style="width: 49%;float: left;margin-right: 6px;">
														<div class="form-group">
											                <label style="display: block;padding: 0 0 5px;width: 100%:">Commencement date</label>
											                <div class="input-group">
											                  <div class="input-group-prepend">
											                    <span class="input-group-text">
											                      <span class="fa fa-calendar-o"></span>
											                    </span>
											                  </div>
											                  <input type='text' style="width:50%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" ID="commencement_date" name="commencement_date" value="<?php echo date('d/m/Y');?>"class="form-control pickadate" placeholder="DD/MM/YYYY" />
											                </div>											                
										              	</div>
													</div>
													<div style="width: 49%;float: left;margin-right: 6px;">
														<div class="form-group">
											                <label style="display: block;padding: 0 0 5px;width: 100%:">Completion date</label>
											                <div class="input-group">
											                  <div class="input-group-prepend">
											                    <span class="input-group-text">
											                      <span class="fa fa-calendar-o"></span>
											                    </span>
											                  </div>
											                  <input type='text' style="width:50%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" ID="completion_date" name="completion_date" class="form-control pickadate" placeholder="DD/MM/YYYY" />
											                </div>											                
										              	</div>
													</div>
												</div>
												<p><strong>Item 6. Garage</strong></p>
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<div style="width: 45%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Address</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" value="24 Graham Rd Clayton South , VIC-3169 Australia" name="garage_addr" type="text" placeholder="" />
													</div>
													<div style="width: 32%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Suburb</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" value="Clayton South" name="garage_suburb" type="text" placeholder="" />
													</div>
													<div style="width: 20%;float: left;margin-right: 6px;">
														<label style="display: block;padding: 0 0 5px;width: 100%:">Postcode</label>
														<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" value="3169" name="garage_postcode" type="text" placeholder="" />
													</div>
												</div>
												<div style="color:#fff;padding:0 0 0 12px;line-height: 35px;margin: 0 0 20px;background: #dfe0e0;">
													<p style="color:#858585"><strong>Item 7. Bond</strong></p>
													<div style="width:100%;display: inline-block;margin: 0 0 10px;">
														<div style="width: 49%;float: left;margin-right: 6px;">
															<label style="display: block;padding: 0 0 5px;width: 100%:"><strong>Amount of bond:<span style="color:red">*</span></strong></label>
															<input min="1" style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" id="bond_amt" name="bond_amt" type="number" required placeholder="$" />
															<span></span>
														</div>
														<div style="width: 49%;float: left;margin-right: 6px;">
															<label style="display: block;padding: 0 0 5px;width: 100%:"><strong>Initial Amount Paid<span style="color:red">*</span></strong></label>
															<input min="1" style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" id="bond_initial_amt" name="bond_initial_amt" required type="number" placeholder="$" />
															<span></span>
														</div>
														<div style="width: 98.9%;float: left;margin-right: 6px;margin-top: 10px;">
															<label style="display: block;padding: 0 0 5px;width: 100%:"><strong>If bond is to be paid in increments, amount per Shift:<span style="color:red">*</span></strong></label>
															<input min="1" style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" id="bond_amount_per_shift" name="amount_per_shift" required type="number" placeholder="$" />
															<span></span>
														</div>
													</div>
												
													<p style="color:#858585"><strong>Driver Commission Details:</strong></p>
													<div style="width:100%;display: inline-block;margin: 0 0 10px;">
														<div style="width: 49%;float: left;margin-right: 6px;">
															<label style="display: block;padding: 0 0 5px;width: 100%:"><strong>Commission Type<sup>*</sup></strong></label>
															<select required name="commission_type" id="" style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;">
																<option value="">Select Commission Type</option>
																<?php if(!empty($driver_commission)): ?>
																<?php	foreach($driver_commission as $commission_list): ?>
																			<option value="<?php echo $commission_list['commission_id']; ?>"><?php echo $commission_list['commission_name']; ?></option>
																<?php   endforeach; ?>
																<?php endif; ?>		
															</select>
														</div>
														<div style="width: 49%;float: left;margin-right: 6px;">
															<label style="display: block;padding: 0 0 5px;width: 100%:"><strong>Rental/day</strong></label>
															<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" type="number" min="1" name="rent_per_day" placeholder="$" />
														</div>
														
													</div>
												</div>
												<p><strong>Item 8: Insurance policy details</strong></p>
												<div style="width: 98.6%;float: left;margin-bottom: 6px;">
													<label style="display: block;padding: 0 0 5px;width: 100%:">Insurer</label>
													<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" value="QOA PTY LTD" name="insurance_policy_details" type="text" placeholder="">
												</div>
												<div style="width: 98.6%;float: left;margin-bottom: 6px;">
													<label style="display: block;padding: 0 0 5px;width: 100%:">Insurance type (ie third party property/fully comprehensive)</label>
													<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" value="3rd party" name="insurance_type" type="text" placeholder="">
												</div>
												<div style="width: 98.6%;float: left;margin-bottom: 6px;">
													<label style="display: block;padding: 0 0 5px;width: 100%:">Policy number</label>
													<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" value="" name="policy_number"  type="text" placeholder="">
												</div>
												<div style="width: 98.6%;float: left;margin-bottom: 6px;">													
													<div class="form-group">
										                <label style="display: block;padding: 0 0 5px;width: 100%:">Policy expiry date</label>
										                <div class="input-group">
										                  <div class="input-group-prepend">
										                    <span class="input-group-text">
										                      <span class="fa fa-calendar-o"></span>
										                    </span>
										                  </div>
										                  <input type='text' style="width:50%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" name="policy_expirydt" class="form-control pickadate" placeholder="DD/MM/YYYY" />
										                </div>											                
									              	</div>
												</div>
												<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													<p><strong>Item 9. Additional terms</strong></p>
													<p>If the parties agree to any other terms that are not already listed in this Agreement, these must be written here. The Driver and Operator must initial each new term included.</p>
													<textarea style="width:98.6%;border:1px solid #ccc;height: 125px;box-sizing: border-box;padding: 10px 0 0 12px;" name="additional_terms"></textarea>
												</div>
											</div>
											<div style="width: 100%;display: inline-block;margin-top: 20px;">
												<h2 style="color:#fff;padding:0 0 0 12px;line-height: 35px;font-size: 20px;margin: 0 0 20px;background: #6aa8ba;">Part C – General conditions</h2>
												<p><strong>1. Background</strong></p>
												<ul style="margin: 0 0 10px 0;padding: 0 0 0 18px;">
													<li style="padding: 0 0 10px;">The Operator allows the Driver to take possession of and drive the Taxi subject to the terms of this Agreement.</li>
													<li style="padding: 0 0 10px;">If the Operator operates more than one Taxi and wishes to make all or some of them available to the Driver, those Taxis are listed in Item 3 of the Schedule. This Agreement applies to each of those Taxis.</li>
												</ul>
												<p><strong>2. Possession and use of Taxi</strong></p>
												<ul style="margin: 0 0 10px 0;padding: 0 0 0 18px;">
													<li style="padding: 0 0 10px;">The Operator allows the Driver to take possession
														of the Taxi and to use all the Equipment in the Taxi
														in accordance with the terms of this Agreement.</li>
												</ul>
												<p><strong>3. Life of agreement</strong></p>
												<ul style="margin: 0 0 10px 0;padding: 0 0 0 18px;">
													<li style="padding: 0 0 10px;">This Agreement begins when the parties have both
													signed this document, or on a later date specified in Item
													5 of the Schedule. If there is no written and/or signed
													Agreement between the parties, the Agreement begins
													when the Driver first logs on to the Operator’s Taxi or, if
													the Driver does not log on, when the Driver starts his first
													Shift in the Operator’s Taxi.</li>
													<li style="padding: 0 0 10px;">This Agreement ends on the Completion Date specified in Item 5 of the Schedule, unless
														<ul style="margin: 10px 0 0 0;padding: 0 0 0 3px;">
															<li style="list-style: none;padding: 0 0 3px;">(a) terminated earlier in accordance with clause 9; or</li>
															<li style="list-style: none;padding: 0 0 3px;">(b) extended by written agreement signed by both parties.</li>
														</ul>
													</li>
												</ul>
												<div style="background: #e6e7e8;width: 100%;display: inline-block;padding: 15px;box-sizing: border-box;">
													<h2 style="color:#000;font-size: 20px;margin: 0 0 20px;">Notice:</h2>
													<p>(a) Clauses 4 to 10 are implied into this
														Agreement under section 162L of the
														TCMA and must not be amended or
														removed under any circumstances.</p>
															<p>(b) Even if they are physically removed from
														this written Agreement, these conditions
														will still apply by operation of the law.</p>
															<p>(c) It is an offence under section 162M
														of the TCMA for either the Driver or
														the Operator to breach any of clauses
														4 to 10. If either party does breach one
														or more of these clauses, that party
														may be fined up to 120 penalty units for
														an individual or 600 penalty units for a
														body corporate.</p>
												</div>
												<p><strong>4. Parties’ earnings</strong></p>
												<div style="background: #e6e7e8;width: 100%;display: inline-block;padding: 15px;box-sizing: border-box;">
													<h2 style="color:#000;font-size: 20px;margin: 0 0 20px;">Notice:</h2>
													<p>(a) This clause 4.1 repeats the requirement in
													section 162L(2) of the TCMA.</p>
												</div>
												<ul style="margin: 10px 0 10px 0;padding: 0 0 0 18px;">
													<li style="padding: 0 0 10px;">The Driver must keep, or be paid, at least 55% of the
														Gross Fares earned while the Driver has control of the
														Taxi. For the purposes of section 162L(2) of the Act,
														‘Gross Fares’ means:
														<ul style="margin: 10px 0 10px 0;padding: 0 0 0 3px;">
															<li style="list-style: none;padding: 0 0 3px;">(a) the total amount of all fares accrued on the meter, including any applicable:<br>
															<br>i) booking fee;
															<br>ii) high occupancy fee;
															<br>iii) late night surcharge; and
															<br>iv) public holiday surcharge,
															</li>
														</ul>
														but does not include CityLink or Eastlink tolls, any
														non-cash payment surcharge and any fees charged by
														Melbourne Airport.
														</li>
														<li style="padding: 0 0 10px;">The Operator must maintain a record of:
														<ul style="margin: 10px 0 10px 0;padding: 0 0 0 3px;">
															<li style="list-style: none;padding: 0 0 3px;">(a) all payments made between the Operator and Driver, and</li>
															<li style="list-style: none;padding: 0 0 3px;">(b) all Shifts worked by the Driver;</li>
															<li style="list-style: none;padding: 0 0 3px;">(c) the total amount of Gross Fares earned during each Shift; and</li>
															<li style="list-style: none;padding: 0 0 3px;">(d) all surcharges charged during a Shift</li>
														</ul>
														and must provide copies of these records to the Driver
														at the end of each calendar month.
														</li>
														<li>The Operator must not charge the Driver any fee or
														surcharge that would be subtracted from the Driver’s
														agreed share of the Gross Fares (which must be at least
														55 per cent).</li>
												</ul>
												<div style="background: #e6e7e8;width: 100%;display: inline-block;padding: 15px;box-sizing: border-box;">
													<h2 style="color:#000;font-size: 20px;margin: 0 0 20px;">Notice:</h2>
													<p>The wheelchair lifting subsidy* is not part of
														the Gross Fares, and must be split between
														the Driver and Operator in accordance with
														the Taxi Licence Conditions as in force from
														time to time.</p>
														<p style="font-size: 12px;color: black;">* In this note, wheelchair lifting subsidy has
														the meaning given in regulation 49(8) of
														the Regulations.</p>
												</div>
												<p><strong>5. Maintenance costs</strong></p>
												<ul style="margin: 0 0 10px 0;padding: 0 0 0 18px;">
													<li style="padding: 0 0 10px;">The Operator must pay all operating and maintenance costs of the Taxi, including but not limited to:
														<ul style="margin: 10px 0 10px 0;padding: 0 0 0 3px;">
															<li style="list-style: none;padding: 0 0 3px;">(a) fuel;</li>
															<li style="list-style: none;padding: 0 0 3px;">(b) oils;</li>
															<li style="list-style: none;padding: 0 0 3px;">(c) lubricants;</li>
															<li style="list-style: none;padding: 0 0 3px;">(d) repairs;</li>
															<li style="list-style: none;padding: 0 0 3px;">(e) Taxi livery and equipment; and</li>
															<li style="list-style: none;padding: 0 0 3px;">(f) tyres and other replacement parts for the Taxi.</li>
														</ul>
													</li>
													<li style="padding: 0 0 10px;">The Operator can nominate the places of purchase for items under clause 5.1. If the Operator nominates the
														place of purchase, then the Driver must purchase the
														items at the nominated places, unless the purchase is an
														emergency (for example, the engine’s oil light comes on
														and the nominated place of purchase is not near).</li>
															<li style="padding: 0 0 10px;">The Driver must give to the Operator the tax invoices/
														receipts for the purchase of any items under this clause
														within a reasonable time after the purchase of the items.
														The Operator must reimburse the Driver within 7 days of
														receiving the tax invoices/receipts from the Driver.</li>
												</ul>
												<p><strong>6. Insurance</strong></p>
												<ul style="margin: 0 0 10px 0;padding: 0 0 0 18px;">
													<li style="padding: 0 0 10px;">From 30 September 2014 and for the term of this
										Agreement, the Operator must maintain one or more
										policies of insurance providing cover of at least
										$5,000,000 for each Taxi driven by the Driver against
										liability in respect of property damage caused by or
										arising out of the use of the Taxi.</li>
											<li style="padding: 0 0 10px;">The policies must:
											<ul style="margin: 10px 0 10px 0;padding: 0 0 0 3px;">
												<li style="list-style: none;padding: 0 0 3px;">(a) be issued by a corporation authorised under
										the Insurance Act 1973 (Cth) to carry on an
										insurance business;</li>
										<li style="list-style: none;padding: 0 0 3px;">(b) be held in the Operator’s own name; and</li>
										<li style="list-style: none;padding: 0 0 3px;">(c) not be held in any name other than the Operator’s.
										For example a policy held in the name of a person other
										than the Operator with the Operator as a beneficiary will
										not be sufficient to comply with above</li>
											</ul>
											</li>
											<li style="padding: 0 0 10px;">The Operator is responsible for and will pay any
										applicable excess on the policy payable in relation to a
										claim involving the Operator’s vehicle.</li>
											<li style="padding: 0 0 10px;">At any time during the term of this Agreement, an
										authorised representative of the TSC may request
										evidence from the Operator which demonstrates that
										the Operator has in place a current insurance policy as
										required under condition 6.1. The Operator must provide
										such evidence to the reasonable satisfaction of the
										authorised representative.</li>
											<li style="padding: 0 0 10px;">The operator must ensure that the insurance policy or
										policies are current, and must provide a copy to the
										Driver on request.</li>
											<li style="padding: 0 0 10px;">Subject to clause 10.4(b), the Operator must indemnify
										the Driver for vehicle damage (including damage to the
										Taxi) arising out of the use of the Operator’s Taxi, and
										for costs including legal costs associated with such
										vehicle damage.</li>
											<li style="padding: 0 0 10px;">If the Operator holds a policy for:
											<ul style="margin: 10px 0 10px 0;padding: 0 0 0 3px;">
												<li style="list-style: none;padding: 0 0 3px;">(a) public liability insurance; or</li>
												<li style="list-style: none;padding: 0 0 3px;">(b) personal injury insurance
										for the Driver in relation to this Agreement, the Operator
										must keep the following records (and must provide these
										records to the TSC and/or the Driver on request within a
										reasonable time):</li>
										<li style="list-style: none;padding: 0 0 3px;">(c) whether the Operator agrees to maintain the policy
										for the duration of this Agreement; and</li>
										<li style="list-style: none;padding: 0 0 3px;">(d) the expiry date of the policy; and</li>
										<li style="list-style: none;padding: 0 0 3px;">(e) either of the following for the policy – i. the policy information; or, <br>ii. how the policy information can be obtained from
										the Operator.</li>
											</ul>
											</li>
											<li style="padding: 0 0 10px;">If an Incident occurs while the Driver is in possession of
										the Taxi, the Driver must:
											<ul style="margin: 10px 0 10px 0;padding: 0 0 0 3px;">
												<li style="list-style: none;padding: 0 0 3px;">(a) tell the Operator about the Incident as soon as
										possible (including, where possible, the details of all
										the people involved, witnesses, injuries suffered and
										damage to property); and</li>
										<li style="list-style: none;padding: 0 0 3px;">(b) as soon as possible, give to the Operator, or
										the Operator’s insurer on request, copies of any
										statements the Driver makes to the police or any
										other person about the Incident.</li>
											</ul>
											</li>
												</ul>
												<p><strong>7. Disputes</strong></p>
												<ul style="margin: 0 0 10px 0;padding: 0 0 0 18px;">
													<li style="padding: 0 0 10px;">For the purpose of this clause, ‘dispute’ means any
										disagreement or dispute between the Driver and Operator
										including a disagreement or dispute concerning the
										substance or meaning of this Agreement.</li>
											<li style="padding: 0 0 10px;">Where a dispute arises between the Driver and Operator:
											<ul style="margin: 10px 0 10px 0;padding: 0 0 0 3px;">
												<li style="list-style: none;padding: 0 0 3px;">(a) either party may give a notice to the other party that
										states that there is a dispute; and</li>
										<li style="list-style: none;padding: 0 0 3px;">(b) the parties must meet and attempt to resolve the
										dispute within seven days of the party giving the notice
										of dispute to the other party, or if the parties have
										agreed to a longer time, the parties must meet and
										attempt to resolve the dispute within that longer time.</li>
											</ul>
											</li>
												</ul>
												<div style="background: #e6e7e8;width: 100%;display: inline-block;padding: 15px;box-sizing: border-box;">
													<h2 style="color:#000;font-size: 20px;margin: 0 0 20px;">Notice:</h2>
													<p>If, after the parties have met to attempt
										to resolve the dispute and the dispute
										is not resolved, the parties may attempt
										to resolve the dispute under the dispute
										resolution process set out in Division 5C
										of Part VI of the TCMA.</p>
												</div>
												<p><strong>8. Driver’s leave entitlements</strong></p>
												<ul style="margin: 0 0 10px 0;padding: 0 0 0 18px;">
													<li style="padding: 0 0 10px;">Where the Driver has worked regularly for the Operator
										for 12 months or more, the Driver must be allowed to
										take a period of up to four weeks of unpaid leave on a
										pro rata basis.</li>
											<li style="padding: 0 0 10px;">Unpaid leave must be taken on dates agreed between
										the Driver and Operator. The Operator must not
										unreasonably withhold his/her Agreement to the dates on
										which the Driver may take his/her unpaid leave.</li>
											<li style="padding: 0 0 10px;">The Driver will have worked ‘regularly’ for the purpose of
										clause 8.1 if he or she has worked on average three or
										more Shifts per week over a twelve month period.</li>
												</ul>
												<p><strong>9. Termination</strong></p>
												<ul style="margin: 0 0 10px 0;padding: 0 0 0 18px;">
													<li style="padding: 0 0 10px;">Either party may end this Agreement for any reason by
										giving two weeks written notice of their intention to end
										the Agreement to the other party.</li>
											<li style="padding: 0 0 10px;">Either party may end this Agreement at any time, by
										written notice, if the other party has breached a term of
										this Agreement.</li>
											<li style="padding: 0 0 10px;">If either party ends this Agreement under this clause,
										then the Driver must, on the ending of this Agreement,
										return the Taxi to the place nominated by the Operator.</li>
												</ul>
												<p><strong>10. Bond</strong></p>
												<div style="background: #e6e7e8;width: 100%;display: inline-block;padding: 15px;box-sizing: border-box;">
													<h2 style="color:#000;font-size: 20px;margin: 0 0 20px;">Notice:</h2>
													<p>The operator does not need to require a bond
										from the driver under clause 10, however if
										they do they must comply with all provisions
										of clause 10.</p>
												</div>
												<ul style="margin: 10px 0 10px 0;padding: 0 0 0 18px;">
													<li style="padding: 0 0 10px;">The Operator may require the Driver to pay a bond. The
										total amount collected as a bond must not be more than
										$1,000.</li>
											<li style="padding: 0 0 10px;">The Operator may collect the bond in incremental
										amounts by requiring the Driver to pay a portion towards
										the bond every Shift. The parties must agree, in writing,
										to the amount to be paid per Shift.</li>
											<li style="padding: 0 0 10px;">If the Driver pays the Operator a bond, the Operator must
										give the Driver a receipt and promptly deposit the bond
										into a designated bank account.</li>
											<li style="padding: 0 0 10px;">Providing that the Operator can provide reasonable
										evidence of the loss, the Operator may only take money
										from the bond if:
											<ul style="margin: 10px 0 10px 0;padding: 0 0 0 3px;">
												<li style="list-style: none;padding: 0 0 3px;">(a) the Driver fails to pay the Operator the Operator’s
										share of the Gross Fares in accordance with clause
										4.1; or</li>
										<li style="list-style: none;padding: 0 0 3px;">(b) the Taxi or any item of Equipment is damaged due
										to the Driver’s conduct.</li>
											</ul>
											</li>
											<li style="padding: 0 0 10px;">The Operator must not take money from the bond if the
										damage is caused by a criminal act of another person.</li>
											<li style="padding: 0 0 10px;">The Operator must not take an amount from the bond
										greater than the amount required to make good the
										Operator’s loss. If the Operator later recovers some or all
										of that loss from another person, the Operator must pay
										the amount recovered back to the Driver.</li>
											<li style="padding: 0 0 10px;">If the Operator wishes to claim money from the bond,
										the Operator must notify the Driver in writing. The notice
										must:
											<ul style="margin: 10px 0 10px 0;padding: 0 0 0 3px;">
												<li style="list-style: none;padding: 0 0 3px;">(a) state the amount the Operator intends to take;</li>
												<li style="list-style: none;padding: 0 0 3px;">(b) describe the loss; and</li>
												<li style="list-style: none;padding: 0 0 3px;">(c) include evidence of the Operator’s loss.</li>
											</ul>
											</li>
											<li style="padding: 0 0 10px;">If the Driver objects to the Operator making a claim on
										the bond, the Driver must notify the Operator in writing
										within 14 days of receiving the Operator’s notice. If
										the parties cannot then reach an agreement about the
										Operator’s claim on the bond, the parties must try to
										resolve the dispute in accordance with clause 7.</li>
											<li style="padding: 0 0 10px;">Once agreement has been reached about the Operator’s
										claim on the bond, the Operator must pay for the
										relevant loss using the money in the designated bank
										account. The Driver must then give the Operator the
										money to return the bond to the required level by mutual
										arrangement.</li>
											<li style="padding: 0 0 10px;">On termination of this Agreement, the Operator must
										refund to the Driver within 14 days the balance remaining
										in the designated bank account together with any interest
										earned on the Driver’s bond.</li>
												</ul>
												<p><strong>11. Control of Taxi</strong></p>
												<ul style="margin: 0 0 10px 0;padding: 0 0 0 18px;">
													<li style="padding: 0 0 10px;">Subject to the other terms of this Agreement and any
										applicable laws, during each Shift the Driver:
											<ul style="margin: 10px 0 10px 0;padding: 0 0 0 3px;">
												<li style="list-style: none;padding: 0 0 3px;">(a) will have exclusive control and use of the Taxi;</li>
												<li style="list-style: none;padding: 0 0 3px;">(b) will not be subject to the Operator’s instructions or
										directions (unless the Operator needs the Taxi in line
										with Clause 11.2); and</li>
										<li style="list-style: none;padding: 0 0 3px;">(c) may drive the Taxi anywhere allowed by the Taxi
										Licence Conditions.</li>
											</ul>
											</li>
											<li style="padding: 0 0 10px;">If the Operator needs the Taxi during a Shift for repairs
										or an inspection, the Driver must return the Taxi to the
										Garage as soon as possible. If this happens, the Operator
										will make all reasonable efforts to find the Driver an
										alternative Taxi for the rest of the Shift.</li>
												</ul>
												<p><strong>12. Driver obligations</strong></p>
												<ul style="margin: 0 0 10px 0;padding: 0 0 0 18px;">
													<li style="padding: 0 0 10px;">In addition to other obligations in this Agreement,
										the Driver will:
											<ul style="margin: 0 0 10px 0;padding: 0 0 0 18px;">
												<li style="list-style: none;padding: 0 0 3px;">(a) Make all payments owing to the Operator under this
										Agreement at the time, place and by the method
										agreed to in Item 4 of the Schedule;</li>
										<li style="list-style: none;padding: 0 0 3px;">(b) ensure that the Driver’s driver licence, Driver
										Accreditation and any other relevant endorsements
										are current;</li>
										<li style="list-style: none;padding: 0 0 3px;">(c) promptly notify the Operator if:  
										<br>i. the Driver’s Accreditation is cancelled or
										suspended by the TSC;
										<br>ii. the Driver’s Accreditation is, or becomes, subject
										to any conditions, in which case the Driver must
										inform the Operator of those conditions; or
										<br>iii. the Driver is disqualified from applying for Driver
										Accreditation or for the renewal of his/her Driver
										Accreditation;
										</li>
										<li style="list-style: none;padding: 0 0 3px;">(d) for the duration of this Agreement, ensure he/she has
										the right to work in Australia;</li>
										<li style="list-style: none;padding: 0 0 3px;">(e) if the Operator is affiliated with a Network Service
										Provider, tell the Operator as soon as possible if
										the accredited Network Service Provider suspends,
										terminates or refuses to renew the Driver’s access
										to the communication network;</li>
										<li style="list-style: none;padding: 0 0 3px;">(f) pay any fines incurred by the Driver when using
										the Taxi; and</li>
										<li style="list-style: none;padding: 0 0 3px;">(g) comply with all conditions of their Driver
										Accreditation and with all statutory obligations,
										including under the:
										<br>i. TCMA;
										<br>ii. The Regulations; and
										<br>iii. Road Safety Act 1986 and any regulations
										made under that Act.
										</li>
											</ul>
											</li>
											<li style="padding: 0 0 10px;">At the beginning of each Shift the Driver must check the
										Taxi. If the Driver notices any damage or defects to the
										Taxi or the Equipment, the Driver must tell the Operator
										as soon as possible and no later than 24 hours after
										completing the Shift.</li>
											<li style="padding: 0 0 10px;">During each Shift the Driver must:
											<ul>
												<li style="list-style: none;padding: 0 0 3px;">(a) comply with all laws, including all provisions of the
										Regulations that apply to the Driver;</li>
										<li style="list-style: none;padding: 0 0 3px;">(b) only use the Taxi for the purposes of this Agreement;</li>
										<li style="list-style: none;padding: 0 0 3px;">(c) not part with possession of the Taxi;</li>
										<li style="list-style: none;padding: 0 0 3px;">(d) not allow any other person to drive the Taxi or use
										the Equipment in the Taxi;</li>
										<li style="list-style: none;padding: 0 0 3px;">(e) not make any modifications to the Taxi or the Equipment;</li>
										<li style="list-style: none;padding: 0 0 3px;">(f) exercise reasonable care for the Taxi and the Equipment;</li>
										<li style="list-style: none;padding: 0 0 3px;">(g) tell the Operator if the Taxi or the Equipment is
										damaged or malfunctions as soon as possible and
										no later than 24 hours after completing the Shift;</li>
										<li style="list-style: none;padding: 0 0 3px;">(h) if the Operator is affiliated with a Network Service
										Provider:
										<br>i. comply with the Network Service Provider’s
										procedures for use of the communications
										network; and
										<br>ii. make sure that the Taxi communications
										Equipment is connected to the accredited Network
										Service Provider’s network at all
										times; and
										<br>iii. accept a Prescribed Payment as payment for the hire
										of the Taxi. If a passenger offers to pay by Prescribed
										Voucher the Driver must take all reasonable steps
										to ensure the passenger completes and signs the
										Prescribed Voucher.
										</li>
											</ul>
											</li>
											<li style="padding: 0 0 10px;">At the end of each Shift the Driver must return the Taxi
										to the Garage. The interior and exterior of the Taxi must
										be reasonably clean, which includes, but is not limited
										to ensuring that:
											<ul>
												<li style="list-style: none;padding: 0 0 3px;">no rubbish is left in the Taxi; and</li>
												<li style="list-style: none;padding: 0 0 3px;">any readily apparent dirt or grime on the seats
										or other interior surfaces is removed;</li>
											</ul>
											</li>
											<li style="padding: 0 0 10px;">At the end of each Shift the Driver must complete an
										end of Shift report and return it to the Operator as soon
										as possible. The end of Shift report must include:
											<ul>
												<li style="list-style: none;padding: 0 0 3px;">(a) any Gross Fares earned during the Shift;</li>
										<li style="list-style: none;padding: 0 0 3px;">(b) any damage to the interior or exterior of the Taxi;</li>
										<li style="list-style: none;padding: 0 0 3px;">(c) any problems with the Taxi or its Equipment and;</li>
										<li style="list-style: none;padding: 0 0 3px;">(d) any other details which the Operator has requested
										(in writing) to be included in this report.</li>
											</ul>
											</li>
											<li style="padding: 0 0 10px;">The Driver may cancel a Shift or part of a Shift on giving
										the Operator reasonable notice. If the Driver cancels a
										Shift or part of a Shift, the Driver’s obligations at the end
										of a Shift as set out in this clause 12 will apply, as far as
										reasonably possible.</li>
												</ul>
												<p><strong>13. Operator obligations</strong></p>
												<ul>
													<li style="padding: 0 0 10px;">In addition to other obligations in this Agreement, the Operator will:
													<ul>
														<li style="list-style: none;padding: 0 0 3px;">(a) give the Driver a copy of this Agreement after signing it;</li>
										<li style="list-style: none;padding: 0 0 3px;">(b) comply with all laws (including vehicle registration,
										licensing, safety and roadworthiness laws);</li>
										<li style="list-style: none;padding: 0 0 3px;">(c) comply with all of the Taxi Licence Conditions;</li>
										<li style="list-style: none;padding: 0 0 3px;">(d) ensure that the interior and exterior of the Taxi are
										reasonably clean and free of any offensive odour at
										the beginning of each Shift;</li>
										<li style="list-style: none;padding: 0 0 3px;">(e) if the Operator is affiliated with an accredited
										Network Service Provider:
												<br>i. ensure the Taxi is at all times connected to the
										accredited Network Service Provider via its
										communication network; and
										<br>ii. ensure there is functioning communication
										Equipment in the Taxi to connect to the Network
										Service Provider;
												</li>
												<li style="list-style: none;padding: 0 0 3px;">(f)if the Operator provides his or her own central communications system;
												<br>i. ensure the Taxi is at all times connected to the
										Operator’s central communications system; and
										<br>ii. ensure there is functioning communication
										Equipment in the Taxi to connect to the
										Operator’s central communications system;
												</li>
														<li style="list-style: none;padding: 0 0 3px;">(g) ensure that the Operator’s name and address
										(or, if the Operator is not the owner of the vehicle,
										the name and address of the owner) are clearly
										displayed either on the inside lid of the glove box
										or on the ignition keys of the Taxi;</li>
										<li style="list-style: none;padding: 0 0 3px;">(h) have a Workcover policy in place to cover the Driver
										while driving the Taxi;</li>
										<li style="list-style: none;padding: 0 0 3px;">(i) keep all records relating to this Agreement for five
										years after the end of this Agreement, or for such
										other period required under the Transport (Taxi-cab
										Industry Accreditation) Regulations 2007;</li>
										<li style="list-style: none;padding: 0 0 3px;">(j) give the Driver a copy of any infringement notices
										that relate to the Driver within 48 hours of the
										Operator receiving the infringement notice;</li>
										<li style="list-style: none;padding: 0 0 3px;">(k) pay or credit to the Driver the face value of any
										Prescribed Voucher the Driver receives (unless any
										voucher has not been correctly completed) at the
										end of each Shift;</li>
												<li style="list-style: none;padding: 0 0 3px;">(l) only use information the Driver has provided to them
										for the purposes for which it was given to them;</li>
										<li style="list-style: none;padding: 0 0 3px;">(m) not disclose any information the Driver has provided
										to them to anyone else unless it is authorised by this
										Agreement or if the Driver expressly consents or if
										required to do so by law; and</li>
										<li style="list-style: none;padding: 0 0 3px;">(n) take reasonable steps at reasonable times to verify
										that the Driver is not an unlawful non-citizen within the
										meaning of the Migration Act 1958 (Cth) by either:
												
												<br>i. searching the VEVO or Visa Entitlement
										Verification Online computer system operated
										by the Department of Immigration and Border
										Protection; or
										<br>ii. taking other reasonable steps prescribed by the
										regulations to the Migration Act 1958 (Cth).
												</li>
													</ul>
													</li>
													

												</ul>
												<p><strong>14. Mutual obligations</strong></p>
												<ul>
													<li style="padding: 0 0 10px;">The parties will act in a reasonable way and help each
										other comply with their respective obligations.</li>
													<li style="padding: 0 0 10px;">Each party must promptly inform the other party of
										changes to any information given to the other party
										under this Driver Agreement.</li>
												</ul>
												<p><strong>15. Driver’s statements</strong></p>
												<ul>
													<li style="padding: 0 0 10px;">The Driver confirms that:
													<ul>
														<li style="list-style: none;padding: 0 0 3px;">(a) all information provided to the Operator is correct
										and no information has been withheld which,
										if disclosed to the Operator, might reasonably
										affect their decision to enter this Agreement</li>
														<li style="list-style: none;padding: 0 0 3px;">(b) if the Operator is affiliated with a Network Service
										Provider, the Driver has current access to the
										communication network of the relevant Network
										Service Provider;</li>
														<li style="list-style: none;padding: 0 0 3px;">(c) if the Operator provides his or her own central
										communications system, the Driver has current
										access to the Operator’s central communications
										system;</li>
														<li style="list-style: none;padding: 0 0 3px;">(d) at the time of signing this Agreement, they have the
										right to work in Australia;</li>
														<li style="list-style: none;padding: 0 0 3px;">(e) at the time of signing this Agreement, they are
										accredited to drive a Taxi; and</li>
														<li style="list-style: none;padding: 0 0 3px;">(f) they have completed all relevant training courses
										required by law, the TSC and, if relevant, the
										Network Service Provider with which the Operator is
										affiliated.</li>
													</ul>
													</li>
													<li style="padding: 0 0 10px;">The Driver acknowledges that the Operator has relied
										upon the truth of the representations in this clause in
										entering into this Driver Agreement.</li>
												</ul>
												<p><strong>16. Operator’s statements</strong></p>
												<ul>
													<li style="padding: 0 0 10px;">The Operator confirms that:
													<ul>
														<li style="list-style: none;padding: 0 0 3px;">(a) they are the owner or lessee of the Taxi;</li>
														<li style="list-style: none;padding: 0 0 3px;">(b) they are the licence holder or assignee of
										the licence holder;</li>
														<li style="list-style: none;padding: 0 0 3px;">(c) they are accredited as a Taxi Operator under
										the TCMA;</li>
														<li style="list-style: none;padding: 0 0 3px;">(d) the Taxi is of the type and class specified in
										the licence;</li>
														<li style="list-style: none;padding: 0 0 3px;">(e) if affiliated with a Network Service Provider, the Taxi
										is connected to the Network Service Provider via its
										communications network; and</li>
														<li style="list-style: none;padding: 0 0 3px;">(f)all information provided to the Driver is correct.</li>
													</ul>
													</li>
													<li style="padding: 0 0 10px;">The Operator acknowledges that the Driver has relied
										upon the truth of the representations in this clause in
										entering into this Agreement.</li>
												</ul>
												<p><strong>17. Recovery of losses</strong></p>
												<ul>
													<li style="padding: 0 0 10px;">If either party (aggrieved party) suffers a loss because the
										other breaches this Agreement then the other will pay for
										or reimburse the loss, providing the aggrieved party can
										provide reasonable evidence of the loss.</li>
												</ul>
												<p><strong>18. Surveillance</strong></p>
												<ul>
													<li style="padding: 0 0 10px;">The Driver consents to the use of surveillance devices
										installed in the Taxi by the Operator and/or the accredited
										Network Service Provider as required or permitted by
										the TSC. This will include a Taxi safety camera, global
										positioning system and emergency warning device.</li>
												</ul>
												<p><strong>19. Goods and services tax (GST)</strong></p>
												<ul>
													<li style="padding: 0 0 10px;">All fares collected by the Driver must include GST.</li>
													<li style="padding: 0 0 10px;">The Driver must register with the Australian Tax Office
										(ATO) for GST purposes.</li>
												</ul>
												<p><strong>20. Variations and additional terms</strong></p>
												<ul>
													<li style="padding: 0 0 10px;">This Agreement can only be varied if the variation
										is in writing and signed by both parties.</li>
													<li style="padding: 0 0 10px;">Any additional terms must be written and initialed by both
										parties within this document.</li>
											<li style="padding: 0 0 10px;">Any additional terms must not be inconsistent with the
										terms of this Agreement.</li>
												</ul>
												<p><strong>21. Entire agreement</strong></p>
												<ul>
													<li style="padding: 0 0 10px;">This Agreement contains all the terms of the Agreement
										about the use of the Operator’s Taxi, and replaces any
										prior Agreements.</li>
												</ul>
											</div>
											<div style="width: 100%;display: inline-block;margin-top: 20px;">
												<h2 style="color:#fff;padding:0 0 0 12px;line-height: 35px;font-size: 20px;margin: 0 0 20px;background: #6aa8ba;">Part D – Definitions</h2>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Agreement –</span> means this agreement under which the Driver
										takes possession of the Operator’s Taxi for the purpose of
										operating the Taxi.</p>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">ATO –</span> means the Australian Taxation Office.</p>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Driver –</span> means the person named at Item 2 of the Schedule</p>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Driver Accreditation –</span> means accreditation under section
										166 of the TCMA.</p>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">EFTPOS –</span> means electronic funds transfer at point of sale.</p>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Equipment –</span> means all communications equipment,
										surveillance devices, safety equipment, other items attached
										to the Taxi, accessories and street directories.</p>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Fines –</span> means any infringement notices related to the Taxi,
										including but not limited to speeding, traffic light, parking and
										other road safety offences.</p>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Garage –</span> means the place specified in Item 6 of the
										Schedule.</p>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Gross Fares –</span> has the meaning given in clause 4.1.</p>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">GST –</span> means goods and services tax under the A New Tax
										System (Goods and Services) Tax Act 1999.</p>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Incident –</span> means any event occurring during a Shift in which:
												
												<br>(a) the Taxi or Equipment is damaged, lost or stolen;
										<br>(b) the Taxi is involved in a collision resulting in damage to
										the Taxi, another vehicle or any other property; or
										<br>(c) a person is injured by the Taxi, while inside the Taxi or
										while entering or leaving the Taxi.
												
												</p>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Late Night Surcharge –</span> means a surcharge authorised by
										the TSC or the Essential Services Commission as a late night
										surcharge.</p>
												<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Multi-Purpose Taxi Program –</span> means the program operated
										by the TSC which subsidises Taxi travel for those suffering
										from severe and permanent disability.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Network Service Provider – </span>means a person or entity
										accredited under section 132B of the TCMA as a provider of
										taxi-cab network services.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Operator – </span>means the person or corporation named at
										Item 1 of the Schedule.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Personal Injury Insurance – m</span>eans insurance covering
										personal injury to the Driver, relating to this Agreement.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Prescribed Fare Payment Scheme – </span>means any scheme
										for the payment of fares:
										<br>(a) by credit card, debit card, charge card, direct transfer,
										smart phone applications or EFTPOS; or
										<br>(b) which the Operator is required to accept under the Taxi
										Licence Conditions (including, if applicable, payments
										under the Multi-Purpose Taxi Program).
										</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Prescribed Payment – </span>means a payment made instead
										of cash for the hiring of the Taxi under any Prescribed Fare
										Payment Scheme.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Prescribed Voucher – </span>means written evidence of a
										Prescribed Payment.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Public Holiday Surcharge – </span>means a surcharge authorised
										by the TSC or Essential Services Commission as a Public
										Holiday Surcharge.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Regulations -</span>means the Transport (Buses, Taxi-Cabs and
										Other Commercial Passenger Vehicles) Regulations 2016
										(Vic.), as amended and in force from time to time.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Shift – </span>means any period the Driver is allowed to drive the
										Operator’s Taxi. Each Shift will be a separate use of the Taxi
										by the Driver.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Taxi – </span> means the Taxi (or Taxis) owned or operated by the
										Operator and identified in Item 3 of the Schedule.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">Taxi Licence Conditions –</span>Taxi Licence Conditions – means all conditions imposed by
										the TSC on the licence attached to the Taxi.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">TCMA –</span> means the Transport (Compliance and
										Miscellaneous) Act 1983.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">TSC –</span> means the Taxi Services Commission.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">VCAT –</span> means the Victorian Civil and Administrative Tribunal.</p>
										<p><span style="font-size: 18px;color: #6aa8ba;font-weight: bold;">VSBC –</span> means the Office of the Victorian Small Business
										Commissioner.</p>
											</div>
											<div style="width: 100%;display: inline-block;margin-top: 20px;">
												<h2 style="color:#fff;padding:0 0 0 12px;line-height: 35px;font-size: 20px;margin: 0 0 20px;background: #6aa8ba;">Part E – Attachments</h2>
												<?php if(!empty($all_cars)): ?>
												<?php 	foreach($all_cars as $val_car): ?>
															<span style="font-size: 15px;color: #000;margin: 20px 0 4px;"><?php echo $val_car['registration_no'].','; ?></span>
												<?php 	endforeach; ?>
												<?php endif; ?>
											</div>
											<div style="width: 100%;display: inline-block;margin-top: 20px;">
												<h2 style="color:#fff;padding:0 0 0 12px;line-height: 35px;font-size: 20px;margin: 0 0 20px;background: #6aa8ba;">Part F – Signing</h2>
												
												<p><strong>Driver</strong> (use the applicable box)</p>
												
												<div style="width: auto;height: auto;border: #ccc 1px solid;margin-bottom: 15px;padding: 15px;">
												 	
												 	<div style="width:100%;display: inline-block;margin: 0 0 10px;">
													 <p><strong>Individual</strong></p>
														<div style="width: 30%;float: left;margin-right: 6px;">
															<label style="display: block;padding: 0 0 5px;width: 100%:">Signature</label>
															<?php if(!empty($dr_sign)): $signature = 'public/upload_image/signature/'.$dr_sign;?>																														
																<div>
																	<img src="<?php echo base_url().$signature; ?>" id="cropbox" width="280px" height="150px">
																</div>
																<div id="btn">
															        <input type='button' id="crop" data-id="<?php if(!empty($driver_details) && !empty($driver_details['user_id'])): echo $driver_details['user_id']; endif;?>" value='CROP'>
															    </div>
															    <div id="drv_signature">
															        
																</div>
																<input type="hidden" id="drv_signature_input" value="">
															<?php else: 
																$signature ='public/upload_image/No_Image_Available.jpg'; 
															?>
																<img src="<?php echo base_url().$signature; ?>" width="100px" height="50px" >
															<?php endif; ?>
														</div>
														<div style="width: 40%;float: left;margin-right: 6px;">
															<label style="display: block;padding: 0 0 5px;width: 100%:">ABN</label>
															<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" value="<?php if(!empty($driver_details) && !empty($driver_details['abn'])): echo $driver_details['abn']; endif;?>" type="text" placeholder="">
														</div>
														<div style="width: 20%;float: left;margin-right: 0;">
															<div class="form-group">
												                <label style="display: block;padding: 0 0 5px;width: 100%:">Date</label>
												                <div class="input-group">
												                  <div class="input-group-prepend">
												                    <span class="input-group-text">
												                      <span class="fa fa-calendar-o"></span>
												                    </span>
												                  </div>
												                  <input type='text' style="border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" value="<?php if(!empty($driver_details) && !empty($driver_details['created_ts'])): echo date('d/m/Y', strtotime($driver_details['created_ts'])); endif;?>" class="form-control pickadate" placeholder="DD/MM/YYYY" />
												                </div>
											                </div>
														</div>
													</div>
												</div>
												
												<p><strong>Operator</strong> (use the applicable box)</p>
												<div style="width: auto;height: auto;border: #ccc 1px solid;margin-bottom: 15px;padding: 15px;">
													<p><strong>Company Operator</strong></p>
														<div style="width:100%;display: inline-block;margin: 0 0 10px;">
														<label style="width: auto;float: left;line-height: 35px;margin-right: 10px;">Signed by (print signatory’s name)</label>
														<input style="width:67%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" id="responsible_person_name" value="" type="text" placeholder="" readonly>
													</div>
													<div style="width:100%;display: inline-block;margin: 0 0 10px;">
														<label style="width: auto;float: left;line-height: 35px;margin-right: 10px;">On behalf of (print company name)</label>
														<input style="width:66.3%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" id="operator_company_name" value="" type="text" placeholder="" readonly>
													</div>
													<div style="width:100%;display: inline-block;margin: 0 0 10px;">
														<div style="width: 30%;float: left;margin-right: 6px;">
															<label style="display: block;padding: 0 0 5px;width: 100%;">Signature</label>															
															<img src="" id="responsible_signature" width="100px" height="50px" style="display:none">
														</div>
														<div style="width: 34%;float: left;margin-right: 6px;">
															<label style="display: block;padding: 0 0 5px;width: 100%:">Australian Company Number (ACN)</label>
															<input style="width:100%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" id="company_operator_acn" value="" type="text" placeholder="" readonly>
														</div>
														<div style="width: 18%;float: left;margin-right: 0;">
															<div class="form-group">
												                <label style="display: block;padding: 0 0 5px;width: 100%;">Date</label>
												                <div class="input-group">
												                  <div class="input-group-prepend">
												                    <span class="input-group-text">
												                      <span class="fa fa-calendar-o"></span>
												                    </span>
												                  </div>
												                  <input type='text' style="border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" class="form-control pickadate"  id="company_operator_dt" name="company_operator_dt" value="<?=date('d/m/Y')?>" readonly placeholder="DD/MM/YYYY" />
												                </div>
											                </div>
														</div>
													</div>
													<div style="width:100%;display: inline-block;margin: 0 0 10px;">
														<label>The authorised signatory states that he/she has authority to sign this Agreement</label>
														<label style="width: auto;float: left;line-height: 35px;margin-right: 10px;">on behalf of (print company name)</label>
														<input style="width:66.8%;border:1px solid #ccc;height: 35px;box-sizing: border-box;padding: 0 0 0 12px;" id="authorised_signatory" type="text" placeholder="">
													</div>
												</div>
											</div>
										</div>
										<h4 class="form-section">Driver Documents:</h4>
                      
                      <div class="row">

                        <div class="col-md-4">
                          <div class="form-group">
                            <label>Profile Photo</label>
                            
                          </div>
                          <?php if ($driver_details['profile_photo']) { ?>
                            <div class="row">
                              <div class="uploadblock_section">
                                <a href="<?= base_url('/public/upload_image/profile_photo/' . $driver_details['profile_photo']) ?>" target="_blank">View Document</a>
                                
                              </div>
                            </div>
                          <?php } ?>

                        </div>

                        <div class="col-md-4">
                          <div class="form-group">
                            <label>Driver Certificate</label>
                            
                          </div>
                          <?php if (!empty($driver_doc)) { ?>
                            <div class="row">
                              <?php foreach ($driver_doc as $driver_docs) {
                                  if ($driver_docs['document_type'] == 'driver_certificate') {

                                    ?>

                                  <div class="uploadblock_section">
                                    <a href="<?= base_url('/public/upload_image/driver_certificate/' . $driver_docs['document_path']) ?>" target="_blank">View Document</a>
                                    
                                  </div>
                                  <!--<div style="font-size:10px"><?php echo $driver_docs['upload_date']; ?></div>-->
                              <?php }
                                }  ?>

                            </div>
                          <?php } ?>

                        </div>
                        <div class="col-md-4">
                          <div class="form-group">
                            <label>Driving License</label>
                            
                          </div>
                          <?php if (!empty($driver_doc)) { ?>
                            <div class="row">
                              <?php foreach ($driver_doc as $driver_docs) {
                                  if ($driver_docs['document_type'] == 'driving_license') {

                                    ?>
                                  <div class="uploadblock_section">
                                    <a href="<?= base_url('/public/upload_image/driving_license/' . $driver_docs['document_path']) ?>" target="_blank">View Document</a>
                                                                      
                                  </div>
                                  <!--<div style="font-size:10px"><?php echo $driver_docs['upload_date']; ?></div>-->
                              <?php }
                                }  ?>

                            </div>
                          <?php } ?>

                        </div>
                        <div class="col-md-4">
                          <div class="form-group">
                            <label>Login Card</label>
                            
                          </div>
                          <?php if (!empty($driver_doc)) { ?>
                            <div class="row">
                              <?php foreach ($driver_doc as $driver_docs) {
                                  if ($driver_docs['document_type'] == 'login_card') {

                                    ?>

                                  <div class="uploadblock_section">
                                    <a href="<?= base_url('/public/upload_image/login_card/' . $driver_docs['document_path']) ?>" target="_blank">View Document</a>
                                    
                                  </div>
                              <?php }
                                }  ?>

                            </div>
                          <?php } ?>

                        </div>

                        <div class="col-md-4">
                          <div class="form-group">
                            <label>Paper DC</label>
                           
                          </div>

                          <?php if (!empty($driver_doc)) { ?>
                            <div class="row">
                              <?php foreach ($driver_doc as $driver_docs) {
                                  if ($driver_docs['document_type'] == 'paper_dc') {

                                    ?>

                                  <div class="uploadblock_section">
                                    <a href="<?= base_url('/public/upload_image/paper_dc/' . $driver_docs['document_path']) ?>" target="_blank">View Document</a>
                                   
                                  </div>
                                  <!--<div style="font-size:10px"><?php echo $driver_docs['upload_date']; ?></div>-->
                              <?php }
                                }  ?>

                            </div>
                          <?php } ?>
                        </div>

                        <div class="col-md-4">
                          <div class="form-group">
                            <label>Signature</label>
                            
                          </div>
                          <?php if (!empty($driver_doc)) { ?>
                            <div class="row">
                              <?php foreach ($driver_doc as $driver_docs) {
                                  if ($driver_docs['document_type'] == 'signature') {

                                    ?>

                                  <div class="uploadblock_section">
                                    <a href="<?= base_url('/public/upload_image/signature/' . $driver_docs['document_path']) ?>" target="_blank">View Document</a>
                                  </div>
                                  <!--<div style="font-size:10px"><?php echo $driver_docs['upload_date']; ?></div>-->
                              <?php }
                                }  ?>

                            </div>
                          <?php } ?>

                        </div>

                      </div>
										
										<div style="text-align:center;"> 
											<input type="hidden" name="driver_id" value="<?php echo $driver_details['user_id']; ?>" >											
											<input class="btn gradient-green-tea white generateA" type="submit" value="Generate Agreement" id="generate_agreement_btn" name="generate_agreement" style="margin-top: 40px;">
										</div>
									</form>
								</div>
							</div><!--**colose card-body**-->
							
						</div>
					</div>
				</div>
			</section>
		</div>
	</div>
</div>
<script>
  $(document).ready(function() {
  	var size;
    $('#cropbox').Jcrop({
      onSelect: function(c){
       size = {x:c.x,y:c.y,w:c.w,h:c.h};
       $("#crop").css("visibility", "visible");     
      }
    });
 	
    $("#crop").click(function(){
        var img = $("#cropbox").attr('src');
        var driver_id = $(this).data('id');
        $("#cropped_img").show();        
        $.ajax({
        url:"<?=base_url('admin/driver/cropDriverSignature')?>",
        type: "POST",
        data:{img: img,x:size.x,y:size.y,w:size.w,h:size.h,driver_id:driver_id},
        dataType:'json',
        success:function(data)
        {
         	//alert(data);
          $('#drv_signature').html(data['html']);
          $("#drv_signature_input").val(data['file_name']);
        }
      });
        
    });
    var  licence_exp_min_date = new Date();
    licence_exp_min_date.setDate(licence_exp_min_date.getDate() + 1);
    
    var dob_max_date = new Date();
    dob_max_date.setFullYear(dob_max_date.getFullYear() - 18);
    
    
    $('#dr_licence_expiry').pickadate({
        format: 'dd/mm/yyyy',
        min: licence_exp_min_date,
        selectYears: true,
        selectMonths: true
    });

    $('#dr_dc_expiry').pickadate({
        format: 'dd/mm/yyyy',
        min: licence_exp_min_date,
        selectYears: true,
        selectMonths: true
    });

    $('#dob').pickadate({
        format: 'dd/mm/yyyy',
        max: dob_max_date,
        selectYears: true,
        selectMonths: true
    });   
    
    $('#commencement_date').pickadate({
        format: 'dd/mm/yyyy',
		min: licence_exp_min_date,
		selectYears: true,
		selectMonths: true
    });


    var commencement_date       = $('#commencement_date').pickadate({format:'dd/mm/yyyy',autoclose:true,min: new Date()}),
	commencement_date_picker    = commencement_date.pickadate('picker')

	var completion_date    		= $('#completion_date').pickadate({format:'dd/mm/yyyy',autoclose:true}),
	completion_date_picker 		= completion_date.pickadate('picker')

	// Check if there’s a “from” or “to” date to start with.
	if ( commencement_date_picker.get('value') ) {
	  completion_date_picker.set('min',commencement_date_picker.get('select'))
	}
	if ( completion_date_picker.get('value') ) {
	  commencement_date_picker.set('max', completion_date_picker.get('select'))
	}

	// When something is selected, update the “from” and “to” limits.
	commencement_date_picker.on('set', function(event) {

	if ( event.select ) {
	  completion_date_picker.set('min',commencement_date_picker.get('select'));    
	}
	else if ( 'clear' in event ) {
	  completion_date_picker.set('min', false);
	}
	})

	completion_date_picker.on('set', function(event) {

	if ( event.select ) {
	  commencement_date_picker.set('max', completion_date_picker.get('select'));    
	}
	else if ( 'clear' in event ) {
	  commencement_date_picker.set('max', false);
	}
	})
  })
	$(document).on('change','.select_company',function(){
		/*$(".comp_business_name").val('');
		$(".comp_business_ABN").val('');
		$(".comp_name").val('');
		$(".comp_ACN").val('');
		$("#comp_ph").val('');
		$(".comp_home_ph").val('');
		$(".comp_email").val('');
		$(".comp_accreditation_number").val('');
		$(".comp_expiry_date").val('');
		$(".comp_flat_no").val('');
		$(".comp_street_no").val('');
		$(".comp_street_name").val('');
		$(".comp_suburb").val('');
		$(".comp_postcode").val('');*/
		var current_compy	= $(this);
		var company_id 		= $(this).val();
		//alert(company_id);
		$.ajax({
            type: "POST",
            url: '<?php echo base_url('admin/Driver/getCompanyDetails')?>',
            dataType:'JSON',
            data:{company_id : company_id},
            success: function(respons){              
               if(respons['company_details']){
               		//alert("dfhsjka" + current_this.val());
               		//alert(respons['driver_details']['email']);
               		current_compy.closest("div.company_detail_class").find(".comp_id").val(respons['company_details']['company_id']);
               		current_compy.closest("div.company_detail_class").find(".comp_business_name").val(respons['company_details']['business_name']);
               		current_compy.closest("div.company_detail_class").find(".comp_business_ABN").val(respons['company_details']['abn']);
               		current_compy.closest("div.company_detail_class").find(".comp_name").val(respons['company_details']['company_name']);
					current_compy.closest("div.company_detail_class").find(".comp_ACN").val(respons['company_details']['acn']);
					if(respons['company_details']['responsible_person_middle_name']){
						var responsible_person_middle_name =" "+respons['company_details']['responsible_person_middle_name'];
					}
					else{
						var responsible_person_middle_name ="";
					}
					current_compy.closest("div.company_detail_class").find(".comp_rsp_name").val(respons['company_details']['responsible_person_first_name']+responsible_person_middle_name+' '+respons['company_details']['responsible_person_last_name']);
					current_compy.closest("div.company_detail_class").find(".comp_rsp_signature").val(respons['company_details']['signature_file']);
					current_compy.closest("div.company_detail_class").find(".comp_ph").val(respons['company_details']['mobile']);
					current_compy.closest("div.company_detail_class").find(".comp_home_ph").val(respons['company_details']['landline_no']);
					current_compy.closest("div.company_detail_class").find(".comp_email").val(respons['company_details']['email']);
					current_compy.closest("div.company_detail_class").find(".comp_accreditation_number").val(respons['company_details']['operator_acc_no']);
					current_compy.closest("div.company_detail_class").find(".comp_expiry_date").val('');
					current_compy.closest("div.company_detail_class").find(".comp_flat_no").val(respons['company_details']['flat_no']);
					current_compy.closest("div.company_detail_class").find(".comp_street_no").val(respons['company_details']['street_no']);
					current_compy.closest("div.company_detail_class").find(".comp_street_name").val(respons['company_details']['street_name']);
					current_compy.closest("div.company_detail_class").find(".comp_suburb").val(respons['company_details']['suburb']);
					current_compy.closest("div.company_detail_class").find(".comp_postcode").val(respons['company_details']['pin']);


					if($("#company_id").val()){
						$("#authorised_signatory").val($("#frt_comp_name").val());
						$("#responsible_person_name").val($("#frst_comp_rsp_name").val());
						$("#operator_company_name").val($("#frt_comp_name").val());
						$("#company_operator_acn").val($("#first_comp_ACN").val());
						$("#responsible_signature").attr("src","<?php echo base_url("public/upload_image/signature/")?>"+$("#frst_comp_rsp_signature").val());
						$("#responsible_signature").show();
					}
               	}
            },
            error:function(response){
              $('#modalContent').html(response.message);  
              $('#myModal').modal('show');
              setTimeout(function(){
                  $('#myModal').modal('hide')
              },400);
            }
      	});
		
	})
	$(document).on('click','.add_more_comp',function(){
		var company_cnt_no  = $("#company_cont").val();
		//alert(company_cnt_no);
		$.ajax({
			type: "POST",
			url: '<?php echo base_url('admin/Driver/ajaxAddRowCompany')?>',
			data:{company_cnt_no : company_cnt_no},
			dataType:'JSON',
			success: function(response){
				//alert(response['prod_varnt_cnt']);
				if(response['html']){
					$("#company_cont").val(response['company_cnt']);	
			  		$('#company_detail_div').append(response['html']);

				}
				else{
					//nothing to do	
				}
			},
			error:function(response){
			alert("error");
			}
        });
	});
	$(document).on('click','.delete_pro',function(){
    if(confirm("Are you sure do you want to delete ?")){
       $(this).parent().parent().remove();
        
    }
    return false;
  });
	$("#generate_agreement_btn").click(function(event){
		event.preventDefault()
		$cnt = 0;
		var company_id 				= $("#company_id").val();
		var bond_amt 				= $("#bond_amt").val();
		var bond_initial_amt 		= $("#bond_initial_amt").val();
		var bond_amount_per_shift 	= $("#bond_amount_per_shift").val();
		//alert(company_id);
		if(company_id == ''){
			$.alert({
               type: 'red',
               title: 'Alert!',
               content: 'Please select atleast company.',
            });
			$cnt++
		}
		else{
			
		}
		if(bond_amt == ''){			
			$.alert({
               type: 'red',
               title: 'Alert!',
               content: 'Please enter bond amount',
            });
			$cnt++
		}
		else{
			
		}
		if(bond_initial_amt == ''){			
			$.alert({
               type: 'red',
               title: 'Alert!',
               content: 'Please enter bond initial amount',
            });
			$cnt++
		}
		else{
			
		}
		if(bond_amount_per_shift == ''){			
			$.alert({
               type: 'red',
               title: 'Alert!',
               content: 'Please enter bond amount per shift',
            });
			$cnt++
		}
		else{
			
		}
		if($cnt == 0){
			$('#loderModal').modal('show');
			$("#driver_agreement").submit();
		}
	})
</script>