<div class="form_fields"> <label>Opening Paragraph</label> <?php render_edit_control("textarea", "data[introduction_opening_paragraph]", $data['introduction_opening_paragraph'], $defaults['introduction_opening_paragraph']); ?> <label>About The Survey</label> <?php render_edit_control("textarea", "data[introduction_about_the_survey]", $data['introduction_about_the_survey'], $defaults['introduction_about_the_survey']); ?> <label>Methodology</label> <?php render_edit_control("textarea", "data[introduction_methodology]", $data['introduction_methodology'], $defaults['introduction_methodology']); ?> <label>The Report</label> <?php render_edit_control("textarea", "data[introduction_the_report]", $data['introduction_the_report'], $defaults['introduction_the_report']); ?> <label>Findings / Recomendations</label> <?php render_edit_control("textarea", "data[introduction_opening_paintroduction_findings_recomendationsragraph]", $data['introduction_findings_recomendations'], $defaults['introduction_findings_recomendations']); ?> </div>
<div class="form_fields"> <label>Opening Paragraph</label> <?php render_edit_control("textarea", "data[timber_serv_opening_paragraph]", $data['timber_serv_opening_paragraph'], $defaults['timber_serv_opening_paragraph']); ?> <?php if ($edit_ctx) { ?> <hr /> <h4>Observations</h4> <div class="timber_surv_observation"></div> <?php $i = 0; ?> <?php if (is_array($data['timber_surv_observations'])) { ?> <?php foreach ($data['timber_surv_observations'] as $obs) { ?> <div class="timber_surv_observation"> <label>Area Type</label> <input type="text" name="data[timber_surv_observations][<?php echo $i; ?> ][type]" value="<?php h($obs['type']); ?> " /> <label>Description</label>
<hr /> <?php if ($edit_ctx) { ?> <label>Property Description</label> <textarea name="data[prop_descr]"><?php h($data['prop_descr']); ?> </textarea> <label>Clients Instructions</label> <textarea name="data[clients_instructions]"><?php h($data['clients_instructions']); ?> </textarea> <label>Point of Reference</label> <textarea name="data[point_of_reference]"><?php h($data['point_of_reference']); ?> </textarea> <?php } ?> <label>Nomenclature</label> <?php render_edit_control("textarea", "data[nomenclature]", $data['nomenclature'], $defaults['nomenclature']); ?> <label>Limitations/Restrictions</label> <?php render_edit_control("textarea", "data[limitations]", $data['limitations'], $defaults['limitations']); ?> </div>
<div class="form_fields"> <?php render_edit_control("textarea", "data[terms]", $data['terms'], $defaults['terms']); ?> </div>
?> <?php if ($edit_ctx) { ?> <label>External Observations</label> <textarea name="data[damp_inspec_external_observations]"><?php h($data['damp_inspec_external_observations']); ?> </textarea> <?php } ?> <label>Moisture Infobox</label> <?php render_edit_control("textarea", "data[damp_inspec_moisture_infobox]", $data['damp_inspec_moisture_infobox'], $defaults['damp_inspec_moisture_infobox']); ?> <?php if ($edit_ctx) { ?> <label>Internal Observations</label> <textarea name="data[damp_inspec_internal_observations]"><?php h($data['damp_inspec_internal_observations']); ?> </textarea> <?php } ?> </div>
<?php if ($edit_ctx) { ?> <div class="form_fields"> <label>Summary</label> <?php render_edit_control("textarea", "data[summ_rec_summary]", $data['summ_rec_summary'], $defaults['summ_rec_summary']); ?> <hr /> <h4>Recommendations</h4> <label>Add Existing Item</label> <select name="summ_rec_add_existing_item"> <?php foreach (RecommendedItem::all("id ASC") as $item) { ?> <option price="<?php h($item->price); ?> " descr="<?php h($item->description); ?> "> <?php printf("%03d", $item->id); ?> - <?php h($item->name); ?> - £<?php h($item->price); ?>
<label>Telephone</label> <?php render_edit_control("input", "data[our_telephone]", $data['our_telephone'], $defaults['our_telephone']); ?> <label>Fax</label> <?php render_edit_control("input", "data[our_fax]", $data['our_fax'], $defaults['our_fax']); ?> <label>Email</label> <?php render_edit_control("input", "data[our_email]", $data['our_email'], $defaults['our_email']); ?> <hr /> <h3>Message from the Surveyor</h3> <?php render_edit_control("textarea", "data[message]", $data['message'], $defaults['message']); ?> <hr /> <?php if ($edit_ctx) { ?> <h3>Recommended Items</h3> <table><tbody id="summ_rec_current_items_table"><!--this table is based on what was selected on the previous page--> <tr> <td width="100px"><p>Item Ref.</p></td> <td width="550px"><p>Description</p></td> <td></td> </tr> <?php $total_price = 0; ?>
<div class="form_fields"> <label>Safety Precautions</label> <?php render_edit_control("textarea", "data[safety_precautions]", $data['safety_precautions'], $defaults['safety_precautions']); ?> <label>The Don'ts</label> <?php render_edit_control("textarea", "data[donts]", $data['donts'], $defaults['donts']); ?> <label>The Do's</label> <?php render_edit_control("textarea", "data[dos]", $data['dos'], $defaults['dos']); ?> </div>
<div class="form_fields"> <label>Opening Infobox</label> <?php render_edit_control("textarea", "data[conden_rep_opening_information]", $data['conden_rep_opening_information'], $defaults['conden_rep_opening_information']); ?> <label>Relative Humidity Readings Information</label> <?php render_edit_control("textarea", "data[conden_rep_relative_humidity_readings_information]", $data['conden_rep_relative_humidity_readings_information'], $defaults['conden_rep_relative_humidity_readings_information']); ?> <?php if ($edit_ctx) { ?> <hr /> <h4>Readings</h4> <table id="conden_rep_table"> <tr> <td width="200px"><p>Room</p></td> <td><p>Air Temperature</p></td> <td><p>Relative Humidity</p></td> <td><p>Dew Point</p></td> </tr> <?php $i = 0; ?> <?php if (is_array($data['conden_rows'])) { ?> <?php foreach ($data['conden_rows'] as $row) {