Commit 82c937fe by hannan

changes in mandays page

parent fd575cf8
...@@ -3,28 +3,6 @@ ...@@ -3,28 +3,6 @@
@section('content') @section('content')
<div class="ui segment"> <div class="ui segment">
<a class="ui blue left ribbon label">Project Man-Days</a> <a class="ui blue left ribbon label">Project Man-Days</a>
<hr>
<select name="tot_pin_requested" onchange="calculateAmount(this.value)" required>
<option value="" disabled selected>Choose your option</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
<input class="w3-input w3-border" name="tot_amount" id="tot_amount" type="text" readonly>
<script>
function calculateAmount(val) {
var tot_price = val * 100;
/*display the result*/
var divobj = document.getElementById('tot_amount');
divobj.value = tot_price;
}
</script>
<br>
<hr>
<br> <br>
<form class="ui form" action="" method="POST"> <form class="ui form" action="" method="POST">
{{csrf_field()}} {{csrf_field()}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment