update controller kocfirmasibank
This commit is contained in:
@ -171,10 +171,9 @@
|
|||||||
//$Arrangement = $ViewAccount->getAAaccount($account->CUSTOMER_NO,$account->ACCOUNT_NUMBER);
|
//$Arrangement = $ViewAccount->getAAaccount($account->CUSTOMER_NO,$account->ACCOUNT_NUMBER);
|
||||||
$Arrangement = $ViewAccount->getAAaccount($request['cus_no'] , $account->ACCOUNT_NUMBER)->first();
|
$Arrangement = $ViewAccount->getAAaccount($request['cus_no'] , $account->ACCOUNT_NUMBER)->first();
|
||||||
$months = '';
|
$months = '';
|
||||||
// dd($Arrangement);
|
if($Arrangement->TERM != null){
|
||||||
if($Arrangement != null){
|
|
||||||
|
|
||||||
$arrTerm = substr($Arrangement->TERM,-1);
|
$arrTerm = substr($Arrangement->TERM,-1);
|
||||||
|
|
||||||
if($arrTerm[1] = 'Y'){
|
if($arrTerm[1] = 'Y'){
|
||||||
$monthsInYear = 12;
|
$monthsInYear = 12;
|
||||||
$months = int($arrTerm[0]) * $monthsInYear;
|
$months = int($arrTerm[0]) * $monthsInYear;
|
||||||
|
@ -1,60 +1,83 @@
|
|||||||
<!DOCTYPE html>
|
<html lang="en">
|
||||||
<html lang="id">
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Surat Perjanjian Kerjasama</title>
|
|
||||||
<style>
|
<style>
|
||||||
body {
|
/* Contoh style tambahan */
|
||||||
|
|
||||||
|
@page {
|
||||||
|
margin-top: 3.5cm;
|
||||||
|
margin-right: 1.5cm;
|
||||||
|
margin-left: 1.5cm;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Define the header rules **/
|
||||||
|
header {
|
||||||
|
position: fixed;
|
||||||
|
top: 0cm;
|
||||||
|
left: 0cm;
|
||||||
|
right: 0cm;
|
||||||
|
height: 6.5cm;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Define the footer rules **/
|
||||||
|
footer {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0cm;
|
||||||
|
left: 0cm;
|
||||||
|
right: 0cm;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* body{
|
||||||
|
margin-top: 2.5cm;
|
||||||
|
margin-bottom: 100px;
|
||||||
|
} */
|
||||||
|
|
||||||
|
/* .content {
|
||||||
|
padding-top:3.90cm;
|
||||||
|
} */
|
||||||
|
|
||||||
|
.space1 {
|
||||||
|
border: 1px solid black;
|
||||||
|
border-collapse: collapse;
|
||||||
|
font-size: 12px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-center{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-table {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tr-custom{
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
margin: 2cm;
|
font-size: 12px; /* Ukuran font dalam piksel */
|
||||||
|
font-weight: normal; /* Ketebalan font (normal) */
|
||||||
|
color: #333; /* Warna teks */
|
||||||
|
line-height: 2px;
|
||||||
}
|
}
|
||||||
.header {
|
.no-border-table {
|
||||||
text-align: center;
|
border-collapse: collapse;
|
||||||
margin-bottom: 2em;
|
|
||||||
}
|
}
|
||||||
.content {
|
|
||||||
text-indent: 2em;
|
.no-border-table, .no-border-table th, .no-border-table td,.no-border-table tr {
|
||||||
line-height: 1.5;
|
border: none;
|
||||||
margin-bottom: 2em;
|
|
||||||
}
|
|
||||||
.closing {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
.signature {
|
|
||||||
text-align: center;
|
|
||||||
margin-top: 2em;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<title>Konfirmasi Bank</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<h1>SURAT PERJANJIAN KERJASAMA</h1>
|
|
||||||
<p>Nomor: </p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>Yang bertanda tangan di bawah ini:</p>
|
<p>Nomor </p>
|
||||||
<!-- ... Isi bagian ini dengan variabel dari controller atau model -->
|
<p>Tanggal </p>
|
||||||
|
|
||||||
<ol>
|
|
||||||
<li>Ketentuan kerjasama pertama.</li>
|
|
||||||
<li>Ketentuan kerjasama kedua.</li>
|
|
||||||
<li>Dst.</li>
|
|
||||||
</ol>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="closing">
|
|
||||||
<p>Demikian surat perjanjian ini dibuat dengan sebenarnya untuk dapat dipergunakan sebagaimana mestinya.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="signature">
|
|
||||||
<p>Hormat kami,</p>
|
|
||||||
<br><br><br>
|
|
||||||
<p>(Tanda Tangan Pihak Pertama)</p>
|
|
||||||
<p>Nama Pejabat</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{-- <!DOCTYPE html> --}}
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
Reference in New Issue
Block a user