Commit ed9c1b88 by Triyah Fatmawati

Update nomor VA

parent 3059e94a
......@@ -269,7 +269,7 @@ public function getDataRegis($va)
{
$registrasi = Registrasi::query()
->with('pkKegiatan', 'pkRegistrasiPeserta.rKegiatanPeserta', 'pkRegistrasiPeserta.rKonferensiPeserta')
->where('kode_registrasi', $va)
->where('nomor_va', $va)
->first();
$konvensi = Kegiatan::query()->find('498633a9-082c-4a4a-9dbd-e20b678ec15e');
......@@ -316,7 +316,7 @@ public function updatePembayaran(Request $request, $va)
$registrasi = Registrasi::query()
->with('pkKegiatan', 'pkRegistrasiPeserta.rKegiatanPeserta', 'pkRegistrasiPeserta.rKonferensiPeserta')
->where('kode_registrasi', $va)
->where('nomor_va', $va)
->update([
'tanggal_bayar' => Carbon::now()
]);
......
......@@ -33,7 +33,7 @@
<div class="col-md-6">
<address>
<strong>Metode Pembayaran:</strong><br>
Virtual Account : {{$registrasi['kode_registrasi'] ?? 'param' }}<br>
Virtual Account : {{$registrasi['nomor_va'] ?? 'param' }}<br>
{{-- {{$registrasi['email'] ?? 'param' }} --}}
</address>
</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