Skip to content

Commit

Permalink
IDK what these changes are
Browse files Browse the repository at this point in the history
  • Loading branch information
MFox committed Apr 22, 2017
1 parent 7800100 commit 3044a9a
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 9 deletions.
22 changes: 16 additions & 6 deletions Wello/www/details-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
<?php
//Should add ternary operator for nulls and blanks
echo $row['Casing_Length_Feet'];
?>
?> feet
</p>
</li>
<li>
Expand All @@ -177,7 +177,7 @@
<?php
//Should add ternary operator for nulls and blanks
echo $row['Casing_Diamiter_Inches'];
?>
?> inches
</p>
</li>

Expand All @@ -187,18 +187,28 @@
<?php
//Should add ternary operator for nulls and blanks
echo $row['Casing_Weight_Per_Foot_Pounds'];
?>
?> (weight per foot pounds)
</p>
</li>

<li>
<h3>Threaded/Welded</h3>
<p>STILLTODO</p>
<h3>Casing Joint Type</h3>
<p>
<?php
//Should add ternary operator for nulls and blanks
echo $row['Casing_Joint_Type'];
?>
</p>
</li>

<li>
<h3>Drive Shoe?</h3>
<p>STILLTODO</p>
<p>
<?php
//Should add ternary operator for nulls and blanks
echo $row['Drive_Shoe'];
?>
</p>
</li>

<li>
Expand Down
5 changes: 5 additions & 0 deletions Wello/www/details.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
Relative_Location,
Proposed_Use,
Drilling_Equipment,
Casing_Length_Feet,
Casing_Diameter_Inches,
Casing_Weight_Per_Foot_Pounds,
Casing_Joint_Type,
Drive_Shoe,
Depth_To_Top_Of_Gravel_Pack,
Depth_To_Bottom_Of_Gravel_Pack
Expand Down
20 changes: 17 additions & 3 deletions Wello/www/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,31 @@
</div>
<div class="group">
<ul class="inputs" id="report-metadata">
<li><label for="well-completion-date">Date well completed</label>
<input type="date" id="well-completion-date"></li>
<li>
<label for="well-completion-date">Date well completed</label>
<?php
$W_Completion_Date = date("m/d/Y", strtotime($row['Date_Well_Completed']));
echo'<input type="date" id="well-completion-date" value="'.$W_Completion_Date.'">';
?>
</li>


<?php
//Should add ternary operator for nulls and blanks
$W_Completion_Date = date("m/d/Y", strtotime($row['Date_Well_Completed']));
echo'<p id="well-completion-date">'.$W_Completion_Date.'</p>';
?>

<li>
<label for="report-completion-date">Date of report</label>
<input type="date" id="report-completion-date">
</li>

<li>
<label for="permit-number">Permit number</label>
<input type="number" min="1" id="permit-number" class="long-num">
<?php
echo'<input type="number" min="1" id="permit-number" class="long-num" value="'.$Well_ID.'">';
?>
</li>

<li>
Expand Down

0 comments on commit 3044a9a

Please sign in to comment.