From 488d050e95bcb26e922fc7bf7d0edb3183701757 Mon Sep 17 00:00:00 2001 From: ilhamrandikesuma Date: Mon, 19 May 2025 21:07:22 +0800 Subject: [PATCH] revisi:3 --- .$Flowchart Syeba.drawio.bkp | 457 ++++++++++++++ .$Flowchart.drawio.bkp | 133 +++++ Flowchart Syeba.drawio | 556 ++++++++++++++++++ app/Http/Controllers/Auth/LoginController.php | 2 +- app/Http/Controllers/ProfileController.php | 11 +- .../hasil_uji/1747565742_download (1).png | Bin 0 -> 6052 bytes .../Dashboard/partials/sidebar.blade.php | 2 +- resources/views/admin/create.blade.php | 42 +- resources/views/complaints/all-pdf.blade.php | 2 +- resources/views/complaints/index.blade.php | 4 +- resources/views/complaints/pdf.blade.php | 2 +- resources/views/profile/edit.blade.php | 15 +- .../views/satisfactions/all-pdf.blade.php | 2 +- resources/views/satisfactions/index.blade.php | 4 +- resources/views/satisfactions/pdf.blade.php | 2 +- resources/views/services/all-pdf.blade.php | 2 +- resources/views/services/index.blade.php | 2 +- resources/views/services/pdf.blade.php | 2 +- resources/views/services/show.blade.php | 4 +- 19 files changed, 1216 insertions(+), 28 deletions(-) create mode 100644 .$Flowchart Syeba.drawio.bkp create mode 100644 .$Flowchart.drawio.bkp create mode 100644 Flowchart Syeba.drawio create mode 100644 public/uploads/hasil_uji/1747565742_download (1).png diff --git a/.$Flowchart Syeba.drawio.bkp b/.$Flowchart Syeba.drawio.bkp new file mode 100644 index 0000000..5229c2a --- /dev/null +++ b/.$Flowchart Syeba.drawio.bkp @@ -0,0 +1,457 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.$Flowchart.drawio.bkp b/.$Flowchart.drawio.bkp new file mode 100644 index 0000000..9e80dd1 --- /dev/null +++ b/.$Flowchart.drawio.bkp @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Flowchart Syeba.drawio b/Flowchart Syeba.drawio new file mode 100644 index 0000000..5391db1 --- /dev/null +++ b/Flowchart Syeba.drawio @@ -0,0 +1,556 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 420e5e6..6605bc9 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -43,7 +43,7 @@ public function login(Request $request) } return back()->withErrors([ - 'email' => 'Kredensial yang Anda berikan tidak cocok dengan data kami.', + 'email' => 'Email dan password yang dimasukkan tidak sesuai dengan data kami', ])->withInput($request->only('email')); } diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index 52a47b3..c773281 100644 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -35,7 +35,11 @@ public function update(Request $request) // Data yang dapat diubah untuk admin User::where('id', $user->id)->update([ - 'name' => $request->name + 'name' => $request->name, + 'email' => $request->email, + 'gender' => $request->gender, + 'phone' => $request->phone + ]); } else { // Untuk customer @@ -50,7 +54,10 @@ public function update(Request $request) User::where('id', $user->id)->update([ 'name' => $request->name, 'business_name' => $request->business_name, - 'business_address' => $request->business_address + 'business_address' => $request->business_address, + 'phone' => $request->phone, + 'email' => $request->email, + 'gender' => $request->gender ]); } diff --git a/public/uploads/hasil_uji/1747565742_download (1).png b/public/uploads/hasil_uji/1747565742_download (1).png new file mode 100644 index 0000000000000000000000000000000000000000..44fc17e19ea661f8834d65e8e79b0cb2d721fd25 GIT binary patch literal 6052 zcmb7|RX`Jr1MNXdm>|+AqnlBq8|fGzlOFPy7HJqAqI83xz(A#Q$fQO)B&EAW8ibLK zk@veV_x=7J&N&a~^}L(}6Js4p3Kj|i0s=}s-DhS51cWO8<)Vi~|Ea}<*6n}RZDMGy zb^m|4y}7wrTU%>wL$h!IGqbavFfy;KtgvzMC~G_u6%)tf@&DED@2`bHl6(6HXJ=KSS(gtLW=zGQ$C z!K9=l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IJ+0f%MkOivQgC zpO3fx?(+vnq7lYp{Zk|Tf1lxzgtf?(Tn^fRYl%BrA1QtBu3nwz_|UxNv#M(I@1)^^ zjD8GKPWWMx6wl6OmaA!boKb5X+Nxqx@1KD+VWg7s;-0yL`)*cI1(j@_^#C&4_QHhe zs;2g@p5Kf=X($czyqU|~(9yL*z3A_DQyu*G(HwVGUU!*VO=A@89lsJ-|r2TJ>NW*3!xvm?yjb;;wTCd1W{G;c_ZTjGw*Ieq9^ctT7(luosr^ zA(Rd60@l)YZUNwfd)htJer;;VtD0<&I_&Jv{L-`!3LdfF&t;;5Z*!MmXV{!~_iyKb zm;4IYHH__@_Vah$jS4pi^nK6z&DY8$KlEpuvShw`^#9Er-yPYP Z=P#cnk4RJh_oEZ&X&FDO(|Gyz{{W|!=v@E+ literal 0 HcmV?d00001 diff --git a/resources/views/Dashboard/partials/sidebar.blade.php b/resources/views/Dashboard/partials/sidebar.blade.php index 49b685e..da8317a 100644 --- a/resources/views/Dashboard/partials/sidebar.blade.php +++ b/resources/views/Dashboard/partials/sidebar.blade.php @@ -8,7 +8,7 @@
    - + @can('customer')
  • diff --git a/resources/views/admin/create.blade.php b/resources/views/admin/create.blade.php index 884c52b..e053e7c 100644 --- a/resources/views/admin/create.blade.php +++ b/resources/views/admin/create.blade.php @@ -56,8 +56,15 @@
    - +
    + +
    + +
    +
    @error('password')
    {{ $message }} @@ -67,8 +74,15 @@
    - +
    + +
    + +
    +
    @@ -79,4 +93,24 @@
    +@endsection + +@section('scripts') + @endsection \ No newline at end of file diff --git a/resources/views/complaints/all-pdf.blade.php b/resources/views/complaints/all-pdf.blade.php index d917a33..af1f88e 100644 --- a/resources/views/complaints/all-pdf.blade.php +++ b/resources/views/complaints/all-pdf.blade.php @@ -152,7 +152,7 @@ \ No newline at end of file diff --git a/resources/views/complaints/index.blade.php b/resources/views/complaints/index.blade.php index cfc1947..051c6f1 100644 --- a/resources/views/complaints/index.blade.php +++ b/resources/views/complaints/index.blade.php @@ -44,9 +44,9 @@ @can('admin')
    - + --}} diff --git a/resources/views/complaints/pdf.blade.php b/resources/views/complaints/pdf.blade.php index 01a2837..8aabcef 100644 --- a/resources/views/complaints/pdf.blade.php +++ b/resources/views/complaints/pdf.blade.php @@ -124,7 +124,7 @@ \ No newline at end of file diff --git a/resources/views/profile/edit.blade.php b/resources/views/profile/edit.blade.php index 3e2e574..b7478eb 100644 --- a/resources/views/profile/edit.blade.php +++ b/resources/views/profile/edit.blade.php @@ -39,25 +39,26 @@
    - + Email tidak dapat diubah.
    @if($user->role === 'admin')
    - - Jenis kelamin tidak dapat diubah. +
    @endif @if($user->role === 'pelanggan')
    - + Nomor telepon tidak dapat diubah.
    diff --git a/resources/views/satisfactions/all-pdf.blade.php b/resources/views/satisfactions/all-pdf.blade.php index 849c6bf..ad9782d 100644 --- a/resources/views/satisfactions/all-pdf.blade.php +++ b/resources/views/satisfactions/all-pdf.blade.php @@ -197,7 +197,7 @@ \ No newline at end of file diff --git a/resources/views/satisfactions/index.blade.php b/resources/views/satisfactions/index.blade.php index 9ef9922..9b9b93b 100644 --- a/resources/views/satisfactions/index.blade.php +++ b/resources/views/satisfactions/index.blade.php @@ -53,9 +53,9 @@ @can('admin')
    - + --}} diff --git a/resources/views/satisfactions/pdf.blade.php b/resources/views/satisfactions/pdf.blade.php index ebb27de..8050e57 100644 --- a/resources/views/satisfactions/pdf.blade.php +++ b/resources/views/satisfactions/pdf.blade.php @@ -222,7 +222,7 @@ \ No newline at end of file diff --git a/resources/views/services/all-pdf.blade.php b/resources/views/services/all-pdf.blade.php index 372a7f1..731a488 100644 --- a/resources/views/services/all-pdf.blade.php +++ b/resources/views/services/all-pdf.blade.php @@ -181,7 +181,7 @@ \ No newline at end of file diff --git a/resources/views/services/index.blade.php b/resources/views/services/index.blade.php index a9bfad4..873738b 100644 --- a/resources/views/services/index.blade.php +++ b/resources/views/services/index.blade.php @@ -79,7 +79,7 @@
    - +
    diff --git a/resources/views/services/pdf.blade.php b/resources/views/services/pdf.blade.php index e462a12..60b2e0e 100644 --- a/resources/views/services/pdf.blade.php +++ b/resources/views/services/pdf.blade.php @@ -227,7 +227,7 @@ \ No newline at end of file diff --git a/resources/views/services/show.blade.php b/resources/views/services/show.blade.php index 50fde52..a57c4b5 100644 --- a/resources/views/services/show.blade.php +++ b/resources/views/services/show.blade.php @@ -193,9 +193,9 @@
    Hasil Uji
    -

    File hasil uji telah tersedia dan dapat diunduh melalui tautan di bawah ini:

    +

    File hasil uji telah tersedia dan dapat dilihat melalui tautan di bawah ini:

    - Unduh Hasil Uji + Lihat Hasil Uji