<div class="modal" id="modal-addbiaya" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" >
   <div class="modal-dialog modal-md">
      <div class="modal-content">
     
<form class="form-horizontal" data-toggle="validator" method="post" id="form-addbiaya">
   {{ csrf_field() }} {{ method_field('POST') }}
   
   <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"> &times; </span> </button>
      <h6 class="modal-title">Input Biaya</h6>
   </div>
   <br>

   <input type="hidden" id="id2" name="id2">
 
<div style="padding: 2px 35px;">
   
    <div class="form-group">
        <label>Tanggal</label>
        <input type="date" id='tgl2' name='tgl2' value="{{ date('Y-m-d') }}" autofocus class='form-control'>
    </div>
    
<!--
    <div class="form-group">
        <label>Project Perumahan</label>
        <select type="text" id="project" name="project" autofoucs class="form-control" style="font-weight:bold" required>
            <option value=""> --- Pilih Project --- </option>
            @foreach($prj as $list)
                <option value="{{ $list->id }}">{{ $list->project_name }}</option>
            @endforeach
        </select>
    </div>
-->

    <div class="form-group">
        <label>No.Account</label>
        <select type="text" id="act2" name="act2" class="form-control" required autofocus autocomplete="off">
            <option value=""> --- Pilih No.Account --- </option>
            @foreach($act as $dt)
                <option value="{{ $dt->id }}">{{ $dt->acct_no.' - '.$dt->acct_name." [".$dt->is_dk."]" }}</option>
            @endforeach
        </select>
    </div>
    
	
	<div class="form-group">
		<label>Nominal</label>
		<input type="decimal" class="form-control" id="biaya" name="biaya"  autofocus required>
    </div>   

    <div class="form-group">
        <label>Keterangan</label>
        <textarea id='ketr2' name='ketr2' autofocus rows="4" class="form-control" required></textarea>
    </div>

</div>

    <div class="modal-footer">
        <button  type="submit" class="btn btn-primary btn-sm pull-right"><i class="fa fa-floppy-o"></i> Save </button> 
        <button type="button" class="btn btn-warning btn-sm pull-right" data-dismiss="modal"><i class="fa fa-times-circle"></i> Cancel </button>
    </div>
  
</form>

         </div>
      </div>
   </div>
</div>