Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- HALAMAN -->
- <div class="mx-2">
- <div class="bg-white rounded-md h-12 flex items-center justify-between shadow-lg">
- <!-- <div class="p-4 text-gray-400 text-xs sm:text-sm uppercase" *ngIf="isLog === 'true'">Cover Note Logs / Pencatatan Jaminan Sementara</div> -->
- <div class="p-4 text-gray-400 text-xs sm:text-sm uppercase">Entry Cover Note / Pencatatan Jaminan Sementara</div>
- <div class="p-4 cursor-pointer" (click)="refresh()">
- <svg class="w-5 hover:text-blue-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd" d="M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z" clip-rule="evenodd" />
- </svg>
- </div>
- </div>
- </div>
- <!-- CONTENT -->
- <div class="mx-2 mt-5">
- <div class="bg-white shadow-xl rounded-lg">
- <div class="m-6 sm:mt-0">
- <div class="md:grid md:grid-cols-4 md:gap-6">
- <div class="md:col-span-2">
- <div class="flex flex-row">
- <h3 class="text-lg font-medium leading-6 text-gray-900 mt-2">INFORMASI MITRA</h3>
- </div>
- <div class="px-4 sm:px-0 mt-5">
- <div class="grid grid-cols-8 sm:grid-cols-6 gap-6">
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">ID Mitra</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.idMitra}}</span>
- </div>
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">Nama Mitra</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.namaMitra}}</span>
- </div>
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">Nama Kontak</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.namaKontak}}</span>
- </div>
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">No. Telp</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.noTelpMitra}}</span>
- </div>
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">Alamat</label>
- </div>
- <div class="col-span-4">
- <span class="text-gray-500">
- {{covernote.alamatMitra}}.
- Kecamatan {{parameter.kecamatan}}, Kabupaten {{parameter.kabupaten}}. {{parameter.provinsi}}
- </span>
- </div>
- </div>
- <h3 class="text-lg font-medium leading-6 text-gray-900 mt-20">INFORMASI PROPOSAL</h3>
- <div class="grid grid-cols-8 sm:grid-cols-6 gap-6 mt-5">
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">ID Proposal</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.idProposal}}</span>
- </div>
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">Tgl Terima</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.tanggalTerima | slice: 0:10 | date: 'dd-MM-yyyy'}} {{covernote.tanggalTerima | slice:11:16 }}</span>
- </div>
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">Jenis</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.polaPembiayaan}} ({{covernote.jenisPinjaman}})</span>
- </div>
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">Plafon</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.plafond | currency:'INA':'Rp ':'1.0'}}</span>
- </div>
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">Kegunaan</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.kegunaan}}</span>
- </div>
- </div>
- <!-- <h3 class="text-lg font-medium leading-6 text-gray-900 mt-20">SP3</h3>
- <div class="grid grid-cols-6 gap-6">
- <div class="col-span-6 sm:col-span-6 mt-5">
- <div class="overflow-x-auto">
- <table>
- <tr class="bg-gray-50 text-xs text-gray-800 border">
- <th class="px-4 py-2 border">PENCAIRAN KE</th>
- <th class="px-4 py-2 border">NILAI PENCAIRAN (Rp)</th>
- <th class="px-4 py-2 border">TGL PENCAIRAN</th>
- </tr>
- <tbody class="bg-white divide-y divide-gray-200 text-center text-sm" *ngIf="isEmptySP3">
- <tr>
- <td class="px-4 py-2 border bg-white" colspan="3"> Tidak Ada Data SP3 </td>
- </tr>
- </tbody>
- <tbody class="bg-white divide-y divide-gray-200" *ngIf="!isEmptySP3">
- <tr class="text-center text-xs text-gray-500 border" *ngFor="let sp3 of covernote.listOopCoverNoteSp3">
- <td class="px-4 py-2 border">{{sp3.pencairanKe}}</td>
- <td class="px-2 py-2 border">
- <div class="w-32">{{sp3.nilaiPencairan | currency:'INA':'Rp ':'1.0'}}</div>
- </td>
- <td class="px-4 py-2 border">
- <div class="w-24">{{sp3.tanggalPencairan | slice: 0:10 | date: 'dd-MM-yyyy'}}</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div> -->
- <h3 class="text-lg font-medium leading-6 text-gray-900 mt-20">Pengikatan Dokumen</h3>
- <div class="grid grid-cols-6 gap-6">
- <div class="col-span-6 sm:col-span-6 mt-5">
- <div class="overflow-x-auto">
- <table>
- <tr class="bg-gray-50 text-xs text-gray-800 border">
- <th class="px-4 py-2 border">No</th>
- <th class="px-6 py-4 border"> Akta</th>
- <th class="px-4 py-2 border">Nomor Akta </th>
- <th class="px-4 py-2 border">Jenis Jaminan</th>
- <th class="px-4 py-2 border">Detail</th>
- </tr>
- <!-- <tbody class="bg-white divide-y divide-gray-200 text-center text-sm" *ngIf="isEmptySP3">
- <tr>
- <td class="px-4 py-2 border bg-white" colspan="3"> Tidak Ada Data SP3 </td>
- </tr>
- </tbody> -->
- <tbody class="bg-white divide-y divide-gray-200" >
- <tr class="text-center text-xs text-gray-500 border " *ngFor="let pengikatan of covernote.listOopCoverNotePengikatanAktaDokumen let i = index">
- <td class="px-4 py-2 border">{{i+1}}</td>
- <td class="px-6 py-4 border w-6/9">
- <div class="block col-span-6 sm:col-span-6">
- <input type="text" name="aktaDokumen-{{i}}" [(ngModel)]="pengikatan.aktaDokumen" autocomplete="off"
- class="text-gray-700 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500
- block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- </td>
- <td class="px-2 py-2 border">
- <div class="block col-span-6 sm:col-span-3 flex" >
- <input type="text" name="nomorAkta-{{i}}" [(ngModel)]="pengikatan.nomorAkta" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- </td>
- <td class="px-2 py-2 border">
- <div class="block col-span-6 sm:col-span-3 flex" >
- <input type="text" name="jenisJaminan-{{i}}" [(ngModel)]="pengikatan.jenisJaminan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- </td>
- <td class="px-2 py-2 border">
- <div class="block col-span-6 sm:col-span-3 flex" >
- <input type="text" name="detail-{{i}}" [(ngModel)]="pengikatan.detail" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- <svg (click)="addPengikatan()" class="cursor-pointer h-5 w-8 flex justify-center items-center text-white text-green-500" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- <svg (click)="removePengikatan(i)"
- class="cursor-pointer mr-2 h-5 w-8 flex justify-center items-center text-white text-red-500" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
- />
- </svg>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <!-- <div class="grid grid-cols-6 gap-6">
- <div class="col-span-6 mt-20">
- <div class="flex items-center">
- <h3 class="text-lg font-medium leading-6 text-gray-900">JAMINAN</h3>
- <svg (click)="btnAddJaminan()" *ngIf="formInput === 'ADENDUM'" class="ml-3 h-5 w-5 text-white text-green-500 cursor-pointer" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- </div>
- </div> -->
- <div class="grid grid-cols-6 gap-6">
- <div class="col-span-6 mt-20">
- <div class="flex items-center">
- <h3 class="text-lg font-medium leading-6 text-gray-900">JAMINAN</h3>
- <svg (click)="modalJaminanAll()" class="ml-3 h-5 w-5 text-white text-green-500 cursor-pointer" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- </div>
- </div>
- <!-- FORM JAMINAN ADENDUM -->
- <div class="col-span-6" *ngIf="showFormJaminan">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Nama Jaminan</label>
- <input type="text" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed">
- </div>
- <div class="col-span-6" *ngIf="showFormJaminan">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Keterangan Jaminan</label>
- <input type="text" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed">
- </div>
- <div class="col-span-6" *ngIf="showFormJaminan">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Nilai Jaminan</label>
- <input type="number" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed">
- </div>
- <div class="col-span-6" *ngIf="showFormJaminan">
- <button type="submit" class="inline-flex mr-2 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-green-500 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500">
- Upadte Jaminan
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />
- </svg>
- </button>
- </div>
- <div class="col-span-6">
- <div class="overflow-x-auto">
- <table>
- <tr class="bg-gray-50 text-xs text-gray-800 border">
- <th class="px-4 py-2 border">NO</th>
- <th class="px-4 py-2 border">NAMA JAMINAN</th>
- <th class="px-4 py-2 border">KETERANGAN JAMINAN</th>
- <th class="px-4 py-2 border">NILAI JAMINAN (Rp)</th>
- <th class="px-4 py-2 border" *ngIf="formInput === 'ADENDUM'">AKSI</th>
- </tr>
- <tbody class="bg-white divide-y divide-gray-200 text-center text-sm" *ngIf="isEmptyJaminan">
- <tr>
- <td class="px-4 py-2 border bg-white" colspan="4"> Tidak Ada Data Jaminan </td>
- </tr>
- </tbody>
- <tbody class="bg-white divide-y divide-gray-200" *ngIf="!isEmptyJaminan">
- <tr class="text-center text-xs text-gray-500 uppercase border" *ngFor="let jaminan of covernote.listOopCoverNoteJaminan; let i = index">
- <td class="px-4 py-2 border">{{i+1}}</td>
- <td class="px-4 py-2 border">{{jaminan.namaJaminan}}</td>
- <td class="px-4 py-2 border">{{jaminan.keteranganJaminan}}</td>
- <td class="px-2 py-2 border">
- <div class="w-32">{{jaminan.nilaiJaminan | currency:'INA':'Rp ':'1.0'}}</div>
- </td>
- <td class="px-2 py-2 border" *ngIf="formInput === 'ADENDUM'">
- <svg class="h-5 w-5 text-white text-red-500 ml-auto mr-auto" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="mt-5 md:mt-0 md:col-span-2">
- <div class="flex flex-row">
- <h3 class="text-lg font-medium leading-6 text-gray-900 mt-2 ml-2">FORM INPUT {{formInput}}</h3>
- <div class="ml-3 flex items-center justify-center">
- <!-- <div class="w-2 h-2 rounded-full bg-red-500 animate-pulse"></div>
- <div class="w-2 h-2 rounded-full bg-green-500 animate-pulse"></div>
- <div class="ml-2" *ngIf="isLog === 'true'">
- <h3 class="text-lg font-medium leading-6 text-gray-900 mt-2 ml-2">Logs Versi {{coverNote.versi}}</h3>
- </div> -->
- </div>
- </div>
- <div class="shadow overflow-hidden sm:rounded-md">
- <div class="px-4 py-5 bg-white sm:p-6">
- <div class="grid grid-cols-6 gap-6">
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">ID Proposal</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.idProposal}}</span>
- </div>
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">Tgl Terima</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.tanggalTerima | slice: 0:10 | date: 'dd-MM-yyyy'}} {{covernote.tanggalTerima | slice:11:16 }}</span>
- </div>
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">Jenis</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.polaPembiayaan}} ({{covernote.jenisPinjaman}})</span>
- </div>
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">Plafon</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.plafond | currency:'INA':'Rp ':'1.0'}}</span>
- </div>
- <div class="col-span-4 sm:col-span-1">
- <label class="text-sm font-medium text-gray-500 font-semibold">Kegunaan</label>
- </div>
- <div class="col-span-4 sm:col-span-2">
- <span class="text-gray-500">{{covernote.kegunaan}}</span>
- </div>
- <div class="col-span-6 sm:col-span-3">
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Tanggal Covernote</label>
- <input type="date" name="tanggalCoverNote" [ngModel]="covernote.tanggalCoverNote | date:'yyyy-MM-dd'" (change)="FormatTanggal1($event)"
- autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <!-- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Cover Note</label>
- <select name="lamaPengikatan" [(ngModel)]="coverNote.jenisCoverNote" (change)="selectCoverNote($event)" autocomplete="off" class="text-gray-500 mt-2 block w-36 py-1 px-3 border bg-white rounded-md shadow-md focus:outline-none focus:outline-none focus:ring-2 focus:ring-blue-500 sm:text-sm disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- <option *ngFor="let selectCN of lstCoverNote" [value]="selectCN">{{selectCN}}</option>
- </select>
- </div> -->
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">No Cover Note</label>
- <input type="text" name="noCoverNote" [(ngModel)]="covernote.noCoverNote" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Perihal</label>
- <input type="text" name="perihal" [(ngModel)]="covernote.perihal" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Nama Perusahaan Notaris</label>
- <input type="text" name="namaPerusahaanNotaris" [(ngModel)]="covernote.namaPerusahaanNotaris" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">No. Telp Kantor</label>
- <input type="text" name="noTelpKantor" [(ngModel)]="covernote.noTelpKantor" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="col-span-6">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Alamat Perusahaan Notaris</label>
- <textarea rows="3" name="alamatPerusahaanNotaris" [(ngModel)]="covernote.alamatPerusahaanNotaris" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Nama Notaris</label>
- <input type="text" name="namaNotaris" [(ngModel)]="covernote.namaNotaris" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">No. Telp Notaris</label>
- <input type="text" name="noTelpNotaris" [(ngModel)]="covernote.noTelpNotaris" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="col-span-6">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Alamat Notaris</label>
- <textarea rows="3" name="alamatNotaris" [(ngModel)]="covernote.alamatNotaris" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- </div>
- <!-- REKANAN -->
- <div class="grid grid-cols-6 gap-6 sm:mt-5" *ngFor="let modelrekanan of covernote.listOopCoverNoteRekanan;let i = index;">
- <div class="col-span-6 flex">
- <svg (click)="addRekanan()" class="cursor-pointer h-5 w-5 flex justify-center items-center text-white text-green-500" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- <svg (click)="removeRekanan(i)" class="cursor-pointer mr-2 h-5 w-5 flex justify-center items-center text-white text-red-500" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
- </svg>
- <label class="block text-sm font-medium text-gray-500 font-semibold flex">Rekanan {{i+1}}</label>
- <svg id="svgRotate{{i}}" (click)="showHideRekanan(i, $event)" class="cursor-pointer ml-2 h-5 w-5 flex justify-center items-center transform rotate-0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
- </svg>
- </div>
- <div class="hidden sm:block sm:col-span-6" aria-hidden="true">
- <div class="w-screen">
- <div class="border-t border-gray-200"></div>
- </div>
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Nama Notaris Rekanan</label>
- <input type="text" name="namaNotarisRekanan" [(ngModel)]="modelrekanan.namaNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">No. Telp Notaris Rekanan</label>
- <input type="text" name="noTelpNotarisRekanan" [(ngModel)]="modelrekanan.noTelpNotarisRekanan" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Alamat Notaris Rekanan</label>
- <textarea rows="3" name="alamatNotarisRekanan" [(ngModel)]="modelrekanan.alamatNotarisRekanan" autocomplete="off"
- class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- </div>
- <!-- LAMA PENGIKATAN DST.... -->
- <div class="grid grid-cols-6 gap-6 sm:mt-5">
- <div class="col-span-6 sm:col-span-3 " >
- <label class="block text-sm font-medium text-gray-500 font-semibold">Lama penyelesaian (Bln)</label>
- <input type="number" name="lamaPengikatan" [(ngModel)]="covernote.lamaPengikatan" maxlength="3" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-24 shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput" (keyup)="autoTglJatuhTempo()">
- </div>
- <div class="col-span-6 sm:col-span-3"></div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Jumlah Jaminan</label>
- <input type="number" name="jumlahJaminan" [(ngModel)]="covernote.jumlahJaminan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- disabled>
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Tgl Jatuh Tempo</label>
- <input type="date" name="tanggalJatuhTempo" [ngModel]="covernote.tanggalJatuhTempo | date:'yyyy-MM-dd'"
- autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- >
- </div>
- <div class="col-span-6 sm:col-span-6">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Coverote</label>
- <div class="flex items-center bg-blue-400 border-l-2 border-blue-500 py-2 px-3 shadow-md mb-2 animate-pulse" *ngIf="isToastUpload">
- <div class="text-blue-500 rounded-full bg-white mr-3">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- </div>
- <div class="text-white max-w-xs ">
- Proses Upload {{barWidth}} %
- </div>
- </div>
- </div>
- <div class="col-span-6 sm:col-span-6">
- <div class="flex sm:space-x-4">
- <label class="block text-xs font-semibold text-gray-700 p-1 sm:px-4 sm:py-2 rounded-lg bg-red-100" *ngIf="covernote.idUploadCovernote === null">Belum Terlampir</label>
- <label class="block text-xs font-semibold text-gray-700 p-1 sm:px-4 sm:py-2 rounded-lg bg-green-100" *ngIf="covernote.idUploadCovernote !== null">Terlampir</label>
- <label class="inline-flex sm:inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-yellow-500 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"
- [ngClass]="{'opacity-50 cursor-not-allowed': isDisabledInput}">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" />
- </svg>
- <input id="idFile" type="file" (change)="uploadFile($event)" enctype="multipart/form-data" name="idUploadCovernote" class="hidden"
- [disabled]="isDisabledInput"/>
- </label>
- <button (click)="viewFile()" class="inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-red-500 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="covernote.idUploadCovernote === null">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z" />
- </svg>
- </button>
- <button (click)="downloadFile()" class="inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-green-500 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="covernote.idUploadCovernote === null">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10" />
- </svg>
- </button>
- </div>
- </div>
- </div>
- </div>
- <div class="px-4 py-3 bg-gray-50 text-right sm:px-6 mt-5" >
- <button (click)="modalLogs()" class="inline-flex mr-2 mb-3 sm:mb-0 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-yellow-500 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-yellow-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave">
- Logs
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01" />
- </svg>
- </button>
- <button (click)="btnSave()" type="submit" class="inline-flex mr-2 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-green-500 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave" *ngIf="!isDisabledInput">
- Simpan
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />
- </svg>
- </button>
- <!-- <button (click)="modalSubmit(coverNote)" class="inline-flex mb-3 sm:mb-0 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-blue-500 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave" *ngIf="!isDisabledInput">
- Submit
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8" />
- </svg>
- </button> -->
- </div>
- </div>
- </div>
- </div>
- </div>
- <form action="#" method="POST">
- <div class="shadow overflow-hidden sm:rounded-md" *ngFor="let modelrekanan of covernote.listOopCoverNoteRekanan;let i = index;">
- <div class="px-4 py-5 bg-white sm:p-6">
- <div class="grid grid-cols-6 gap-6">
- <div class="col-span-6 flex block grid">
- <!-- <label class="block text-sm font-medium text-gray-500 font-semibold flex uppercase">DATA PERUSAHAAN PENJAMIN</label> -->
- <h4 class="text-2xl font-semibold leading-tight">Form Input Utama</h4>
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label for="first_name" class="block text-sm font-medium text-gray-700">No Cover Note</label>
- <input type="text" name="noCoverNote" class="border rounded h-10 w-full
- block w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm disabled:cursor-not-allowed"
- placeholder="Nama Notaris Rekanan"
- [disabled]="isDisabledInput" [(ngModel)]="covernote.noCoverNote">
- </div>
- <div class="col-span-6 block sm:col-span-3">
- <label for="last_name" class="block text-sm font-medium text-gray-700">
- Tanggal Covernote</label>
- <input type="date" name="tanggalCoverNote" class="border rounded h-10 w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm"
- [disabled]="isDisabledInput" [ngModel]="covernote.tanggalCoverNote | date:'yyyy-MM-dd'" (change)="FormatTanggal1($event)" >
- </div>
- <div class="col-span-6 sm:col-span-6 block">
- <label for="email_address" class="block text-sm font-medium text-gray-700">Perihal</label>
- <!-- <textarea rows="2" name="alamatPenerimaJaminan" autocomplete="off" class="border rounded h-50 w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm"
- [disabled]="isDisabledInput" [(ngModel)]="perusahaanpj.alamatPenerimaJaminan"></textarea> -->
- <textarea name="perihal"class="w-full min-h-[100px] max-h-[300px]
- h-28 appearance-none block w-full bg-grey-lighter text-grey-darker border border-grey-lighter
- rounded-lg py-4 px-4"
- placeholder="Perihal"
- [disabled]="isDisabledInput" [(ngModel)]="covernote.perihal"></textarea>
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label for="first_name" class="block text-sm font-medium text-gray-700">Nama Perusahaan Notaris</label>
- <input type="text" name="namaPerusahaanNotaris" class="border rounded h-10 w-full
- block w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm disabled:cursor-not-allowed"
- placeholder="Nama Perusahaan Notaris"
- [disabled]="isDisabledInput" [(ngModel)]="covernote.namaPerusahaanNotaris">
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label for="first_name" class="block text-sm font-medium text-gray-700">No. Telp Kantor</label>
- <input type="text" name="noTelpKantor" class="border rounded h-10 w-full
- block w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm disabled:cursor-not-allowed"
- placeholder="No. Telp Kantor"
- [disabled]="isDisabledInput" [(ngModel)]="covernote.noTelpKantor">
- </div>
- <div class="col-span-6 sm:col-span-6 block">
- <label for="email_address" class="block text-sm font-medium text-gray-700">Alamat Perusahaan</label>
- <textarea name="alamatPerusahaanNotaris"class="w-full min-h-[100px] max-h-[300px]
- h-28 appearance-none block w-full bg-grey-lighter text-grey-darker border border-grey-lighter
- rounded-lg py-4 px-4"
- placeholder="Alamat Perusahaan"
- [disabled]="isDisabledInput" [(ngModel)]="covernote.alamatPerusahaanNotaris"></textarea>
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label for="first_name" class="block text-sm font-medium text-gray-700">Nama Notaris</label>
- <input type="text" name="namaNotaris" class="border rounded h-10 w-full
- block w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm disabled:cursor-not-allowed"
- placeholder="Nama Notaris"
- [disabled]="isDisabledInput" [(ngModel)]="covernote.namaNotaris">
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label for="first_name" class="block text-sm font-medium text-gray-700">No. Telp Notaris</label>
- <input type="text" name="noTelpNotaris" class="border rounded h-10 w-full
- block w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm disabled:cursor-not-allowed"
- placeholder="No. Telp Notaris"
- [disabled]="isDisabledInput" [(ngModel)]="covernote.noTelpNotaris">
- </div>
- <div class="col-span-6 sm:col-span-6 block">
- <label for="email_address" class="block text-sm font-medium text-gray-700">Alamat Notaris</label>
- <textarea name="alamatNotaris" class="w-full min-h-[100px] max-h-[300px]
- h-28 appearance-none block w-full bg-grey-lighter text-grey-darker border border-grey-lighter
- rounded-lg py-4 px-4"
- placeholder="Alamat Notaris"
- [disabled]="isDisabledInput" [(ngModel)]="covernote.alamatNotaris"></textarea>
- </div>
- <div class="col-span-6 flex ">
- <svg (click)="addRekanan()" class="cursor-pointer h-5 w-5 flex justify-center items-center text-white text-green-500" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- <svg (click)="removeRekanan(i)" class="cursor-pointer mr-2 h-5 w-5 flex justify-center items-center text-white text-red-500" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
- </svg>
- <h4 class="text-2xl font-semibold leading-tight">Rekanan {{i+1}}</h4>
- <svg id="svgRotate{{i}}" (click)="showHideRekanan(i, $event)" class="cursor-pointer ml-2 h-5 w-5 flex justify-center items-center transform rotate-0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
- </svg>
- </div>
- <div class="hidden sm:block sm:col-span-6" aria-hidden="true">
- <div class="w-screen">
- <div class="border-t border-gray-200"></div>
- </div>
- </div>
- <!-- <div class="col-span-6 sm:col-span-6 lg:col-span-2">
- <label for="city" class="block text-sm font-semibold text-gray-700">Kode Jenis Jaminan</label>
- KPP
- </div>
- <div class="col-span-6 sm:col-span-3 lg:col-span-2">
- <label for="state" class="block text-sm font-semibold text-gray-700">Nama Jaminan</label>
- {{perusahaanPenjamin.namaJaminan}}
- </div>
- <div class="col-span-6 sm:col-span-3 lg:col-span-2">
- <label for="postal_code" class="block text-sm font-semibold text-gray-700">No. Covernote</label>
- {{perusahaanPenjamin.nomorCoverNote}}
- </div> -->
- <div class="col-span-6 sm:col-span-3 block idrekanan{{i}}">
- <label for="first_name" class="block text-sm font-medium text-gray-700">Nama Notaris Rekanan</label>
- <input type="text" name="namaNotarisRekanan" class="border rounded h-10 w-full
- block w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm disabled:cursor-not-allowed"
- placeholder="Nama Notaris Rekanan"
- [disabled]="isDisabledInput" [(ngModel)]="modelrekanan.namaNotarisRekanan">
- </div>
- <div class="col-span-6 block sm:col-span-3 idrekanan{{i}}">
- <label for="last_name" class="block text-sm font-medium text-gray-700">
- No. Telp Notaris Rekanan</label>
- <input type="text" name="noTelpNotarisRekanan" class="border rounded h-10 w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm" placeholder="021-1000000"
- [disabled]="isDisabledInput" [(ngModel)]="modelrekanan.noTelpNotarisRekanan">
- </div>
- <div class="col-span-6 sm:col-span-6 block idrekanan{{i}}">
- <label for="email_address" class="block text-sm font-medium text-gray-700">Alamat Notaris Rekanan</label>
- <!-- <textarea rows="2" name="alamatPenerimaJaminan" autocomplete="off" class="border rounded h-50 w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm"
- [disabled]="isDisabledInput" [(ngModel)]="perusahaanpj.alamatPenerimaJaminan"></textarea> -->
- <textarea name="alamatNotarisRekanan"class="w-full min-h-[100px] max-h-[300px]
- h-28 appearance-none block w-full bg-grey-lighter text-grey-darker border border-grey-lighter
- rounded-lg py-4 px-4"
- placeholder="Alamat Notaris Rekanan"
- [disabled]="isDisabledInput" [(ngModel)]="modelrekanan.alamatNotarisRekanan"></textarea>
- </div>
- <div class="col-span-6 sm:col-span-6 block lg:col-span-2 idrekanan{{i}}">
- <label for="city" class="block text-sm font-medium text-gray-700">Lama penyelesaian (Bln)</label>
- <input type="text" name="city" id="city" class="border rounded h-10 w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm" placeholder="Lama penyelesaian">
- </div>
- <div class="col-span-6 sm:col-span-3 block lg:col-span-2 idrekanan{{i}}">
- <label for="state" class="block text-sm font-medium text-gray-700">Jumlah Jaminan</label>
- <input type="text" name="state" id="state" class="border rounded h-10 w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm" placeholder="Jumlah Jaminan">
- </div>
- <div class="col-span-6 sm:col-span-3 block lg:col-span-2 idrekanan{{i}}">
- <label for="postal_code" class="block text-sm font-medium text-gray-700">Tgl Jatuh Tempo</label>
- <input type="date" name="tanggalJatuhTempo" [ngModel]="covernote.tanggalJatuhTempo | date:'yyyy-MM-dd'"
- autocomplete="off"
- class="border rounded h-10 w-full focus:outline-none focus:border-blue-500 px-2 mt-2 text-sm" >
- </div>
- <div class="col-span-6 sm:col-span-6 block grid idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Unggah Covernote</label>
- </div>
- <div class="col-span-6 sm:col-span-6 block idrekanan{{i}}">
- <div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md">
- <div class="space-y-1 text-center">
- <svg class="mx-auto h-12 w-12 text-gray-400" stroke="currentColor" fill="none" viewBox="0 0 48 48" aria-hidden="true">
- <path d="M28 8H12a4 4 0 00-4 4v20m32-12v8m0 0v8a4 4 0 01-4 4H12a4 4 0 01-4-4v-4m32-4l-3.172-3.172a4 4 0 00-5.656 0L28 28M8 32l9.172-9.172a4 4 0 015.656 0L28 28m0 0l4 4m4-24h8m-4-4v8m-12 4h.02" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
- </svg>
- <div class="flex items-center bg-blue-400 border-l-2 border-blue-500 py-2 px-3 shadow-md mb-2 animate-pulse" *ngIf="isToastUpload">
- <div class="text-blue-500 rounded-full bg-white mr-3">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- </div>
- <div class="text-white max-w-xs mt-1 ">
- Proses Upload {{barWidth}} %
- </div>
- </div>
- <div class="flex text-sm text-gray-600">
- <label for="file-upload" class="relative cursor-pointer bg-white rounded-md font-medium text-indigo-600 hover:text-indigo-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-indigo-500">
- <span>Upload a file</span>
- <!-- <input id="file-upload" name="file-upload" type="file" class="sr-only"> -->
- <input id="file-upload" type="file"
- (change)="uploadFile($event)" enctype="multipart/form-data" name="idUploadCovernote" class="hidden" enctype="multipart/form-data" name="idUploadCovernote"
- >
- </label>
- <p class="pl-1">or drag and drop</p>
- </div>
- <p class="text-xs text-gray-500">
- PNG, JPG, PDF
- <button (click)="viewFile()" class="mr-2 inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-red-500 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="covernote.idUploadCovernote === ''">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z" />
- </svg>
- </button>
- <button (click)="downloadFile()" class="inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-green-500 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="covernote.idUploadCovernote === ''">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10" />
- </svg>
- </button>
- </p>
- <br>
- <label class="block text-xs font-semibold text-gray-700 p-1 sm:px-4 sm:py-2 rounded-lg bg-red-100" *ngIf="covernote.idUploadCovernote === '' || null ">Belum Terlampir</label>
- <label class="block text-xs font-semibold text-gray-700 p-1 sm:px-4 sm:py-2 rounded-lg bg-green-100" *ngIf="covernote.idUploadCovernote!== ''">Terlampir</label>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="px-4 py-3 bg-gray-50 text-right sm:px-6 mt-5" >
- <button (click)="modalLogs()" class="inline-flex mr-2 mb-3 sm:mb-0 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-yellow-500 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-yellow-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave">
- Logs
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01" />
- </svg>
- </button>
- <button (click)="btnSave()" type="submit" class="inline-flex mr-2 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-green-500 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave" *ngIf="!isDisabledInput">
- Simpan
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />
- </svg>
- </button>
- <!-- <button (click)="modalSubmit(coverNote)" class="inline-flex mb-3 sm:mb-0 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-blue-500 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave" *ngIf="!isDisabledInput">
- Submit
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8" />
- </svg>
- </button> -->
- </div>
- </div>
- </form>
- </div>
- </div>
- <!-- SEMUA TOAST NNTI DI JADIKAN GLOBAL -->
- <div class="fixed right-0 top-0 m-5 z-10" *ngIf="isToastSukses || isToastGagal">
- <!-- Toast Notification Success-->
- <div class="flex items-center bg-green-500 border-l-4 border-green-700 py-2 px-3 shadow-md mb-2 animate-pulse" *ngIf="isToastSukses">
- <div class="text-green-500 rounded-full bg-white mr-3">
- <svg class="w-8" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- </div>
- <div class="text-white max-w-xs ">
- Data Berhasil Disimpan
- </div>
- </div>
- <!-- Toast Notification Danger -->
- <div class="flex items-center bg-red-500 border-l-4 border-red-700 py-2 px-3 shadow-md mb-2 animate-pulse" *ngIf="isToastGagal">
- <div class="text-red-500 rounded-full bg-white mr-3">
- <svg class="w-8" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- </div>
- <div class="text-white max-w-xs ">
- {{pesanError}}
- </div>
- </div>
- </div>
- <!-- MODAL LOSG -->
- <div id="myModal" class="modal">
- <div class="modal-content">
- <div class="flex flex-row justify-between items-center">
- <p class="text-xl">Logs Cover Note</p>
- <span class="close" style="color: red;" (click)="modalClose()">×</span>
- </div>
- <hr class="border border-collapse mb-10">
- <div class="flex justify-center p-2 bg-yellow-100" *ngIf="isEmptyLogs">
- Belum Ada Data
- </div>
- <div>
- <!-- <div *ngIf="coverNote.listOopCoverNoteViewLogs != null"> -->
- <!-- <div class="flex justify-between m-4 pt-5">
- <div class="inline">
- <label>showing </label>
- <select class="h-full py-0 pl-2 pr-7 border-transparent bg-transparent text-gray-500 sm:text-sm rounded-md focus:outline-none focus:border-transparent shadow" (change)="showing($event)">
- <option value="10">10</option>
- <option value="25">25</option>
- </select>
- </div>
- <div class="inline">
- <label>Search </label>
- <input class="appearance-none border border-transparent py-1 px-3 bg-white text-gray-700 placeholder-gray-400 shadow rounded-lg text-base focus:outline-none focus:ring-2 focus:ring-purple-600 focus:border-transparent"
- type="text" placeholder="Cari Berdasarkan Nama ..." (keyup)="search($event)" value="">
- </div>
- </div> -->
- <div class="flex flex-col" *ngIf="!isEmptyLogs">
- <div class="-my-2 overflow-x-auto sm:-mx-3">
- <div class="py-2 align-middle inline-block min-w-full sm:px-5 lg:px-8">
- <div class="shadow overflow-hidden border-b border-gray-200 sm:rounded-lg">
- <table class="min-w-full divide-y divide-gray-200">
- <thead class="bg-gray-50">
- <tr class="text-center">
- <th scope="col" class="px-6 py-3 text-xs font-medium text-gray-500 uppercase tracking-wider">
- no
- </th>
- <th scope="col" class="px-6 py-3 text-xs font-medium text-gray-500 uppercase tracking-wider">
- tanggal perubahan
- </th>
- <th scope="col" class="px-6 py-3 text-xs font-medium text-gray-500 uppercase tracking-wider">
- eksekutor
- </th>
- <th scope="col" class="px-6 py-3 text-xs font-medium text-gray-500 uppercase tracking-wider">
- pic
- </th>
- <th scope="col" class="px-6 py-3 text-xs font-medium text-gray-500 uppercase tracking-wider">
- versi
- </th>
- <th scope="col" class="px-6 py-3 text-xs font-medium text-gray-500 uppercase tracking-wider">
- aksi
- </th>
- </tr>
- </thead>
- <tbody class="bg-white divide-y divide-gray-200">
- <tr class="text-center" *ngFor="let listOopCoverNoteViewLogs of covernote.listOopCoverNoteViewLogs; let i = index">
- <td class="px-6 py-4 whitespace-nowrap">
- <div class="text-sm text-gray-500">{{i+1}}</div>
- </td>
- <td class="px-6 py-4 whitespace-nowrap">
- <div class="text-sm text-gray-500">{{listOopCoverNoteViewLogs.tanggal | date: 'dd-MM-yyyy' | slice:0:10}}</div>
- </td>
- <td class="px-6 py-4 whitespace-nowrap">
- <div class="text-sm text-gray-500">{{listOopCoverNoteViewLogs.eksekutorNama}}</div>
- </td>
- <td class="px-6 py-4 whitespace-nowrap">
- <div class="text-sm text-gray-500">{{listOopCoverNoteViewLogs.picNama}}</div>
- </td>
- <td class="px-6 py-4 whitespace-nowrap">
- <div class="text-sm text-gray-500">{{listOopCoverNoteViewLogs.versi}}</div>
- </td>
- <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
- <div class="flex flex-row space-x-2 items-center justify-center">
- <button class="p-1 bg-yellow-500 rounded-md text-white hover:bg-yellow-300"
- (click)="openDetailLogs(listOopCoverNoteViewLogs)">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z" />
- </svg>
- </button>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- <!-- <div class="px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6">
- <div class="flex-1 flex justify-between sm:hidden">
- <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:text-gray-500">
- Previous
- </a>
- <a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:text-gray-500">
- Next
- </a>
- </div>
- <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
- <div>
- <p class="text-sm text-gray-700">
- data keseluruhan <span class="font-medium">{{alllength}}</span>
- </p>
- </div>
- <div>
- <nav class="relative z-0 inline-flex shadow-sm -space-x-px" aria-label="Pagination">
- <div *ngFor="let page of numberOfPage(alllength); let j = index">
- <a class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50"
- (click)="goToPage(j)">{{j+1}}</a>
- </div>
- </nav>
- </div>
- </div>
- </div> -->
- </div>
- </div>
- </div>
- <!-- MODAL JAMINAN DEPOSTIO -->
- <div id="myModalJaminan" class="modal">
- <div class="modal-content">
- <div class="flex flex-row justify-between items-center">
- <p class="text-xl">Tambah Jaminan Deposito</p>
- <span class="close" style="color: red;" (click)="modalClose()">×</span>
- </div>
- <hr class="border border-collapse mb-10">
- <div class="mt-5 md:mt-0 md:col-span-2">
- <div class="flex flex-row">
- <h3 class="text-lg font-medium leading-6 text-gray-900 mt-2 ml-2">FORM INPUT {{formInput}}</h3>
- <div class="ml-3 flex items-center justify-center">
- <!-- <div class="w-2 h-2 rounded-full bg-red-500 animate-pulse"></div>
- <div class="w-2 h-2 rounded-full bg-green-500 animate-pulse"></div>
- <div class="ml-2" *ngIf="isLog === 'true'">
- <h3 class="text-lg font-medium leading-6 text-gray-900 mt-2 ml-2">Logs Versi {{coverNote.versi}}</h3>
- </div> -->
- </div>
- </div>
- <div class="shadow overflow-hidden sm:rounded-md">
- <div class="px-4 py-5 bg-white sm:p-6">
- <!-- REKANAN -->
- <div class="grid grid-cols-6 gap-6 sm:mt-5" *ngFor="let modelrekanan of covernote.listOopCoverNoteRekanan;let i = index;">
- <div class="col-span-6 flex">
- <svg (click)="addRekanan()" class="cursor-pointer h-5 w-5 flex justify-center items-center text-white text-green-500" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- <svg (click)="removeRekanan(i)" class="cursor-pointer mr-2 h-5 w-5 flex justify-center items-center text-white text-red-500" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
- </svg>
- <label class="block text-sm font-medium text-gray-500 font-semibold flex">Rekanan {{i+1}}</label>
- <svg id="svgRotate{{i}}" (click)="showHideRekanan(i, $event)" class="cursor-pointer ml-2 h-5 w-5 flex justify-center items-center transform rotate-0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
- </svg>
- </div>
- <div class="hidden sm:block sm:col-span-6" aria-hidden="true">
- <div class="w-screen">
- <div class="border-t border-gray-200"></div>
- </div>
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Penyimpanan Bilyet</label>
- <textarea rows="3" name="alamatNotarisRekanan" [(ngModel)]="modelrekanan.alamatNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Nilai Jaminan</label>
- <input type="text" name="noTelpNotarisRekanan" [(ngModel)]="modelrekanan.noTelpNotarisRekanan" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Presentase</label>
- <input type="number" name="lamaPengikatan" [(ngModel)]="covernote.lamaPengikatan" maxlength="3" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-24 shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput" (keyup)="autoTglJatuhTempo()">
- </div>
- <div class="block col-span-6 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Catatan Bilyet</label>
- <textarea rows="3" name="alamatNotarisRekanan" [(ngModel)]="modelrekanan.alamatNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Jumlah Deposito</label>
- <input type="text" name="namaNotarisRekanan" [(ngModel)]="modelrekanan.namaNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Asal Bank</label>
- <input type="text" name="noTelpNotarisRekanan" [(ngModel)]="modelrekanan.noTelpNotarisRekanan" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Atas Nama</label>
- <input type="text" name="namaNotarisRekanan" [(ngModel)]="modelrekanan.namaNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Alamat Bank</label>
- <textarea rows="3" name="alamatNotarisRekanan" [(ngModel)]="modelrekanan.alamatNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">No. Rekening</label>
- <input type="text" name="namaNotarisRekanan" [(ngModel)]="modelrekanan.namaNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">No. Seri Bilyet</label>
- <input type="text" name="noTelpNotarisRekanan" [(ngModel)]="modelrekanan.noTelpNotarisRekanan" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Referensi</label>
- <textarea rows="3" name="alamatNotarisRekanan" [(ngModel)]="modelrekanan.alamatNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- <div class="block col-span-6 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Surat Kuasa</label>
- <textarea rows="3" name="alamatNotarisRekanan" [(ngModel)]="modelrekanan.alamatNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- <div class="block col-span-6 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Keberadaan Deposito</label>
- <textarea rows="3" name="alamatNotarisRekanan" [(ngModel)]="modelrekanan.alamatNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- <div class="block col-span-6 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">BAST</label>
- <textarea rows="3" name="alamatNotarisRekanan" [(ngModel)]="modelrekanan.alamatNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- </div>
- <!-- LAMA PENGIKATAN DST.... -->
- <div class="grid grid-cols-6 gap-6 sm:mt-5">
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Tgl Jatuh Tempo</label>
- <input type="date" name="tanggalJatuhTempo" [ngModel]="covernote.tanggalJatuhTempo | date:'yyyy-MM-dd'"
- autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- >
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Status Jaminan</label>
- <label class="inline-flex items-center mt-4">
- <input type="radio" class="form-radio" name="accountType" value="nonblokir" >
- <span class="ml-2">Non Blokir</span>
- </label>
- <label class="inline-flex items-center ml-6">
- <input type="radio" class="form-radio" name="accountType" value="blokir">
- <span class="ml-2">Blokir</span>
- </label>
- </div>
- <div class="col-span-6 sm:col-span-3"></div>
- <div class="col-span-6 sm:col-span-6">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Unggah Deposito</label>
- <div class="flex items-center bg-blue-400 border-l-2 border-blue-500 py-2 px-3 shadow-md mb-2 animate-pulse" *ngIf="isToastUpload">
- <div class="text-blue-500 rounded-full bg-white mr-3">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- </div>
- <div class="text-white max-w-xs ">
- Proses Upload {{barWidth}} %
- </div>
- </div>
- </div>
- <div class="col-span-6 sm:col-span-6">
- <div class="flex sm:space-x-4">
- <label class="block text-xs font-semibold text-gray-700 p-1 sm:px-4 sm:py-2 rounded-lg bg-red-100" *ngIf="covernote.idUploadCovernote === null">Belum Terlampir</label>
- <label class="block text-xs font-semibold text-gray-700 p-1 sm:px-4 sm:py-2 rounded-lg bg-green-100" *ngIf="covernote.idUploadCovernote !== null">Terlampir</label>
- <label class="inline-flex sm:inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-yellow-500 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"
- [ngClass]="{'opacity-50 cursor-not-allowed': isDisabledInput}">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" />
- </svg>
- <input id="idFile" type="file" (change)="uploadFile($event)" enctype="multipart/form-data" name="idUploadCovernote" class="hidden"
- [disabled]="isDisabledInput"/>
- </label>
- <button (click)="viewFile()" class="inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-red-500 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="covernote.idUploadCovernote === null">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z" />
- </svg>
- </button>
- <button (click)="downloadFile()" class="inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-green-500 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="covernote.idUploadCovernote === null">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10" />
- </svg>
- </button>
- </div>
- </div>
- </div>
- </div>
- <div class="px-4 py-3 bg-gray-50 text-right sm:px-6 mt-5" >
- <button (click)="modalLogs()" class="inline-flex mr-2 mb-3 sm:mb-0 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-yellow-500 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-yellow-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave">
- Logs
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01" />
- </svg>
- </button>
- <button (click)="btnSave()" type="submit" class="inline-flex mr-2 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-green-500 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave" *ngIf="!isDisabledInput">
- Simpan
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />
- </svg>
- </button>
- <!-- <button (click)="modalSubmit(coverNote)" class="inline-flex mb-3 sm:mb-0 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-blue-500 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave" *ngIf="!isDisabledInput">
- Submit
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8" />
- </svg>
- </button> -->
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- MODAL JAMINAN BPKB -->
- <div id="myModalJaminanBkpb" class="modal">
- <div class="modal-content">
- <div class="flex flex-row justify-between items-center">
- <p class="text-xl">Tambah Jaminan BPKB</p>
- <span class="close" style="color: red;" (click)="modalClose()">×</span>
- </div>
- <hr class="border border-collapse mb-10">
- <div class="mt-5 md:mt-0 md:col-span-2">
- <div class="flex flex-row">
- <h3 class="text-lg font-medium leading-6 text-gray-900 mt-2 ml-2">FORM INPUT {{formInput}}</h3>
- <div class="ml-3 flex items-center justify-center">
- <!-- <div class="w-2 h-2 rounded-full bg-red-500 animate-pulse"></div>
- <div class="w-2 h-2 rounded-full bg-green-500 animate-pulse"></div>
- <div class="ml-2" *ngIf="isLog === 'true'">
- <h3 class="text-lg font-medium leading-6 text-gray-900 mt-2 ml-2">Logs Versi {{coverNote.versi}}</h3>
- </div> -->
- </div>
- </div>
- <div class="shadow overflow-hidden sm:rounded-md">
- <div class="px-4 py-5 bg-white sm:p-6">
- <!-- REKANAN -->
- <div class="grid grid-cols-6 gap-6 sm:mt-5" *ngFor="let modelrekanan of covernote.listOopCoverNoteRekanan;let i = index;">
- <div class="col-span-6 flex">
- <svg (click)="addRekanan()" class="cursor-pointer h-5 w-5 flex justify-center items-center text-white text-green-500" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- <svg (click)="removeRekanan(i)" class="cursor-pointer mr-2 h-5 w-5 flex justify-center items-center text-white text-red-500" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
- </svg>
- <label class="block text-sm font-medium text-gray-500 font-semibold flex">Rekanan {{i+1}}</label>
- <svg id="svgRotate{{i}}" (click)="showHideRekanan(i, $event)" class="cursor-pointer ml-2 h-5 w-5 flex justify-center items-center transform rotate-0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
- </svg>
- </div>
- <div class="hidden sm:block sm:col-span-6" aria-hidden="true">
- <div class="w-screen">
- <div class="border-t border-gray-200"></div>
- </div>
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Atas Nama</label>
- <input type="text" name="noTelpNotarisRekanan" [(ngModel)]="modelrekanan.noTelpNotarisRekanan" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Nilai Jaminan</label>
- <input type="text" name="noTelpNotarisRekanan" [(ngModel)]="modelrekanan.noTelpNotarisRekanan" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Alamat</label>
- <textarea rows="3" name="alamatNotarisRekanan" [(ngModel)]="modelrekanan.alamatNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Keterangan</label>
- <textarea rows="3" name="alamatNotarisRekanan" [(ngModel)]="modelrekanan.alamatNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">No.BPKB</label>
- <input type="text" name="namaNotarisRekanan" [(ngModel)]="modelrekanan.namaNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Plat Nomor</label>
- <input type="text" name="noTelpNotarisRekanan" [(ngModel)]="modelrekanan.noTelpNotarisRekanan" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Jenis Kendaraan</label>
- <input type="text" name="namaNotarisRekanan" [(ngModel)]="modelrekanan.namaNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Status Jaminan</label>
- <input type="text" name="namaNotarisRekanan" [(ngModel)]="modelrekanan.namaNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- </div>
- <!-- LAMA PENGIKATAN DST.... -->
- <div class="grid grid-cols-6 gap-6 sm:mt-5">
- <div class="col-span-6 sm:col-span-3"></div>
- <div class="col-span-6 sm:col-span-6">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Unggah BPKB</label>
- <div class="flex items-center bg-blue-400 border-l-2 border-blue-500 py-2 px-3 shadow-md mb-2 animate-pulse" *ngIf="isToastUpload">
- <div class="text-blue-500 rounded-full bg-white mr-3">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- </div>
- <div class="text-white max-w-xs ">
- Proses Upload {{barWidth}} %
- </div>
- </div>
- </div>
- <div class="col-span-6 sm:col-span-6">
- <div class="flex sm:space-x-4">
- <label class="block text-xs font-semibold text-gray-700 p-1 sm:px-4 sm:py-2 rounded-lg bg-red-100" *ngIf="covernote.idUploadCovernote === null">Belum Terlampir</label>
- <label class="block text-xs font-semibold text-gray-700 p-1 sm:px-4 sm:py-2 rounded-lg bg-green-100" *ngIf="covernote.idUploadCovernote !== null">Terlampir</label>
- <label class="inline-flex sm:inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-yellow-500 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"
- [ngClass]="{'opacity-50 cursor-not-allowed': isDisabledInput}">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" />
- </svg>
- <input id="idFile" type="file" (change)="uploadFile($event)" enctype="multipart/form-data" name="idUploadCovernote" class="hidden"
- [disabled]="isDisabledInput"/>
- </label>
- <button (click)="viewFile()" class="inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-red-500 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="covernote.idUploadCovernote === null">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z" />
- </svg>
- </button>
- <button (click)="downloadFile()" class="inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-green-500 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="covernote.idUploadCovernote === null">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10" />
- </svg>
- </button>
- </div>
- </div>
- </div>
- </div>
- <div class="px-4 py-3 bg-gray-50 text-right sm:px-6 mt-5" >
- <button (click)="modalLogs()" class="inline-flex mr-2 mb-3 sm:mb-0 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-yellow-500 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-yellow-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave">
- Logs
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01" />
- </svg>
- </button>
- <button (click)="btnSave()" type="submit" class="inline-flex mr-2 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-green-500 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave" *ngIf="!isDisabledInput">
- Simpan
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />
- </svg>
- </button>
- <!-- <button (click)="modalSubmit(coverNote)" class="inline-flex mb-3 sm:mb-0 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-blue-500 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave" *ngIf="!isDisabledInput">
- Submit
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8" />
- </svg>
- </button> -->
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- MODAL JAMINAN SERTIFIKAT -->
- <div id="myModalJaminanSertifikat" class="modal ">
- <div class="modal-content">
- <div class="flex flex-row justify-between items-center">
- <p class="text-xl">Tambah Jaminan Sertifikat</p>
- <span class="close" style="color: red;" (click)="modalClose()">×</span>
- </div>
- <hr class="border border-collapse mb-10">
- <div class="mt-5 md:mt-0 md:col-span-2 ">
- <div class="flex flex-row">
- <h3 class="text-lg font-medium leading-6 text-gray-900 mt-2 ml-2">FORM INPUT {{formInput}}</h3>
- <div class="ml-3 flex items-center justify-center">
- <!-- <div class="w-2 h-2 rounded-full bg-red-500 animate-pulse"></div>
- <div class="w-2 h-2 rounded-full bg-green-500 animate-pulse"></div>
- <div class="ml-2" *ngIf="isLog === 'true'">
- <h3 class="text-lg font-medium leading-6 text-gray-900 mt-2 ml-2">Logs Versi {{coverNote.versi}}</h3>
- </div> -->
- </div>
- </div>
- <div class="shadow overflow-hidden sm:rounded-md">
- <div class="px-4 py-5 bg-white sm:p-6">
- <!-- REKANAN -->
- <div class="grid grid-cols-6 gap-6 sm:mt-5" *ngFor="let modelrekanan of covernote.listOopCoverNoteRekanan;let i = index;">
- <div class="col-span-6 flex">
- <svg (click)="addRekanan()" class="cursor-pointer h-5 w-5 flex justify-center items-center text-white text-green-500" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- <svg (click)="removeRekanan(i)" class="cursor-pointer mr-2 h-5 w-5 flex justify-center items-center text-white text-red-500" xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
- </svg>
- <label class="block text-sm font-medium text-gray-500 font-semibold flex">Rekanan {{i+1}}</label>
- <svg id="svgRotate{{i}}" (click)="showHideRekanan(i, $event)" class="cursor-pointer ml-2 h-5 w-5 flex justify-center items-center transform rotate-0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
- </svg>
- </div>
- <div class="hidden sm:block sm:col-span-6" aria-hidden="true">
- <div class="w-screen">
- <div class="border-t border-gray-200"></div>
- </div>
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Jenis Sertifikat</label>
- <input type="text" name="noTelpNotarisRekanan" [(ngModel)]="modelrekanan.noTelpNotarisRekanan" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Nilai Jaminan</label>
- <input type="text" name="noTelpNotarisRekanan" [(ngModel)]="modelrekanan.noTelpNotarisRekanan" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Atas Nama</label>
- <input type="text" name="noTelpNotarisRekanan" [(ngModel)]="modelrekanan.noTelpNotarisRekanan" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Luas Tanah</label>
- <input type="text" name="noTelpNotarisRekanan" [(ngModel)]="modelrekanan.noTelpNotarisRekanan" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Keterangan</label>
- <textarea rows="3" name="alamatNotarisRekanan" [(ngModel)]="modelrekanan.alamatNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- <div class="col-span-6 sm:col-span-3">
- <label class="block text-sm font-medium text-gray-500 font-semibold">dikembalikan</label>
- <textarea rows="3" name="alamatNotarisRekanan" [(ngModel)]="modelrekanan.alamatNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput"></textarea>
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Provinsi</label>
- <input type="text" name="namaNotarisRekanan" [(ngModel)]="modelrekanan.namaNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Kabupaten / Kota</label>
- <input type="text" name="noTelpNotarisRekanan" [(ngModel)]="modelrekanan.noTelpNotarisRekanan" maxlength="13" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Kecamatan</label>
- <input type="text" name="namaNotarisRekanan" [(ngModel)]="modelrekanan.namaNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Kelurahan</label>
- <input type="text" name="namaNotarisRekanan" [(ngModel)]="modelrekanan.namaNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- <div class="block col-span-6 sm:col-span-3 idrekanan{{i}}">
- <label class="block text-sm font-medium text-gray-500 font-semibold">No.APHT</label>
- <input type="text" name="namaNotarisRekanan" [(ngModel)]="modelrekanan.namaNotarisRekanan" autocomplete="off" class="text-gray-500 mt-2 p-1 focus:outline-none focus:ring-2 focus:ring-blue-500 block w-full shadow-md sm:text-sm rounded-md disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledInput">
- </div>
- </div>
- <!-- LAMA PENGIKATAN DST.... -->
- <div class="grid grid-cols-6 gap-6 sm:mt-5">
- <div class="col-span-6 sm:col-span-3"></div>
- <div class="col-span-6 sm:col-span-6">
- <label class="block text-sm font-medium text-gray-500 font-semibold">Unggah Sertifikat</label>
- <div class="flex items-center bg-blue-400 border-l-2 border-blue-500 py-2 px-3 shadow-md mb-2 animate-pulse" *ngIf="isToastUpload">
- <div class="text-blue-500 rounded-full bg-white mr-3">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- </div>
- <div class="text-white max-w-xs ">
- Proses Upload {{barWidth}} %
- </div>
- </div>
- </div>
- <div class="col-span-6 sm:col-span-6">
- <div class="flex sm:space-x-4">
- <label class="block text-xs font-semibold text-gray-700 p-1 sm:px-4 sm:py-2 rounded-lg bg-red-100" *ngIf="covernote.idUploadCovernote === null">Belum Terlampir</label>
- <label class="block text-xs font-semibold text-gray-700 p-1 sm:px-4 sm:py-2 rounded-lg bg-green-100" *ngIf="covernote.idUploadCovernote !== null">Terlampir</label>
- <label class="inline-flex sm:inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-yellow-500 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"
- [ngClass]="{'opacity-50 cursor-not-allowed': isDisabledInput}">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" />
- </svg>
- <input id="idFile" type="file" (change)="uploadFile($event)" enctype="multipart/form-data" name="idUploadCovernote" class="hidden"
- [disabled]="isDisabledInput"/>
- </label>
- <button (click)="viewFile()" class="inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-red-500 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="covernote.idUploadCovernote === null">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z" />
- </svg>
- </button>
- <button (click)="downloadFile()" class="inline-flex justify-center items-center py-1 px-2 sm:px-3 border border-transparent shadow-sm rounded-md text-white bg-green-500 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="covernote.idUploadCovernote === null">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10" />
- </svg>
- </button>
- </div>
- </div>
- </div>
- </div>
- <div class="px-4 py-3 bg-gray-50 text-right sm:px-6 mt-5" >
- <button (click)="modalLogs()" class="inline-flex mr-2 mb-3 sm:mb-0 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-yellow-500 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-yellow-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave">
- Logs
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01" />
- </svg>
- </button>
- <button (click)="btnSave()" type="submit" class="inline-flex mr-2 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-green-500 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave" *ngIf="!isDisabledInput">
- Simpan
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />
- </svg>
- </button>
- <!-- <button (click)="modalSubmit(coverNote)" class="inline-flex mb-3 sm:mb-0 justify-center py-2 px-6 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-blue-500 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed"
- [disabled]="isDisabledSave" *ngIf="!isDisabledInput">
- Submit
- <svg class="w-5 ml-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8" />
- </svg>
- </button> -->
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- MODAL JAMINAN -->
- <div id="myModalJaminanAll" class="modal">
- <div class="modal-content-sm">
- <div class="flex flex-row justify-between items-center">
- <p class="text-xl">Tambah Jaminan</p>
- <span class="close" style="color: red;" (click)="modalCloseall()">×</span>
- </div>
- <hr class="border border-collapse mb-10">
- <!-- <div *ngIf="loadingPageModalList" class="flex flex justify-center h-screen"><img class="max-w-sm" src="../../../assets/img/spinner.svg" alt="loading"></div> -->
- <div >
- <div class="mt-10 sm:mt-0">
- <div class="grid grid-cols-6 gap-6">
- <div class="col-span-6">
- <div class="overflow-x-auto">
- <table class="ml-auto mr-auto">
- <tr class="bg-gray-50 text-xs text-gray-800 uppercase">
- <th class="px-4 py-2 border">no</th>
- <th class="px-4 py-2 border">Jaminan</th>
- <th class="px-4 py-2 border">aksi</th>
- </tr>
- <tbody class="bg-white divide-y divide-gray-200">
- <tr class="text-center text-xs text-gray-500 border">
- <td class="px-4 py-2 border">1</td>
- <td class="px-4 py-2 border uppercase">SERTIFIKAT</td>
- <td class="px-4 py-2 border">
- <button class="p-2 hover:bg-blue-600 hover:text-blue-100 rounded-lg">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" stroke="currentColor" (click)="modalJaminanSertifikat()">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" />
- </svg>
- <label class="sr-only">jaminan</label>
- </button>
- </td>
- </tr>
- <tr class="text-center text-xs text-gray-500 border">
- <td class="px-4 py-2 border">2</td>
- <td class="px-4 py-2 border uppercase">BPKB</td>
- <td class="px-4 py-2 border">
- <button class="p-2 hover:bg-blue-600 hover:text-blue-100 rounded-lg">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" stroke="currentColor" (click)="modalJaminanBpkb()">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" />
- </svg>
- <label class="sr-only">jaminan</label>
- </button>
- </td>
- </tr>
- <tr class="text-center text-xs text-gray-500 border">
- <td class="px-4 py-2 border">3</td>
- <td class="px-4 py-2 border uppercase">DEPOSTIO</td>
- <td class="px-4 py-2 border">
- <button class="p-2 hover:bg-blue-600 hover:text-blue-100 rounded-lg">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" stroke="currentColor" (click)="modalJaminan()">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" />
- </svg>
- <label class="sr-only">jaminan</label>
- </button>
- </td>
- </tr>
- <tr class="text-center text-xs text-gray-500 border">
- <td class="px-4 py-2 border">4</td>
- <td class="px-4 py-2 border uppercase">PERUSAHAAN PENJAMIN</td>
- <td class="px-4 py-2 border">
- <button class="p-2 hover:bg-blue-600 hover:text-blue-100 rounded-lg">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" />
- </svg>
- <label class="sr-only">jaminan</label>
- </button>
- </td>
- </tr>
- <tr class="text-center text-xs text-gray-500 border">
- <td class="px-4 py-2 border">5</td>
- <td class="px-4 py-2 border uppercase">PERSONAL GUARANTEE</td>
- <td class="px-4 py-2 border">
- <button class="p-2 hover:bg-blue-600 hover:text-blue-100 rounded-lg">
- <svg class="w-4" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" />
- </svg>
- <label class="sr-only">jaminan</label>
- </button>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
Add Comment
Please, Sign In to add comment