Commit c4676442 by Triyah Fatmawati

Merge branch 'main'

parents 6e8849e4 41d27ddf
......@@ -18,7 +18,7 @@
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
use RealRashid\SweetAlert\Facades\Alert;
use Str;
use Illuminate\Support\Str;
use function PHPUnit\Framework\isEmpty;
class RegistrasiController extends Controller
......@@ -321,9 +321,12 @@ public function store(Request $request) {
}
}
$namanya = str_replace(["'", ".", ",", "-"], '', $registrasi['nama']);
$nama = Str::substr($namanya, 0, 30);
$multipartData = [
'noid' => $registrasi['kode_registrasi'],
'nama' => $registrasi['nama'],
'nama' => $nama,
'tagihan' => $totalHarga
];
......@@ -516,5 +519,9 @@ public function checkRegistrasi(Request $request, $va)
return view('email.selesai_pembayaran', $data);
}
public function contact(){
return view('contact');
}
}
@extends('layouts.app')
@section('title','Beranda')
@section('sidebar')
@parent
@endsection
@section('content')
<section class="section">
<div class="section-header">
<h1>Contact</h1>
</div>
<div class="section-body">
<div class="row mt-4 active" id="tab-semuapengajuan" data-tab-group="mygroup-tab">
<div class="col-12">
<div class="card">
<div class="card-body">
<table>
<tr>
<td><h6 style="color: black">Rindu Puspita Wibawa</h6></td>
<td><h6 style="color: black">:</h6></td>
<td><h6 style="color: black">+6281232721407 <b>(WhatsApp Only)</h6></b></td>
</tr>
</table>
<br>
<br>
<h6 style="color: red">Note : </h6>
<h6 style="color: rgb(37, 94, 218);">Jika menemui kendala ketika melakukan registrasi, silahkan menghubungi nomor kontak di atas.</h6>
</div>
</div>
</div>
</div>
</section>
@endsection
@section('footer')
@parent
@endsection
......@@ -84,9 +84,11 @@
<td>
{{$kon['namakeg']}} <br> Konferensi : <b> {{$kon['namakon']??'param'}} </b>
</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-right">Rp {{$kon['hargakon']??'param'}}</td>
{{-- <td class="text-right">Rp {{$kon['hargakon']??'param'}}</td> --}}
<td class="text-right">-</td>
</tr>
@php
$i++;
......@@ -108,12 +110,14 @@
<div class="col-lg-4 text-right">
<div class="invoice-detail-item">
<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>
<hr class="mt-2 mb-2">
<div class="invoice-detail-item">
<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>
......
......@@ -26,6 +26,9 @@
<a class="nav-link" href="{{route('pre-register')}}"><i class="fas fa-file-pen"></i><span>Registrasi</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{route('user.contact')}}"><i class="fas fa-address-book"></i><span>Contact Person</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{url('/login')}}"><i class="fa fa-sign-in"></i><span>Login</span></a>
</li>
@endif
......
......@@ -58,3 +58,5 @@
});
Route::get('test/email', [RegistrasiController::class, 'testEmail']);
Route::get('check/regis/{va}', [RegistrasiController::class, 'checkRegistrasi']);
Route::get('/contact', [RegistrasiController::class,'contact'])->name('user.contact');
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