<div class="modal fade" id="denominasipanjar" tabindex="-1" role="dialog" aria-labelledby="denominasipanjarModalCenterTitle" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-xl" role="document">
      <div class="modal-content">
        <div class="modal-header">

          <ul class="nav nav-pills">
            <li class="nav-item">
              <a class="nav-link active" data-toggle="pill" href="#home" role="tab" aria-controls="pills-flamingo" aria-selected="true">Keping</a>
            </li>
          </ul>

          <label class="mt-2 ml-3">Amaun Kiraan:</label><input type="text" class="form-control col-3 ml-3" id="amaunkiraan" placeholder="0.00" readonly>
          
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
          
        </div>
        <div class="modal-body">  

          <div class="tab-content">
            <div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="flamingo-tab">
              
              <table class="table text-center"> 
                    <tr>
                          <th></th>
                          <th name="denominasi" class="denominasi">Peti Besi</th>
                          <th>Ambilan</th>
                          <th>Jumlah (RM)</th>
                          <th></th>
                          <th name="denominasi" class="denominasi">Peti Besi</th>
                          <th>Ambilan</th>
                          <th>Jumlah (RM)</th>
                    </tr>
                  <tr>
                    <td>RM0.01</td>
                    <td name="denominasi" class="denominasi"><input type="text" class="form-control" value="{{ $denominasi['txtsen1'] }}" readonly/></td>
                    <td><input type="text" name="ambilsen1" class="form-control kosong" id="sen1" data-amaun="{{ $denominasi['txtsen1'] }}" onkeyup="kiraanpanjar(this)"/> </td>
                    <td><input type="text" name="totalsen1" id="totalsen1" class="form-control kosong" value="0.00" readonly/> </td>
                    <td>RM1</td>
                    <td name="denominasi" class="denominasi"><input type="text" class="form-control" value="{{ $denominasi['txtring1'] }}" readonly/></td>
                    <td><input type="text" name="ambilring1" class="form-control kosong" id="ringgit1" data-amaun="{{ $denominasi['txtring1'] }}" onkeyup="kiraanpanjar(this)"/> </td>
                    <td><input type="text" name="totalring1" id="totalring1" class="form-control kosong" value="0.00" readonly/> </td>
                  </tr>
                  <tr>
                      <td>RM0.05</td>
                      <td name="denominasi" class="denominasi"><input type="text" class="form-control" value="{{ $denominasi['txtsen5'] }}" readonly/></td>
                      <td><input type="text" name="ambilsen5" class="form-control kosong" id="sen5" data-amaun="{{ $denominasi['txtsen5'] }}" onkeyup="kiraanpanjar(this)"/> </td>
                      <td><input type="text" name="totalsen5" id="totalsen5" class="form-control kosong" value="0.00" readonly/> </td>
                      <td>RM5</td>
                      <td name="denominasi" class="denominasi"><input type="text" class="form-control" value="{{ $denominasi['txtring5'] }}" readonly/></td>
                      <td><input type="text" name="ambilring5" class="form-control kosong" id="ringgit5" data-amaun="{{ $denominasi['txtring5'] }}" onkeyup="kiraanpanjar(this)"/> </td>
                      <td><input type="text" name="totalring5" id="totalring5" class="form-control kosong" value="0.00" readonly/> </td>
                  </tr>
                  <tr>
                      <td>RM0.10</td>
                      <td name="denominasi" class="denominasi"><input type="text" class="form-control" value="{{ $denominasi['txtsen10'] }}" readonly/></td>
                      <td><input type="text" name="ambilsen10" class="form-control kosong" id="sen10" data-amaun="{{ $denominasi['txtsen10'] }}" onkeyup="kiraanpanjar(this)"/> </td>
                      <td><input type="text" name="totalsen10" id="totalsen10" class="form-control kosong" value="0.00" readonly/> </td>
                      <td>RM10</td>
                      <td name="denominasi" class="denominasi"><input type="text" class="form-control" value="{{ $denominasi['txtring10'] }}" readonly/></td>
                      <td><input type="text" name="ambilring10" class="form-control kosong" id="ringgit10" data-amaun="{{ $denominasi['txtring10'] }}" onkeyup="kiraanpanjar(this)"/> </td>
                      <td><input type="text" name="totalring10" id="totalring10" class="form-control kosong" value="0.00" readonly/> </td>
                  </tr>
                  <tr>
                    <td>RM0.20</td>
                    <td name="denominasi" class="denominasi"><input type="text" class="form-control" value="{{ $denominasi['txtsen20'] }}" readonly/></td>
                    <td><input type="text" name="ambilsen20" class="form-control kosong" id="sen20" data-amaun="{{ $denominasi['txtsen20'] }}" onkeyup="kiraanpanjar(this)"/> </td>
                    <td><input type="text" name="totalsen20" id="totalsen20" class="form-control kosong" value="0.00" readonly/> </td>
                    <td> RM20</td>
                    <td name="denominasi" class="denominasi"><input type="text" class="form-control" value="{{ $denominasi['txtring20'] }}" readonly/></td>
                    <td><input type="text" name="ambilring20" class="form-control kosong" id="ringgit20" data-amaun="{{ $denominasi['txtring20'] }}" onkeyup="kiraanpanjar(this)"/> </td>
                    <td><input type="text" name="totalring20" id="totalring20" class="form-control kosong" value="0.00" readonly/> </td>
                  </tr>
                  <tr>
                    <td>RM0.50</td>
                    <td name="denominasi" class="denominasi"><input type="text" class="form-control" value="{{ $denominasi['txtsen50'] }}" readonly/></td>
                    <td><input type="text" name="ambilsen50" class="form-control kosong" id="sen50" data-amaun="{{ $denominasi['txtsen50'] }}" onkeyup="kiraanpanjar(this)"/> </td>
                    <td><input type="text" name="totalsen50" id="totalsen50" class="form-control kosong" value="0.00" readonly/> </td>
                    <td>RM50</td> 
                    <td name="denominasi" class="denominasi"><input type="text" class="form-control" value="{{ $denominasi['txtring50'] }}" readonly/></td>
                    <td><input type="text" name="ambilring50" class="form-control kosong" id="ringgit50" data-amaun="{{ $denominasi['txtring50'] }}" onkeyup="kiraanpanjar(this)"/> </td>
                    <td><input type="text" name="totalring50" id="totalring50" class="form-control kosong" value="0.00" readonly/> </td>
                </tr>
                <tr>
                  <td></td>
                  <td></td>
                  <td></td>
                  <td></td>
                  <td>RM100</td> 
                  <td name="denominasi" class="denominasi"><input type="text" class="form-control" value="{{ $denominasi['txtring100'] }}" readonly/></td>
                  <td><input type="text" name="ambilring100" class="form-control kosong" id="ringgit100" data-amaun="{{ $denominasi['txtring100'] }}" onkeyup="kiraanpanjar(this)"/> </td>
                  <td><input type="text" name="totalring100" id="totalring100" class="form-control kosong" value="0.00" readonly/> </td>
                </tr>
              </table>

            </div>
          </div>

          <input type="hidden" id="jenisjenis"/>
          <input type="hidden" id="kodcawangan"/>
          <input type="hidden" id="tellerla"/>

        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-danger btn-lg" data-dismiss="modal">Batal</button>
            <button type="button" class="btn btn-success btn-lg" onclick="terimadeno();">Terima</button>
        </div>
      </div>
    </div>
  </div>



