Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
konaspi2024
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Siti Aisah
konaspi2024
Commits
c4676442
Commit
c4676442
authored
Jul 05, 2024
by
Triyah Fatmawati
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'main'
parents
6e8849e4
41d27ddf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
61 additions
and
6 deletions
+61
-6
app/Http/Controllers/RegistrasiController.php
+9
-2
resources/views/contact.blade.php
+39
-0
resources/views/email/selesai_pembayaran.blade.php
+8
-4
resources/views/layouts/sidebar.blade.php
+3
-0
routes/web.php
+2
-0
No files found.
app/Http/Controllers/RegistrasiController.php
View file @
c4676442
...
...
@@ -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'
);
}
}
resources/views/contact.blade.php
0 → 100644
View file @
c4676442
@
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
resources/views/email/selesai_pembayaran.blade.php
View file @
c4676442
...
...
@@ -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>
...
...
resources/views/layouts/sidebar.blade.php
View file @
c4676442
...
...
@@ -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
...
...
routes/web.php
View file @
c4676442
...
...
@@ -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'
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment