Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions app/Nova/HonorSurvei.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,16 @@ public function fields(NovaRequest $request)
Panel::make('Keterangan Petugas Organik', [
SimpleRepeatable::make('Pegawai', 'pegawai', [
Select::make('Nama Pegawai', 'user_id')
->rules('required',)
->rules('required')
->searchable()
->options(Helper::setOptions(User::cache()->get('all'), 'id', 'nama'))
->displayUsingLabels(),
])->rules('required',
function ($attribute, $value, $fail) {
if (Helper::cekGanda(json_decode($value), 'user_id')) {
return $fail('validation.unique')->translate();
}
})
function ($attribute, $value, $fail) {
if (Helper::cekGanda(json_decode($value), 'user_id')) {
return $fail('validation.unique')->translate();
}
}),
]),

// Link::make('Unduh', 'link')->text('Unduh')->onlyOnIndex(),
Expand Down
2 changes: 1 addition & 1 deletion app/Nova/KerangkaAcuan.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function title()
* @var array
*/
public static $search = [
'tanggal', 'rincian',
'tanggal', 'rincian',
];

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function up(): void
$table->string('nipbendahara', 40)->nullable();
$table->string('link_spj')->nullable();
$table->string('link_st')->nullable();
$table->string('link_sk')->nullable();
$table->string('link_sk')->nullable();
$table->timestamps();
});
}
Expand Down
2 changes: 1 addition & 1 deletion lang/en/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

return [
'failed' => 'These credentials do not match our records.',
'failed' => 'These credentials do not match our records.',
'password' => 'The password is incorrect.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];
2 changes: 1 addition & 1 deletion lang/en/pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
declare(strict_types=1);

return [
'next' => 'Next »',
'next' => 'Next »',
'previous' => '« Previous',
];
8 changes: 4 additions & 4 deletions lang/en/passwords.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
declare(strict_types=1);

return [
'reset' => 'Your password has been reset.',
'sent' => 'We have emailed your password reset link.',
'reset' => 'Your password has been reset.',
'sent' => 'We have emailed your password reset link.',
'throttled' => 'Please wait before retrying.',
'token' => 'This password reset token is invalid.',
'user' => 'We can\'t find a user with that email address.',
'token' => 'This password reset token is invalid.',
'user' => 'We can\'t find a user with that email address.',
];
252 changes: 126 additions & 126 deletions lang/en/validation.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lang/id/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

return [
'failed' => 'Identitas tersebut tidak cocok dengan data kami.',
'failed' => 'Identitas tersebut tidak cocok dengan data kami.',
'password' => 'Kata sandi salah.',
'throttle' => 'Terlalu banyak upaya masuk. Silahkan coba lagi dalam :seconds detik.',
];
2 changes: 1 addition & 1 deletion lang/id/pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
declare(strict_types=1);

return [
'next' => 'Berikutnya »',
'next' => 'Berikutnya »',
'previous' => '« Sebelumnya',
];
8 changes: 4 additions & 4 deletions lang/id/passwords.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
declare(strict_types=1);

return [
'reset' => 'Kata sandi Anda sudah direset!',
'sent' => 'Kami sudah mengirim surel yang berisi tautan untuk mereset kata sandi Anda!',
'reset' => 'Kata sandi Anda sudah direset!',
'sent' => 'Kami sudah mengirim surel yang berisi tautan untuk mereset kata sandi Anda!',
'throttled' => 'Harap tunggu sebelum mencoba lagi.',
'token' => 'Token pengaturan ulang kata sandi tidak sah.',
'user' => 'Kami tidak dapat menemukan pengguna dengan alamat surel tersebut.',
'token' => 'Token pengaturan ulang kata sandi tidak sah.',
'user' => 'Kami tidak dapat menemukan pengguna dengan alamat surel tersebut.',
];
252 changes: 126 additions & 126 deletions lang/id/validation.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lang/vendor/nova/en/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
declare(strict_types=1);

return [
'attached' => 'This :attribute is already attached.',
'attached' => 'This :attribute is already attached.',
'relatable' => 'This :attribute may not be associated with this resource.',
];
2 changes: 1 addition & 1 deletion lang/vendor/nova/id/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
declare(strict_types=1);

return [
'attached' => ':Attribute sudah dilampirkan.',
'attached' => ':Attribute sudah dilampirkan.',
'relatable' => ':Attribute ini mungkin tidak berasosiasi dengan sumber ini.',
];