added induties

This commit is contained in:
Myat Zin Wai Maw
2019-06-17 17:45:21 +06:30
parent 98bbf419fe
commit 047f2941cb
37 changed files with 822 additions and 24 deletions

View File

@@ -36,6 +36,8 @@
<%= f.label :resigned_date %><br/>
<%= f.text_field :resigned_date, {class: 'form-control datepicker', id: 'resigned_date', readonly: true} %><br/>
<%= f.input :is_active %>
<input type="hidden" name="from_induty" value="" class="from_induty">
<input type="hidden" name="booking_id" value="" class="booking_id">
</div>
<div class="form-actions">
@@ -70,3 +72,7 @@
</div>
</div>
</div>
<script type="text/javascript">
$('.from_induty').val(localStorage.getItem('from_induty'));
$('.booking_id').val(localStorage.getItem('booking_id'));
</script>

View File

@@ -10,3 +10,4 @@
</div>
<%= render 'form', commissioner: @commissioner %>