Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="card-body">
- <div class="row">
- <div class="m-1">
- <button class="bg-transparent hover:bg-green-500 text-green-700 font-semibold m-1 hover:text-white py-2 px-3 border border-green-500
- hover:border-transparent rounded" (click)="exportAsExcel()">
- <i class="fa fa-envelope-open-text"></i> Export ke Excel
- </button>
- </div>
- <table class="min-w-full leading-normal border">
- <thead>
- <tr>
- <th class="px-5 py-3 border-2 border-white bg-green-100 text-left text-xs font-semibold text-gray-700 text-center" rowspan="3">NO.</th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" rowspan="3" *ngIf="!isRowEntry1">
- Urut <a class="text-green-600 cursor-pointer" (click)="hideJaminanDientry1()">(show)</a>
- </th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" rowspan="2" colspan="2" *ngIf="isRowEntry1">
- Urut <a class="text-red-600 cursor-pointer" (click)="hideJaminanDientry1()">(hide)</a>
- </th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" rowspan="3" *ngIf="!isRowEntry3">
- Proposal <a class="text-green-600 cursor-pointer" (click)="hideJaminanDientry3()">(show)</a>
- </th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" rowspan="2" colspan="2" *ngIf="isRowEntry3">
- Proposal <a class="text-red-600 cursor-pointer" (click)="hideJaminanDientry3()">(hide)</a>
- </th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" rowspan="3">
- ID Mitra
- </th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" rowspan="3">
- Database
- (Kode Label)
- </th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" rowspan="3">
- Nama Mitra
- </th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" rowspan="3">
- Alamat
- </th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" colspan="8" *ngIf="isRowEntry1">PROSES / MUTASI JAMINAN</th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" rowspan="2" colspan="2" *ngIf="isRowEntry2">
- JUMLAH JAMINAN YG TELAH DIENTRY <a class="text-red-600 cursor-pointer" (click)="hideJaminanDientry2()">(hide)</a>
- </th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" rowspan="3" *ngIf="!isRowEntry2">
- JUMLAH JAMINAN YG TELAH DIENTRY <a class="text-green-600 cursor-pointer" (click)="hideJaminanDientry2()">(show)</a>
- </th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" colspan="8" *ngIf="isRowEntry2">PROSES / MUTASI JAMINAN</th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" rowspan="3">
- JUMLAH JAMINAN TERSIMPAN DI CUSTODIAN SAAT INI
- </th>
- </tr>
- <tr>
- <th class="px-5 py-3 border-2 border-white bg-purple-100 text-left text-xs font-semibold text-gray-700 text-center" colspan="4" *ngIf="isRowEntry1">DIPINJAM</th>
- <th class="px-5 py-3 border-2 border-white bg-purple-200 text-left text-xs font-semibold text-gray-700 text-center" colspan="4" *ngIf="isRowEntry1">DITUKAR</th>
- <th class="px-5 py-3 border-2 border-white bg-yellow-100 text-left text-xs font-semibold text-gray-700 text-center" colspan="4" *ngIf="isRowEntry2">KELUAR KE INSITUSI</th>
- <th class="px-5 py-3 border-2 border-white bg-yellow-200 text-left text-xs font-semibold text-gray-700 text-center" colspan="4" *ngIf="isRowEntry2">RELEASE</th>
- </tr>
- <tr>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry1">Mitra </th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry1">Proposal</th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry3">Baru </th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry3">Lama</th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry1">JENIS JAMINAN</th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry1">JUMLAH</th>
- <th class="px-5 py-3 border-2 border-white bg-purple-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry1">JUMLAH</th>
- <th class="px-5 py-3 border-2 border-white bg-purple-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry1">TGL PINJAMAN</th>
- <th class="px-5 py-3 border-2 border-white bg-purple-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry1">PEMINJAM</th>
- <th class="px-5 py-3 border-2 border-white bg-purple-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry1">ALASAN</th>
- <th class="px-5 py-3 border-2 border-white bg-purple-200 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry1">JUMLAH</th>
- <th class="px-5 py-3 border-2 border-white bg-purple-200 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry1">TGL PINJAMAN</th>
- <th class="px-5 py-3 border-2 border-white bg-purple-200 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry1">PEMINJAM</th>
- <th class="px-5 py-3 border-2 border-white bg-purple-200 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry1">ALASAN</th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry2">JENIS JAMINAN</th>
- <th class="px-5 py-3 border-2 border-white bg-blue-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry2">JUMLAH</th>
- <th class="px-5 py-3 border-2 border-white bg-yellow-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry2">JUMLAH</th>
- <th class="px-5 py-3 border-2 border-white bg-yellow-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry2">TGL KELUAR</th>
- <th class="px-5 py-3 border-2 border-white bg-yellow-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry2">NAMA INSTASI</th>
- <th class="px-5 py-3 border-2 border-white bg-yellow-100 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry2">ALASAN</th>
- <th class="px-5 py-3 border-2 border-white bg-yellow-200 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry2">JUMLAH</th>
- <th class="px-5 py-3 border-2 border-white bg-yellow-200 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry2">TGL KELUAR</th>
- <th class="px-5 py-3 border-2 border-white bg-yellow-200 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry2">NAMA INSTASI</th>
- <th class="px-5 py-3 border-2 border-white bg-yellow-200 text-left text-xs font-semibold text-gray-700 text-center" *ngIf="isRowEntry2">ALASAN</th>
- </tr>
- </thead>
- <tbody class="bg-white divide-y divide-gray-200 text-center">
- <tr *ngFor="let data of modelSementara; let i=index">
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs">{{i+1}}</td>
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs">
- <div style="width: 150px;">{{data.idProposal}}</div>
- </td>
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs">
- <div style="width: 200px;">{{data.namaMitra}}</div>
- </td>
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs">
- <div style="width: 200px;">{{data.noSP3}}</div>
- </td>
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs">
- <div style="width: 150px;">{{data.tglSP3}}</div>
- </td>
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs">
- <div style="width: 150px;">{{data.tglPencairan}}</div>
- </td>
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{data.pembiayaanKe}}</div>
- </td>
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs">
- <div style="width: 200px;">{{data.nilaiPencairan}}</div>
- </td>
- <!-- JUMLAH JAMINAN YANG DI ENTRY 1 -->
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs" colspan="10" *ngIf="isRowEntry1">
- <table>
- <tr *ngFor="let jaminanDientry1 of RekapExcel; let i=index">
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs ">
- <div style="width: 200px;"><b>{{jaminanDientry1.nomorIdProposalBaru}}</b></div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry1.nomorIdProposalBaru}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry1.nomorIdMitra}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry1.nomorIdMitra}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry1.nomorIdMitra}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry1.nomorIdMitra}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry1.nomorIdMitra}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry1.nomorIdMitra}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry1.nomorIdMitra}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry1.nomorIdMitra}}</div>
- </td>
- </tr>
- </table>
- </td>
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs" *ngIf="!isRowEntry1">-</td>
- <!-- JUMLAH JAMINAN YANG DI ENTRY 2 -->
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs" colspan="10" *ngIf="isRowEntry2">
- <table>
- <tr *ngFor="let jaminanDientry2 of data.jaminanDientry2; let i=index">
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 200px;"><b>{{jaminanDientry2.jenisJaminan}}</b></div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry2.jumlah}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry2.keluarKeInsitusiJumlah}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry2.keluarKeInsitusiTglKeluar}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry2.keluarKeInsitusiNamaInstasi}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry2.keluarKeInsitusiAlasan}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry2.releaseJumlah}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry2.releaseTglRelease}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry2.releaseNamaMitra}}</div>
- </td>
- <td class="px-1 py-1 border-b-2 border-gray-100 bg-white text-xs">
- <div style="width: 100px;">{{jaminanDientry2.releaseAlasan}}</div>
- </td>
- </tr>
- </table>
- </td>
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs" *ngIf="!isRowEntry2">-</td>
- <td class="px-1 py-1 border-2 border-gray-100 bg-white text-xs text-center">{{data.jmlJaminanTersimpan}}</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement