Skip to content

Commit ef0fd6b

Browse files
Update copyDaftar method to exclude 'handphone' and 'file' fields during replication; enhance user prompt in konfirmasi-pulsa view for clarity.
1 parent ea10bb9 commit ef0fd6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Models/PulsaKegiatan.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ private function copyDaftar($fromResourceId): void
5959
{
6060
$daftar = DaftarPulsaMitra::where('pulsa_kegiatan_id', $fromResourceId)->get();
6161
foreach ($daftar as $item) {
62-
$copyItem = $item->replicate();
62+
$copyItem = $item->replicate(['handphone', 'file']);
6363
$copyItem->pulsa_kegiatan_id = $this->id;
6464
$copyItem->save();
6565
}

resources/views/konfirmasi-pulsa.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class="form-input"
3838
</div>
3939
<div class="form-group">
4040
<p class="form-description">
41-
Isikan Nomor Handphone yang ingin diisikan pulsa.
41+
Isikan Nomor Handphone yang ingin diisikan pulsa. Perbaiki isian ini jika belum sesuai.
4242
</p>
4343
</div>
4444
<div class="form-group">

0 commit comments

Comments
 (0)