update template laporan operasi
This commit is contained in:
@@ -4779,46 +4779,68 @@ class LelongController extends Controller
|
||||
$total_bakiupah = 0;
|
||||
$total_nilaimarhun = 0;
|
||||
$keuntungan = 0;
|
||||
$bakilelong = 0;
|
||||
$total_cazlelong = 0;
|
||||
|
||||
$lelonglel = Lelong::with('cawangan')->find($lelongid);
|
||||
|
||||
$cawanganDetail = $lelonglel->cawangan->find($cawid);
|
||||
|
||||
$marhuns = LelongBid::where('caw_id', '=', $cawid)
|
||||
->where('lelong_id', '=', $lelongid)
|
||||
->where('caw_id','=',$cawid)
|
||||
->get();
|
||||
$marhuns = LelongBid::join('cawangan', 'lelongbid.caw_id', '=', 'cawangan.id')
|
||||
->where('lelong_id','=',$lelongid)->where('caw_id','=',$cawid)
|
||||
->where('status_jual','=',0)
|
||||
->select(
|
||||
'lelongbid.t_lelong',
|
||||
'lelongbid.kodcaw',
|
||||
'cawangan.caw_name',
|
||||
'lelongbid.norujukan',
|
||||
'lelongbid.pinjaman',
|
||||
'lelongbid.berat',
|
||||
'lelongbid.nilaimarhun',
|
||||
'lelongbid.hargaasas',
|
||||
'lelongbid.hargajual',
|
||||
'lelongbid.t_jual',
|
||||
'lelongbid.upahsimpan',
|
||||
'lelongbid.cajlelong',
|
||||
'lelongbid.baki',
|
||||
'lelongbid.bakiupah',
|
||||
'lelongbid.status_jual',
|
||||
'lelongbid.jbg'
|
||||
)
|
||||
->get()->toArray();
|
||||
// dd($marhuns);
|
||||
$arraymarhun = [];
|
||||
foreach ($marhuns as $index1=> $cal) {
|
||||
$sumcajlelong = $cal['hargaasas'] * ($lelonglel->cajlelong/100);
|
||||
$cajlelongnew = round($sumcajlelong,1,1);
|
||||
$totalbaki = $cal['hargaasas'] - $cal['pinjaman'] - $cal['bakiupah'] - $cajlelongnew;
|
||||
$marhuns[$index1]['cajlelong'] = $cajlelongnew;
|
||||
$marhuns[$index1]['baki'] = $totalbaki;
|
||||
$marhuns[$index1]['keuntungan'] = $keuntungan;
|
||||
// dd($cal);
|
||||
$gadai = Gadai::on($cal['kodcaw'])
|
||||
->where('norujukan','=',$cal['norujukan'])
|
||||
->first();
|
||||
// dd($gadai);
|
||||
$customer = Customer::where('kpbaru','=',$gadai['nokp'])
|
||||
->orWhere('kplama','=',$gadai['nokp'])
|
||||
->first();
|
||||
// dd($customer);
|
||||
|
||||
// $keuntungan = $cal['bakipjm'] - ($cal['bakihargajualan'] - ($cal['upah12'] - $cal['ansakhir'])-(($cal['tempoh']-$cal['tempohbayar'])*$cal['kadarupah']/100*$cal['bakipjm']) );
|
||||
$marhuns[$index1]['keuntungan'] = $keuntungan;
|
||||
$marhuns[$index1]['nama'] = $customer;
|
||||
|
||||
array_push($arraymarhun,[
|
||||
'norujukan' => $cal['norujukan'],
|
||||
'tempoh' => $gadai['tempoh'],
|
||||
'nama' => $customer['nama'],
|
||||
'berat' => $cal['berat'],
|
||||
'nilaimarhun' => $cal['nilaimarhun'],
|
||||
'hargaasas' => $cal['hargaasas'],
|
||||
'hargajual' => $cal['hargajual'],
|
||||
't_jual' => $cal['t_jual'],
|
||||
'pinjaman' => $cal['pinjaman'],
|
||||
'pinjasal' => $gadai['pinjaman'],
|
||||
'bakiupah' => $cal['bakiupah'],
|
||||
'cajlelong' => $cal['cajlelong'],
|
||||
'baki' => $cal['baki'],
|
||||
'upah6bulan' => $gadai['bakiupah']
|
||||
]);
|
||||
// $total_marhun = $total_marhun + sizeof($databid);
|
||||
$total_berat = $total_berat + $cal['berat'];
|
||||
$total_pinjaman = $total_pinjaman + $cal['pinjaman'];
|
||||
$total_hargaasas = $total_hargaasas + $cal['hargaasas'];
|
||||
$total_nilaimarhun = $total_nilaimarhun + $cal['nilaimarhun'];
|
||||
$total_bakiupah = $total_bakiupah + $cal['bakiupah'];
|
||||
$total_cazlelong = $total_cazlelong + $cajlelongnew;
|
||||
|
||||
array_push($arraymarhun,[
|
||||
'norujukan' => $cal['norujukan'],
|
||||
'tempoh' => $cal['jbg'],
|
||||
'berat' => $cal['berat'],
|
||||
'nilaimarhun' => $cal['nilaimarhun'],
|
||||
'hargaasas' => $cal['hargaasas'],
|
||||
'pinjaman' => $cal['pinjaman'],
|
||||
'bakiupah' => $cal['bakiupah'],
|
||||
'cajlelong' => $cajlelongnew,
|
||||
'baki' => $cal['baki'],
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
$arrayinfo = [];
|
||||
@@ -4844,9 +4866,7 @@ class LelongController extends Controller
|
||||
'total_upah',
|
||||
'total_hargaasas',
|
||||
'total_bakiupah',
|
||||
'total_nilaimarhun',
|
||||
'lelonglel',
|
||||
'total_cazlelong'));
|
||||
'total_nilaimarhun'));
|
||||
}
|
||||
|
||||
public function showlelongpc(Request $request, $id)
|
||||
|
||||
@@ -93,7 +93,8 @@ class ReportController extends Controller
|
||||
->find($lelong_id);
|
||||
|
||||
$cawangan = $test->cawangan
|
||||
->where('kodcaw','=',$kodcaw);
|
||||
->where('caw_code','=',$kodcaw);
|
||||
// dd($cawangan[0]['caw_name']);
|
||||
|
||||
$lelong_bid = $test->lelongBid
|
||||
->where('kodcaw','=',$kodcaw);
|
||||
@@ -112,7 +113,7 @@ class ReportController extends Controller
|
||||
|
||||
|
||||
|
||||
$pdf = PDF::loadView('pdf.listlelong',compact('cawangan','lelong_bid','total_hargaasas','total_berat'))
|
||||
$pdf = PDF::loadView('pdf.listlelong',compact('test','cawangan','lelong_bid','total_hargaasas','total_berat'))
|
||||
->setPaper('a4', 'potrait');
|
||||
|
||||
return $pdf->download('Senarai Barang Lelong.pdf');
|
||||
@@ -937,6 +938,9 @@ class ReportController extends Controller
|
||||
$cawangan[$index1]['detail']=$marhuns;
|
||||
}
|
||||
|
||||
$getpengesahan = Cawangan::where('caw_code', $kodcaw)->first();
|
||||
|
||||
|
||||
return view('marhun.ubahmarhun', compact('cawangan','lelong_id','getpengesahan'));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,111 +1,110 @@
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<style>
|
||||
#sim {
|
||||
#sim {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#sim2 {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 40%;
|
||||
border: 0px solid #ddd;
|
||||
|
||||
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
#sim tr:nth-child(even){}
|
||||
|
||||
#sim tr:hover {}
|
||||
|
||||
#sim th {
|
||||
text-align: left;
|
||||
border: 0px solid;
|
||||
table-layout:auto;
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-left:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
}
|
||||
|
||||
.column {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 200%;
|
||||
border: 0px solid #ddd;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
th{
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
background-color:gainsboro;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
</style>
|
||||
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
#sim tr:nth-child(even){}
|
||||
|
||||
#sim tr:hover {}
|
||||
|
||||
#sim th {
|
||||
text-align: center;
|
||||
border: 0px solid;
|
||||
table-layout:auto;
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-right:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
|
||||
.column {
|
||||
float: right;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 200%;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: right;
|
||||
padding: 16px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
th{
|
||||
text-align: center;
|
||||
padding: 16px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<body>
|
||||
|
||||
<table width="100%" border="0" id="sim">
|
||||
<tr>
|
||||
<td width="50%"><h3>PERMODALAN KELANTAN BERHAD</h3></td>
|
||||
</tr>
|
||||
{{-- <h6>PERMODALAN KELANTAN BERHAD</h6> --}}
|
||||
<u><b><h5>LAPORAN BARANG LELONG</h5></b></u>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><u><b>LAPORAN BARANG LELONG</b></u></td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{{-- <table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim">
|
||||
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim2">
|
||||
<thead>
|
||||
<br>
|
||||
<tr>
|
||||
@foreach ($arrayinfo as $laporan)
|
||||
<td>Batch Lelong : {{$laporan['laporan']['lelong_id']}}</td>
|
||||
<td>Tarikh Lelong : @php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $laporan['laporan']['tarikh_lelong'] );
|
||||
<div>Fasa : {{$test['fasa']}}</div>
|
||||
<div>Batch Lelong : {{$test['id']}}</div>
|
||||
<div>Tarikh Lelong : @php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $test['tarikh_lelong'] );
|
||||
$t_lelong = $myDateTime->format('d-m-Y');
|
||||
echo($t_lelong);
|
||||
@endphp</td>
|
||||
<td>Fasa : {{$laporan['laporan']['fasa']}}</td>
|
||||
@endphp</div>
|
||||
|
||||
|
||||
@foreach ($laporan['details'] as $details)
|
||||
<td>Cawangan : {{$details['caw_name']}}
|
||||
@endforeach
|
||||
@endforeach
|
||||
<div>Cawangan : {{$cawangan[0]['caw_name']}}</div>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
</table> --}}
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
@@ -1,106 +1,106 @@
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<style>
|
||||
#sim {
|
||||
#sim {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#sim2 {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 40%;
|
||||
border: 0px solid #ddd;
|
||||
|
||||
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
#sim tr:nth-child(even){}
|
||||
|
||||
#sim tr:hover {}
|
||||
|
||||
#sim th {
|
||||
text-align: left;
|
||||
border: 0px solid;
|
||||
table-layout:auto;
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-left:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
}
|
||||
|
||||
.column {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 200%;
|
||||
border: 0px solid #ddd;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
th{
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
background-color:gainsboro;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
</style>
|
||||
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
#sim tr:nth-child(even){}
|
||||
|
||||
#sim tr:hover {}
|
||||
|
||||
#sim th {
|
||||
text-align: center;
|
||||
border: 0px solid;
|
||||
table-layout:auto;
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-right:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
|
||||
.column {
|
||||
float: right;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 200%;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: right;
|
||||
padding: 16px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
th{
|
||||
text-align: center;
|
||||
padding: 16px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<body>
|
||||
|
||||
<table width="100%" border="0" id="sim">
|
||||
<tr>
|
||||
<td width="50%"><h3>PERMODALAN KELANTAN BERHAD</h3></td>
|
||||
</tr>
|
||||
{{-- <h6>PERMODALAN KELANTAN BERHAD</h6> --}}
|
||||
<u><b><h5>LAPORAN BARANG LELONG DETAILS</h5></b></u>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><u><b>LAPORAN BARANG LELONG Details</b></u></td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim">
|
||||
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim2">
|
||||
<thead>
|
||||
<br>
|
||||
<tr>
|
||||
@foreach ($arrayinfo as $laporan)
|
||||
<td>Batch Lelong : {{$laporan['laporan']['lelong_id']}}</td>
|
||||
<td>Tarikh Lelong : @php
|
||||
<div>Fasa : {{$laporan['laporan']['fasa']}}</div>
|
||||
<div>Batch Lelong : {{$laporan['laporan']['lelong_id']}}</div>
|
||||
<div>Tarikh Lelong : @php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $laporan['laporan']['tarikh_lelong'] );
|
||||
$t_lelong = $myDateTime->format('d-m-Y');
|
||||
echo($t_lelong);
|
||||
@endphp</td>
|
||||
<td>Fasa : {{$laporan['laporan']['fasa']}}</td>
|
||||
@endphp</div>
|
||||
|
||||
@foreach ($laporan['details'] as $details)
|
||||
<td>Cawangan : {{$details['caw_name']}}
|
||||
<div>Cawangan : {{$details['caw_name']}}</div>
|
||||
@endforeach
|
||||
@endforeach
|
||||
</tr>
|
||||
@@ -114,13 +114,13 @@ tr:nth-child(even) {
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="2%" align="left">No</th>
|
||||
<th width="15%" align="left">No Rujukan </th>
|
||||
<th width="10%" align="left">Jenis Marhun</th>
|
||||
<th width="18%" align="left">No Rujukan </th>
|
||||
<th width="6%" align="left">Jenis Marhun</th>
|
||||
<th width="10%" align="left">Karat</th>
|
||||
<th width="10%" align="left">Berat(gm)</th>
|
||||
<th width="6%" align="left">Berat(gm)</th>
|
||||
<th width="12%" align="left">Harga(RM)</th>
|
||||
<th width="12%" align="left">Nilai Marhun(RM)</th>
|
||||
<th width="14%" align="left">Harga Asas(RM)</th>
|
||||
<th width="15%" align="left">Nilai Marhun(RM)</th>
|
||||
<th width="15%" align="left">Harga Asas(RM)</th>
|
||||
<th width="13%" align="left">Nota</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -158,10 +158,10 @@ tr:nth-child(even) {
|
||||
|
||||
<tr>
|
||||
<td colspan="4" align="left"></td>
|
||||
<td>{{ number_format($marhun['berat'], 2, '.', ',') }}</td>
|
||||
<td><b>{{ number_format($marhun['berat'], 2, '.', ',') }}</td>
|
||||
<td></td>
|
||||
<td>{{ number_format($marhun['nmarhuns'], 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($marhun['hargaasas'], 2, '.', ',') }}</td>
|
||||
<td><b>{{ number_format($marhun['nmarhuns'], 2, '.', ',') }}</td>
|
||||
<td><b>{{ number_format($marhun['hargaasas'], 2, '.', ',') }}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
@@ -1,109 +1,110 @@
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<style>
|
||||
#sim {
|
||||
#sim {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#sim2 {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 40%;
|
||||
border: 0px solid #ddd;
|
||||
|
||||
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
#sim tr:nth-child(even){}
|
||||
|
||||
#sim tr:hover {}
|
||||
|
||||
#sim th {
|
||||
text-align: left;
|
||||
border: 0px solid;
|
||||
table-layout:auto;
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-left:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
}
|
||||
|
||||
.column {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 200%;
|
||||
border: 0px solid #ddd;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
th{
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
background-color:gainsboro;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
</style>
|
||||
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
#sim tr:nth-child(even){}
|
||||
|
||||
#sim tr:hover {}
|
||||
|
||||
#sim th {
|
||||
text-align: center;
|
||||
border: 0px solid;
|
||||
table-layout:auto;
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-right:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
|
||||
.column {
|
||||
float: right;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 200%;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: right;
|
||||
padding: 16px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
th{
|
||||
text-align: center;
|
||||
padding: 16px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<body>
|
||||
|
||||
<table width="100%" border="0" id="sim">
|
||||
<tr>
|
||||
<td width="50%"><h3>PERMODALAN KELANTAN BERHAD</h3></td>
|
||||
</tr>
|
||||
{{-- <h6>PERMODALAN KELANTAN BERHAD</h6> --}}
|
||||
<u><b><h5>LAPORAN BARANG LELONG PEMBIDA</h5></b></u>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><u><b>LAPORAN LELONG KESELURUHAN</b></u></td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim">
|
||||
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim2">
|
||||
<thead>
|
||||
<br>
|
||||
<tr>
|
||||
<td>Batch Lelong: {{$lelong_id}}</td>
|
||||
@foreach ($info as $info)
|
||||
<div>Fasa: {{$info->fasa}} </div>
|
||||
<div>Batch Lelong: {{$lelong_id}}</div>
|
||||
|
||||
<td>Tarikh Lelong: @php
|
||||
<div>Tarikh Lelong: @php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $info->tarikh_lelong );
|
||||
$t_lelong = $myDateTime->format('d-m-Y');
|
||||
echo($t_lelong);
|
||||
@endphp</td>
|
||||
<td>Fasa: {{$info->fasa}} </td>
|
||||
@endphp</div>
|
||||
|
||||
@endforeach
|
||||
@foreach ($arrayinfocaw as $laporancaw)
|
||||
@foreach ($laporancaw['cawangan'] as $details)
|
||||
<td>Cawangan : {{$details['caw_name']}}
|
||||
<div>Cawangan : {{$details['caw_name']}}</div>
|
||||
@endforeach
|
||||
@endforeach
|
||||
|
||||
|
||||
@@ -1,109 +1,109 @@
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<style>
|
||||
#sim {
|
||||
#sim {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#sim2 {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 40%;
|
||||
border: 0px solid #ddd;
|
||||
|
||||
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
#sim tr:nth-child(even){}
|
||||
|
||||
#sim tr:hover {}
|
||||
|
||||
#sim th {
|
||||
text-align: left;
|
||||
border: 0px solid;
|
||||
table-layout:auto;
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-left:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
}
|
||||
|
||||
.column {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 200%;
|
||||
border: 0px solid #ddd;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
th{
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
background-color:gainsboro;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
</style>
|
||||
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
#sim tr:nth-child(even){}
|
||||
|
||||
#sim tr:hover {}
|
||||
|
||||
#sim th {
|
||||
text-align: center;
|
||||
border: 0px solid;
|
||||
table-layout:auto;
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-right:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
|
||||
.column {
|
||||
float: right;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 200%;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: right;
|
||||
padding: 16px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
th{
|
||||
text-align: center;
|
||||
padding: 16px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<body>
|
||||
|
||||
<table width="100%" border="0" id="sim">
|
||||
<tr>
|
||||
<td width="50%"><h3>PERMODALAN KELANTAN BERHAD</h3></td>
|
||||
</tr>
|
||||
{{-- <h6>PERMODALAN KELANTAN BERHAD</h6> --}}
|
||||
<u><b><h5>LAPORAN LELONG KESELURUHAN</h5></b></u>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><u><b>LAPORAN LELONG KESELURUHAN</b></u></td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim">
|
||||
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim2">
|
||||
<thead>
|
||||
<br>
|
||||
<tr>
|
||||
<td>Batch Lelong: {{$lelong_id}}</td>
|
||||
@foreach ($info as $info)
|
||||
@foreach ($info as $info)
|
||||
<div>Fasa: {{$info->fasa}}</div>
|
||||
<div>Batch Lelong: {{$lelong_id}}</div>
|
||||
|
||||
<td>Tarikh Lelong:@php
|
||||
<div>Tarikh Lelong:@php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $info->tarikh_lelong );
|
||||
$t_lelong = $myDateTime->format('d-m-Y');
|
||||
echo($t_lelong);
|
||||
@endphp</td>
|
||||
<td>Fasa: {{$info->fasa}}</td>
|
||||
@endphp</div>
|
||||
|
||||
@endforeach
|
||||
@foreach ($arrayinfocaw as $laporancaw)
|
||||
@foreach ($laporancaw['cawangan'] as $details)
|
||||
<td>Cawangan : {{$details['caw_name']}}
|
||||
<div>Cawangan : {{$details['caw_name']}}</div>
|
||||
@endforeach
|
||||
@endforeach
|
||||
|
||||
@@ -200,8 +200,8 @@ tr:nth-child(even) {
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Jumlah Baki A: {{$bakilelong}}</td>
|
||||
<td>Jumlah Baki B: {{$rugilelong}}</td>
|
||||
<td><b>Jumlah Baki A: {{$bakilelong}}</td>
|
||||
<td><b>Jumlah Baki B: {{$rugilelong}}</td>
|
||||
<td><b>Baki A - Baki B: RM{{number_format($total_baki, 2, '.', ',')}}<b></td>
|
||||
</tr>
|
||||
|
||||
|
||||
@@ -1,107 +1,107 @@
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<style>
|
||||
#sim {
|
||||
#sim {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#sim2 {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 40%;
|
||||
border: 0px solid #ddd;
|
||||
|
||||
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
#sim tr:nth-child(even){}
|
||||
|
||||
#sim tr:hover {}
|
||||
|
||||
#sim th {
|
||||
text-align: left;
|
||||
border: 0px solid;
|
||||
table-layout:auto;
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-left:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
}
|
||||
|
||||
.column {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 200%;
|
||||
border: 0px solid #ddd;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
th{
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
background-color:gainsboro;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
</style>
|
||||
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
#sim tr:nth-child(even){}
|
||||
|
||||
#sim tr:hover {}
|
||||
|
||||
#sim th {
|
||||
text-align: center;
|
||||
border: 0px solid;
|
||||
table-layout:auto;
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-right:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
|
||||
.column {
|
||||
float: right;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 200%;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: right;
|
||||
padding: 16px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
th{
|
||||
text-align: center;
|
||||
padding: 16px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<body>
|
||||
|
||||
<table width="100%" border="0" id="sim">
|
||||
<tr>
|
||||
<td width="50%"><h3>PERMODALAN KELANTAN BERHAD</h3></td>
|
||||
</tr>
|
||||
{{-- <h6>PERMODALAN KELANTAN BERHAD</h6> --}}
|
||||
<u><b><h5>LAPORAN SENARAI BIDAAN PEMBIDA</h5></b></u>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><u><b>LAPORAN SENARAI BIDAAN PEMBIDA</b></u></td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim">
|
||||
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim2">
|
||||
<thead>
|
||||
<br>
|
||||
<tr>
|
||||
<td>Batch Lelong: {{$lelong_id}}</td>
|
||||
@foreach ($lelongid as $info)
|
||||
<td>Tarikh Lelong:@php
|
||||
<div>Fasa : {{ $info->fasa}}</div>
|
||||
<div>Batch Lelong: {{$lelong_id}}</div>
|
||||
<div>Tarikh Lelong:@php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $info->tarikh_lelong );
|
||||
$t_lelong = $myDateTime->format('d-m-Y');
|
||||
echo($t_lelong);
|
||||
@endphp</td>
|
||||
<td>Fasa : {{ $info->fasa}}</td>
|
||||
@endphp</div>
|
||||
@endforeach
|
||||
@foreach ($arrayinfocaw as $laporancaw)
|
||||
@foreach ($laporancaw['cawangan'] as $details)
|
||||
<td>Cawangan : {{$details['caw_name']}}
|
||||
<div>Cawangan : {{$details['caw_name']}}</div>
|
||||
@endforeach
|
||||
@endforeach
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user