Skip to content

Commit

Permalink
perbaikan validasi modul admin sinergi program (#789)
Browse files Browse the repository at this point in the history
  • Loading branch information
yogiperdana authored Aug 18, 2023
1 parent ce2f64f commit 36e5742
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
10 changes: 6 additions & 4 deletions app/Http/Requests/SinergiProgramRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,13 @@ public function authorize()
*/
public function rules()
{
$gambarRule = $this->id ? 'nullable|' : 'required|';

return [
'nama' => 'required',
'url' => 'required',
'gambar' => 'file|mimes:jpg,jpeg,png|max:2048|valid_file',
'status' => 'required',
'nama' => 'required|string|max:100',
'url' => 'required|url',
'gambar' => $gambarRule . 'image|mimes:jpg,jpeg,png|max:2048|valid_file',
'status' => 'required|integer',
];
}
}
15 changes: 8 additions & 7 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@ Di rilis v2308.0.1 berisi perbaikan yang diminta Komunitas OpenDK.

1. [#758](https://github.com/OpenSID/OpenDK/issues/758) Perbaikan angka pada data statistik web.
2. [#759](https://github.com/OpenSID/OpenDK/issues/759) Perbaikan tampilan detail penduduk.
3. [#764](https://github.com/OpenSID/OpenDK/issues/764) Perbaikan validasi modul media sosial.
3. [#764](https://github.com/OpenSID/OpenDK/issues/764) Perbaikan validasi modul admin media sosial.
4. [#746](https://github.com/OpenSID/OpenDK/issues/746) Perbaikan tampilan pesan sudah dan belum dibaca.
5. [#755](https://github.com/OpenSID/OpenDK/issues/755) Perbaikan slider contoh data awal.
6. [#757](https://github.com/OpenSID/OpenDK/issues/757) Perbaikan tombol pada kolom aksi halaman regulasi.
7. [#753](https://github.com/OpenSID/OpenDK/issues/753) Perbaikan validasi tambah/ubah pada modul dokumen.
8. [#747](https://github.com/OpenSID/OpenDK/issues/747) Perbaikan breadcrumb pada halaman admin regulasi.
9. [#748](https://github.com/OpenSID/OpenDK/issues/748) Perbaikan breadcrumb pada halaman admin potensi.
10. [#749](https://github.com/OpenSID/OpenDK/issues/749) Perbaikan breadcrumb pada halaman admin event.
11. [#750](https://github.com/OpenSID/OpenDK/issues/750) Perbaikan breadcrumb pada halaman admin artikel.
12. [#751](https://github.com/OpenSID/OpenDK/issues/751) Perbaikan breadcrumb pada halaman admin FAQ.
7. [#753](https://github.com/OpenSID/OpenDK/issues/753) Perbaikan validasi modul admin dokumen.
8. [#747](https://github.com/OpenSID/OpenDK/issues/747) Perbaikan breadcrumb modul admin regulasi.
9. [#748](https://github.com/OpenSID/OpenDK/issues/748) Perbaikan breadcrumb modul admin potensi.
10. [#749](https://github.com/OpenSID/OpenDK/issues/749) Perbaikan breadcrumb modul admin event.
11. [#750](https://github.com/OpenSID/OpenDK/issues/750) Perbaikan breadcrumb modul admin artikel.
12. [#751](https://github.com/OpenSID/OpenDK/issues/751) Perbaikan breadcrumb modul admin FAQ.
13. [#754](https://github.com/OpenSID/OpenDK/issues/754) Perbaikan notifikasi saat akses modul info sistem.
14. [#763](https://github.com/OpenSID/OpenDK/issues/763) Perbaikan validasi modul admin sinergi program.

#### Teknis
1. [#12](https://github.com/OpenSID/wiki-keamanan/issues/12) Perbaikan keamanan modul bantuan.
Expand Down

0 comments on commit 36e5742

Please sign in to comment.