From f5109b98ab52619cbd462a59d1858ca2bb6f6ecc Mon Sep 17 00:00:00 2001 From: Haxorsprogramming Date: Mon, 4 Apr 2022 12:45:05 +0700 Subject: [PATCH] 'update' --- README.md | 27 +++ app/Http/Controllers/C_Auth.php | 4 + app/Http/Controllers/C_Dashboard.php | 17 +- app/Models/M_Penjualan.php | 5 + public/ladun/base/aditia-foto.jpg | Bin 0 -> 30010 bytes public/ladun/base/icon.png | Bin 0 -> 6259 bytes resources/views/auth/loginPage.blade.php | 13 -- resources/views/layout/headerApp.blade.php | 16 +- resources/views/main/berandaPage.blade.php | 232 ++++++++------------ resources/views/main/infoAplikasi.blade.php | 24 +- routes/web.php | 1 + 11 files changed, 174 insertions(+), 165 deletions(-) create mode 100644 public/ladun/base/aditia-foto.jpg create mode 100644 public/ladun/base/icon.png diff --git a/README.md b/README.md index 6065dca..f363f07 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,33 @@
  • Analisa penjualan
  • Laporan analisa penjualan
  • +## Tampilan Aplikasi + +- Login + +
    + +- Dashboard + +
    + +- Data Produk + +
    + +- Pengujian + +
    + +- Hasil Analisa 1 + +
    + +- Hasil Analisa 2 + +
    + +
    Instalasi diff --git a/app/Http/Controllers/C_Auth.php b/app/Http/Controllers/C_Auth.php index 86df916..598ee72 100644 --- a/app/Http/Controllers/C_Auth.php +++ b/app/Http/Controllers/C_Auth.php @@ -31,4 +31,8 @@ public function loginProses(Request $request) $dr = ['status' => $status]; return \Response::json($dr); } + public function logout(Request $request) + { + return redirect('/'); + } } diff --git a/app/Http/Controllers/C_Dashboard.php b/app/Http/Controllers/C_Dashboard.php index dbef365..faddd69 100644 --- a/app/Http/Controllers/C_Dashboard.php +++ b/app/Http/Controllers/C_Dashboard.php @@ -4,6 +4,9 @@ use Illuminate\Http\Request; +use App\Models\M_Produk; +use App\Models\M_Penjualan; + class C_Dashboard extends Controller { public function dashboard() @@ -12,8 +15,18 @@ public function dashboard() } public function berandaPage() { - $dr = ['status' => 'sukses']; - return view('main.berandaPage'); + $totalProduk = M_Produk::count(); + $totalPenjualan = M_Penjualan::count(); + $totalHarga = M_Produk::sum('harga'); + $transaksiTerakhir = M_Penjualan::distinct() -> take (7) -> get(['no_faktur']); + $rataRata = $totalHarga / $totalProduk; + $dr = [ + 'totalProduk' => $totalProduk, + 'totalPenjualan' => $totalPenjualan, + 'rataRata' => $rataRata, + 'transaksiTerakhir' => $transaksiTerakhir + ]; + return view('main.berandaPage', $dr); } public function infoAplikasi() diff --git a/app/Models/M_Penjualan.php b/app/Models/M_Penjualan.php index 89ad9ae..62618be 100644 --- a/app/Models/M_Penjualan.php +++ b/app/Models/M_Penjualan.php @@ -33,6 +33,11 @@ public function hitungTotalQt($idTransaksi) return $this::where('no_faktur', $idTransaksi) -> sum('qt'); } + public function getCreatedAt($idTransaksi) + { + return $this::where('no_faktur', $idTransaksi) -> pluck('created_at') -> first(); + } + public function getTotalHarga($idTransaksi) { $qTransaksi = $this::where('no_faktur', $idTransaksi) -> get(); diff --git a/public/ladun/base/aditia-foto.jpg b/public/ladun/base/aditia-foto.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7c632db4029c5b6493092c6377aed8c0271f2dcb GIT binary patch literal 30010 zcmeI4byQT}`|r;THT2Mpv@{IeF*MR4jWBd~NJ)1~qjU;_ASs|UNS8`VC?OW9q}=h7 z-``z#-TPy$yY4@iJu}R6p7TEY?0M~H?V8zK&0nnnP*p`0MF0c_0T##yaJ3HIRq%JP z1psw*fE@q;2!IY?17M`Zf;>Qg2mutN4MIKu5bPg+EQs$9n;5C7i*W!@|Ih%C-d$<{ z1L?y-9^Xa20P0=jAINX(CfyLYA#g+BhQJMh8v_475-@OZwRZFKqSLZ>^LC?Cuy*iv z^Q43Ea`SS-czIzkZkQ0ihyd{4Q}OZg@rv>Ci}4E3@rsDSgv5A7kOP!|M<0;6--K^Q zAOAnb+0AFZA#g+BhQJMh8v_4H;OZ+N^vBr4%ihhMj-Q(s5P_?xqyApI000VVupL0` z;UjG1=j}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KJ^(U?+LCca?MDLOwyC-p)j(saz#qIu+smh~Rxmn}sE zlVUQ%tf+3-WnpVMv|0;B*=1B2mIZzSN{H@u(IzLX4VP^j>X(6xT@F%)4_6E!kHelNXE7Khf&%X0KKp+1}4DtWt6XDxP0<&+#s8!`(o zbp2Geh*;q9Xi>SkLq1k|Z$9 zJd@LGpueeTcJw4(C^D$ZGk)dWotjX8XdUE@*~b^mS{SskcOJ_}J%kgmMWm>vDp~Tn zjrkIc&K4?YzN9#^+Z*VoRO3aicF4JLzF=6P)7Euop+9>Jn*t9csD~g>#%(fl7YK4$ z=2QENB4iGNcyG5!y@2z&!&!p4nF)>9^%)w`Q8zdsjX}>`f`t!JCm1T3Wbs3EyYI64G+EV;%kj6oc6Noe zVzG_Iqeo%;sCNXHZ36c37%NKJ1Y(0j5lzi`g+%)VGPXl464VXd7`!FmuQ((-1V@sZ zsyR58W~bjGy})sKEYYS(5X}oeQjB-82=Q=`Vv)MlB1&J#e#h${@l?;>qcj@fCVD21 zglU&92x98y_Wtxj>rvPczpXXh!^*mZOA+CWudw5E%ufE6yypDXWF>)IxbT^;@{Yd` z`Glmj*U6lZUT(=RTS7O~WAD>Ctdg{H!Wu#JxR7Rzddt#OUZzYUzzQ41E=G5 zj)){7TTfLeZmYY#&QlEWFbfZWz#f87ARFaNXjXe}uH&~@dac;{uL?_-po39-~e)6bF9$sujT z7XPAy;{2E?>isj9Obk?B#&cq9niZV8ps`vd*)20HLn;4X#WHZ9bD9*wG}4@?G*IWl z{_B_|oaW)>ty~%3K{G_c*K7Z9n|&Ho=<+ zCi>Nqt$U?a?Fl(+S*n!B(B^%b$_lfe>ZWhlCqh!5ZQXMxcjDbF_gecm5R2zR zZoh}WNWNSZ85BE@M}!4!GdrZ3s7N+$ygY{s+`88|nZ6 literal 0 HcmV?d00001 diff --git a/public/ladun/base/icon.png b/public/ladun/base/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..becc41dc690397d9567428e2df153963258fbc42 GIT binary patch literal 6259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H@j^J3zGb~^ECi@SSqSseb5n^S2?g74E zvWRS}nWSk0&jDT6Q50pOBuVG}snI`-M7m#qP4DIKUGCSsG$##vL>PLTmwInIgg80^ z6!%T!h#@Fe3!Zx}6t4?gL^!njXz+Nk+id_eG~ULlYlIC6$J^qfrr{P#SFU4P$|TmV zUfKu1*lKc_OiGjxcsnoo^8?F)yzVE4$Hj7}w4ALwb`fd`F+`Pkz$EL?^A5Wmi`mjA z3g|D3Zf$k5Xu)h&E`6ECraN5#nx>&BN{-oV-l1vwpd4A3LRA!nd(F*UuKf#i9oZC^ zv5{pNNk{>0QTkMsi108XheV*ND!Q&A%cjrG=8*M5(C;$>^~5Q_USOOo%c!c#ojbQt zRTY1`EWwu!&?w8MH6V(G=(#)du%;eh0 -

    -
    -
    - - -
    -
    - -
    diff --git a/resources/views/layout/headerApp.blade.php b/resources/views/layout/headerApp.blade.php index 0978ca8..aaa96f6 100644 --- a/resources/views/layout/headerApp.blade.php +++ b/resources/views/layout/headerApp.blade.php @@ -68,13 +68,7 @@ - - +
    @@ -128,7 +122,7 @@ diff --git a/resources/views/main/berandaPage.blade.php b/resources/views/main/berandaPage.blade.php index b2e49f8..c041be7 100644 --- a/resources/views/main/berandaPage.blade.php +++ b/resources/views/main/berandaPage.blade.php @@ -1,153 +1,113 @@ - -
    -
    -
    -
    -
    -
    -
    Number of Sales
    -
    -
    - - - -
    -
    -

    1,753

    -

    1.23 % From previous period

    -
    +
    +
    +
    +
    +
    +
    +
    Total Transaksi
    -
    - -
    -
    -
    -
    -
    -
    Sales Revenue
    -
    -
    - - - -
    -
    -

    Rp. 45,253

    -

    2.73 % From previous period

    -
    +
    + + +
    +

    {{ $totalPenjualan }}

    -
    -
    -
    -
    -
    -
    Average Price
    -
    -
    - - - -
    -
    -

    Rp. 12.74

    -

    4.35 % From previous period

    -
    -
    -
    +
    +
    +
    -
    -
    -
    -
    -
    -
    Product Sold
    -
    -
    - - - -
    -
    -

    20,781

    -

    7.21 % From previous period

    -
    +
    +
    +
    +
    +
    +
    Total Produk
    +
    +
    + + +
    +

    {{ $totalProduk }}

    - - - - - +
    +
    +
    +
    +
    +
    +
    +
    Avg. Harga Produk
    +
    +
    + + + +
    +
    +

    Rp. {{ number_format($rataRata) }}

    - +
    +
    +
    +
    +
    +
    +
    +
    +
    Total User
    +
    +
    + + + +
    +
    +

    1

    -
    -
    -
    -
    -

    Latest Transaction

    +
    +
    +
    -
    - - - - - - - - - - - - - - - - - - - - - - + - - - - +
    +
    +
    +
    +

    Transaksi Terakhir

    -
    -
    -
    - - -
    -
    ID & NameDatePriceQuantityAmountStatusAction
    -
    - - -
    -
    - user - -

    #AP1234

    -
    David Wiley
    -
    02 Nov, 2019Rp. 1,2341 - Rp. 1,234 - - Confirm - - - -
    -
    -
    -
    +
    + + + + + + + + + + + + @foreach($transaksiTerakhir as $tt) + + + + + + + + @endforeach + +
    #ID TransaksiWaktu TransaksiTotal ProdukNominal Transaksi
    {{ $loop -> iteration }}{{ substr($tt -> no_faktur, 0, 5) }}{{ $tt -> getCreatedAt($tt -> no_faktur) }}{{ $tt -> hitungTotalQt($tt -> no_faktur) }}{{ $loop -> iteration }}
    -
    \ No newline at end of file +
    +
    +
    +
    \ No newline at end of file diff --git a/resources/views/main/infoAplikasi.blade.php b/resources/views/main/infoAplikasi.blade.php index 4ee7be9..7896e71 100644 --- a/resources/views/main/infoAplikasi.blade.php +++ b/resources/views/main/infoAplikasi.blade.php @@ -1,7 +1,25 @@
    -
    -
    -

    Pengembang Aplikasi

    +
    +
    +

    Pengembang Aplikasi

    +
    + 200x200 +

    + Nama Pengembang
    + Aditia Darma Nst
    + Alamat
    + Medan, Sumatera Utara
    + Email
    + alditha.forum@gmail.com +

    +
    +

    + Jika dirasa aplikasinya bermanfaat mungkin kiranya bisa mengapresiasi pengembang aplikasi ini dengan berdonasi + di https://saweria.co/haxorsprogramming, berapapun donasi yang diberikan akan sangat membantu kami dalam pengembangan + aplikasi" selanjutnya, terima kasih ,,, +

    +
    +
    \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index fee8064..d9e04a9 100644 --- a/routes/web.php +++ b/routes/web.php @@ -10,6 +10,7 @@ Route::get('/', [C_Auth::class, 'loginPage']); Route::post('/auth/login/proses', [C_Auth::class, 'loginProses']); +Route::get('/auth/logout', [C_Auth::class, 'logout']); Route::get('/dashboard',[C_Dashboard::class, 'dashboard']); Route::get('/dashboard/beranda', [C_Dashboard::class, 'berandaPage']);