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
08ff9850
Commit
08ff9850
authored
Jul 01, 2024
by
Triyah Fatmawati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add contact dan substr nama VA
parent
b0433d1a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
1 deletions
+53
-1
app/Http/Controllers/RegistrasiController.php
+9
-1
resources/views/contact.blade.php
+39
-0
resources/views/layouts/sidebar.blade.php
+3
-0
routes/web.php
+2
-0
No files found.
app/Http/Controllers/RegistrasiController.php
View file @
08ff9850
...
...
@@ -17,6 +17,7 @@
use
Illuminate\Support\Facades\DB
;
use
Illuminate\Support\Facades\Log
;
use
RealRashid\SweetAlert\Facades\Alert
;
use
Illuminate\Support\Str
;
class
RegistrasiController
extends
Controller
{
...
...
@@ -204,9 +205,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
];
...
...
@@ -383,5 +387,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 @
08ff9850
@
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/layouts/sidebar.blade.php
View file @
08ff9850
...
...
@@ -26,6 +26,9 @@
<a class="
nav
-
link
" href="
{{
route
(
'user.create'
)}}
"><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 @
08ff9850
...
...
@@ -50,3 +50,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