Commit 531f8edb by Triyah Fatmawati

Update perubahan harga, hanya harga konvensi saja

parent ed733be6
...@@ -126,7 +126,7 @@ public function preview(Request $request){ ...@@ -126,7 +126,7 @@ public function preview(Request $request){
'namakeg' => $kegiatan[$i]['nama'] 'namakeg' => $kegiatan[$i]['nama']
]; ];
$totalHarga += (int) $konferensi->harga; // $totalHarga += (int) $konferensi->harga;
$i++; $i++;
} }
} }
...@@ -190,7 +190,7 @@ public function store(Request $request) { ...@@ -190,7 +190,7 @@ public function store(Request $request) {
if($keg['id_kegiatan'] != '498633a9-082c-4a4a-9dbd-e20b678ec15e'){ if($keg['id_kegiatan'] != '498633a9-082c-4a4a-9dbd-e20b678ec15e'){
$konferensi = Konferensi::query()->where('id', $keg['id_konferensi'])->first(); $konferensi = Konferensi::query()->where('id', $keg['id_konferensi'])->first();
$kegkonaspi = Kegiatan::find($keg['id_kegiatan']); $kegkonaspi = Kegiatan::find($keg['id_kegiatan']);
$totalHarga += (int) $konferensi->harga; // $totalHarga += (int) $konferensi->harga;
$kegPeserta[] = [ $kegPeserta[] = [
'idkon' => $konferensi->id, 'idkon' => $konferensi->id,
......
...@@ -84,9 +84,11 @@ ...@@ -84,9 +84,11 @@
<td> <td>
{{$kon['namakeg']}} <br> Konferensi : <b> {{$kon['namakon']??'param'}} </b> {{$kon['namakeg']}} <br> Konferensi : <b> {{$kon['namakon']??'param'}} </b>
</td> </td>
<td class="text-center">Rp {{$kon['hargakon']??'param'}}</td> {{-- <td class="text-center">Rp {{$kon['hargakon']??'param'}}</td> --}}
<td class="text-center">-</td>
<td class="text-center">1</td> <td class="text-center">1</td>
<td class="text-right">Rp {{$kon['hargakon']??'param'}}</td> {{-- <td class="text-right">Rp {{$kon['hargakon']??'param'}}</td> --}}
<td class="text-right">-</td>
</tr> </tr>
@php @php
$i++; $i++;
...@@ -99,6 +101,12 @@ ...@@ -99,6 +101,12 @@
<div class="row mt-4"> <div class="row mt-4">
<div class="col-lg-8"> <div class="col-lg-8">
<p class="section-lead" style="font-size: 12pt">Setelah pembayaran Anda berhasil dilakukan, Anda akan menerima notifikasi pembayaran melalui email. Untuk informasi lebih lanjut mengenai prosedur pembayaran, silakan kunjungi tautan berikut <a href="https://pmb.unesa.ac.id/vabtn.pdf">ini</a></p> <p class="section-lead" style="font-size: 12pt">Setelah pembayaran Anda berhasil dilakukan, Anda akan menerima notifikasi pembayaran melalui email. Untuk informasi lebih lanjut mengenai prosedur pembayaran, silakan kunjungi tautan berikut <a href="https://pmb.unesa.ac.id/vabtn.pdf">ini</a></p>
<div class="section-title"><b>Harap menjadi perhatian peserta</b></div>
<p class="section-lead" style="font-size: 12pt">Biaya pada invoice ini hanya untuk biaya <b>konvensi</b> saja
<br>
Apabila peserta mengikuti conference sebagai presenter dan accepted di masing-masing conference, biaya penerbitan akan diinfokan lebih lanjut.
</p>
{{-- <div class="d-flex"> {{-- <div class="d-flex">
<div class="mr-2 bg-visa" data-width="61" data-height="38"></div> <div class="mr-2 bg-visa" data-width="61" data-height="38"></div>
<div class="mr-2 bg-jcb" data-width="61" data-height="38"></div> <div class="mr-2 bg-jcb" data-width="61" data-height="38"></div>
...@@ -109,12 +117,14 @@ ...@@ -109,12 +117,14 @@
<div class="col-lg-4 text-right"> <div class="col-lg-4 text-right">
<div class="invoice-detail-item"> <div class="invoice-detail-item">
<div class="invoice-detail-name">Subtotal</div> <div class="invoice-detail-name">Subtotal</div>
<div class="invoice-detail-value">Rp {{$subtotal}}</div> {{-- <div class="invoice-detail-value">Rp {{$subtotal}}</div> --}}
<div class="invoice-detail-value">Rp {{$initialharga}}</div>
</div> </div>
<hr class="mt-2 mb-2"> <hr class="mt-2 mb-2">
<div class="invoice-detail-item"> <div class="invoice-detail-item">
<div class="invoice-detail-name">Total</div> <div class="invoice-detail-name">Total</div>
<div class="invoice-detail-value invoice-detail-value-lg">Rp {{$subtotal}}</div> {{-- <div class="invoice-detail-value invoice-detail-value-lg">Rp {{$subtotal}}</div> --}}
<div class="invoice-detail-value invoice-detail-value-lg">Rp {{$initialharga}}</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -94,9 +94,11 @@ ...@@ -94,9 +94,11 @@
<td> <td>
{{$kon['namakeg']}} <br> Konferensi : <b> {{$kon['namakon']}} </b> {{$kon['namakeg']}} <br> Konferensi : <b> {{$kon['namakon']}} </b>
</td> </td>
<td class="text-center">Rp {{$kon['hargakon']}}</td> {{-- <td class="text-center">Rp {{$kon['hargakon']}}</td> --}}
<td class="text-center">-</td>
<td class="text-center">1</td> <td class="text-center">1</td>
<td class="text-right">Rp {{$kon['hargakon']}}</td> {{-- <td class="text-right">Rp {{$kon['hargakon']}}</td> --}}
<td class="text-right">-</td>
</tr> </tr>
@php @php
$i++; $i++;
...@@ -110,6 +112,12 @@ ...@@ -110,6 +112,12 @@
<div class="col-lg-8"> <div class="col-lg-8">
<div class="section-title">Metode Pembayaran</div> <div class="section-title">Metode Pembayaran</div>
<p class="section-lead" style="font-size: 12pt">Setelah menekan tombol bayar, maka data akan tersimpan dan lakukan pembayaran tagihan menggunakan <b>Nomor Virtual Account</b> yang tertera pada <b>Invoice</b> ini</p> <p class="section-lead" style="font-size: 12pt">Setelah menekan tombol bayar, maka data akan tersimpan dan lakukan pembayaran tagihan menggunakan <b>Nomor Virtual Account</b> yang tertera pada <b>Invoice</b> ini</p>
<div class="section-title">Harap menjadi perhatian peserta</div>
<p class="section-lead" style="font-size: 12pt">Biaya pada invoice ini hanya untuk biaya <b>konvensi</b> saja
<br>
Apabila peserta mengikuti conference sebagai presenter dan accepted di masing-masing conference, biaya penerbitan akan diinfokan lebih lanjut.
</p>
{{-- <div class="d-flex"> {{-- <div class="d-flex">
<div class="mr-2 bg-visa" data-width="61" data-height="38"></div> <div class="mr-2 bg-visa" data-width="61" data-height="38"></div>
<div class="mr-2 bg-jcb" data-width="61" data-height="38"></div> <div class="mr-2 bg-jcb" data-width="61" data-height="38"></div>
...@@ -120,12 +128,14 @@ ...@@ -120,12 +128,14 @@
<div class="col-lg-4 text-right"> <div class="col-lg-4 text-right">
<div class="invoice-detail-item"> <div class="invoice-detail-item">
<div class="invoice-detail-name">Subtotal</div> <div class="invoice-detail-name">Subtotal</div>
<div class="invoice-detail-value">Rp {{$subtotal}}</div> {{-- <div class="invoice-detail-value">Rp {{$subtotal}}</div> --}}
<div class="invoice-detail-value">Rp {{$initialharga}}</div>
</div> </div>
<hr class="mt-2 mb-2"> <hr class="mt-2 mb-2">
<div class="invoice-detail-item"> <div class="invoice-detail-item">
<div class="invoice-detail-name">Total</div> <div class="invoice-detail-name">Total</div>
<div class="invoice-detail-value invoice-detail-value-lg">Rp {{$subtotal}}</div> {{-- <div class="invoice-detail-value invoice-detail-value-lg">Rp {{$subtotal}}</div> --}}
<div class="invoice-detail-value invoice-detail-value-lg">Rp {{$initialharga}}</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -93,9 +93,11 @@ ...@@ -93,9 +93,11 @@
<td> <td>
{{$kon['namakeg']}} <br> Konferensi : <b> {{$kon['namakon']}} </b> {{$kon['namakeg']}} <br> Konferensi : <b> {{$kon['namakon']}} </b>
</td> </td>
<td class="text-center">Rp {{$kon['hargakon']}}</td> {{-- <td class="text-center">Rp {{$kon['hargakon']}}</td> --}}
<td class="text-center">-</td>
<td class="text-center">1</td> <td class="text-center">1</td>
<td class="text-right">Rp {{$kon['hargakon']}}</td> {{-- <td class="text-right">Rp {{$kon['hargakon']}}</td> --}}
<td class="text-right">-</td>
</tr> </tr>
@php @php
$i++; $i++;
...@@ -119,12 +121,14 @@ ...@@ -119,12 +121,14 @@
<div class="col-lg-4 text-right"> <div class="col-lg-4 text-right">
<div class="invoice-detail-item"> <div class="invoice-detail-item">
<div class="invoice-detail-name">Subtotal</div> <div class="invoice-detail-name">Subtotal</div>
<div class="invoice-detail-value">Rp {{$subtotal}}</div> {{-- <div class="invoice-detail-value">Rp {{$subtotal}}</div> --}}
<div class="invoice-detail-value">Rp {{$konaspi->harga}}</div>
</div> </div>
<hr class="mt-2 mb-2"> <hr class="mt-2 mb-2">
<div class="invoice-detail-item"> <div class="invoice-detail-item">
<div class="invoice-detail-name">Total</div> <div class="invoice-detail-name">Total</div>
<div class="invoice-detail-value invoice-detail-value-lg">Rp {{$subtotal}}</div> {{-- <div class="invoice-detail-value invoice-detail-value-lg">Rp {{$subtotal}}</div> --}}
<div class="invoice-detail-value invoice-detail-value-lg">Rp {{$konaspi->harga}}</div>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment