<div class="modal" id="form-detail" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" >
    <div class="modal-dialog modal-md">
        <div class="modal-content">
            <div class="modal-content" style="border-left: green 3px solid;">
     
<form class="form-horizontal" data-toggle="validator" method="post" id="form-detailfaktur">
    {{ csrf_field() }} {{ method_field('POST') }}
   
    <input type="hidden" id="idopn" name="idopn">
    
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"> &times; </span> </button>
        <h6 id="gudang"></h6>        
        <h6 id="tglopn"></h6>
        <h6 id="keterangan"></h6>
    </div>
   	
   	<div style="text-align:center">
   	<a onclick="addItem()" class="btn btn-success btn-sm" id="btndetail"><i class="fa fa-plus-circle"> </i> Add Detail </a> 
    <a onclick="printFaktur()" class="btn btn-warning btn-sm"><i class="fa fa-print"> </i> Print Faktur </a>
    <a onclick="posting()" class="btn btn-warning btn-sm" id="btnposting"><i class="fa fa-check"> </i> Posting </a>
    </div>
    
<div style="padding:5px 5px">
    
    <table "table table-striped table-padding table-bordered" id="tbldetail" width="100%">
        <thead>
            <tr>
                <th>DESKRIPSI</th>
                <th width="100">Kemasan</th>
                <th width="50" class="text-right">QTY</th>
                <th width="30"></th>
    	    </tr>
        </thead>
        
        <tbody></tbody>
    
    </table>
    
</div>
    
</form>

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

<!----------------------------------------------------------------->
   
        


 
