diff --git a/app/Http/Controllers/AdminSettings/BalanceSheetsController.php b/app/Http/Controllers/AdminSettings/BalanceSheetsController.php
new file mode 100644
index 0000000..8eb6877
--- /dev/null
+++ b/app/Http/Controllers/AdminSettings/BalanceSheetsController.php
@@ -0,0 +1,43 @@
+toDateString();
+ // }
+
+ // return $date_string;
+ // };
+
+ // $request->hostname = config('api.url');
+
+ // $data = Http::get($request->hostname . '/api/reports/ansuran', [
+ // 'startDate' => $getReportDate($request->startDate),
+ // 'endDate' => $getReportDate($request->endDate),
+ // ])->json();
+
+ // $summary_ansuran_by_cawangan = $data['summary_ansuran_by_cawangan'];
+ // $summary_ansuran = $data['summary_ansuran'];
+
+ // $startDate = $getReportDate($request->startDate);
+ // $endDate = $getReportDate($request->endDate);
+
+ // return view('reports.ansuran.index', compact('summary_ansuran_by_cawangan', 'summary_ansuran', 'startDate', 'endDate'));
+ }
+}
diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php
index 65dfbe3..0938740 100644
--- a/app/Http/Controllers/HomeController.php
+++ b/app/Http/Controllers/HomeController.php
@@ -65,6 +65,17 @@ class HomeController extends Controller
return view('indexOverallReport');
}
+ public function indexTetapanAdmin()
+ {
+ $auth_user = Auth::user();
+ $api_url = config('api.url');
+
+ $harini = Carbon::now();
+ $harini = new Carbon;
+
+ return view('indexTetapanAdmin');
+ }
+
public function indexakaun()
{
$auth_user = Auth::user();
diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php
index e2ceefb..46a6e60 100644
--- a/app/Providers/RouteServiceProvider.php
+++ b/app/Providers/RouteServiceProvider.php
@@ -48,6 +48,11 @@ class RouteServiceProvider extends ServiceProvider
->prefix('reports')
->group(base_path('routes/reports.php'));
+ Route::middleware('web')
+ ->namespace($this->namespace)
+ ->prefix('adminsettings')
+ ->group(base_path('routes/admin_settings.php'));
+
Route::middleware('web')
->namespace($this->namespace)
->group(base_path('routes/web.php'));
diff --git a/resources/js/Akaun/AkruBulanPecahan.vue b/resources/js/Akaun/AkruBulanPecahan.vue
new file mode 100644
index 0000000..e2ed112
--- /dev/null
+++ b/resources/js/Akaun/AkruBulanPecahan.vue
@@ -0,0 +1,101 @@
+
+
| LAPORAN AKRU BULANAN PECAHAN | ++ | + | + | ++ | ||||
|---|---|---|---|---|---|---|---|---|
| TAHUN JANAAN:{{ $year }} + | ++ | + | + | + | + | + | ||
| CAWANGAN | +JANUARI | +FEBRUARI | +MAC | +APRIL | +MEI | +JUN | +JULAI | +OGOS | +SEPTEMBER | +OKTOBER | +NOVEMBER | +DISEMBER | +JUMLAH | +
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index }} | + @php + $totalcawangan = 0; + @endphp + @foreach($akru['onepercent'] as $index2=>$ak) + @if(isset( $akru['onepercent'] )) + @php + $totalcawangan += $ak; + ($index2 == 0) ? $totaljan += $ak : $totaljan += 0; + ($index2 == 1) ? $totalfeb += $ak : $totalfeb += 0; + ($index2 == 2) ? $totalmac += $ak : $totalmac += 0; + ($index2 == 3) ? $totalapr += $ak : $totalapr += 0; + ($index2 == 4) ? $totalmei += $ak : $totalmei += 0; + ($index2 == 5) ? $totaljun += $ak : $totaljun += 0; + ($index2 == 6) ? $totaljul += $ak : $totaljul += 0; + ($index2 == 7) ? $totalogo += $ak : $totalogo += 0; + ($index2 == 8) ? $totalsep += $ak : $totalsep += 0; + ($index2 == 9) ? $totalokt += $ak : $totalokt += 0; + ($index2 == 10) ? $totalnov += $ak : $totalnov += 0; + ($index2 == 11) ? $totaldis += $ak : $totaldis += 0; + + @endphp +{{ number_format($ak,2) }} | + @else +0.00 | + @endif + @endforeach +{{ number_format($totalcawangan,2) }} | +JUMLAH | +{{ number_format($totaljan,2) }} | +{{ number_format($totalfeb,2) }} | +{{ number_format($totalmac,2) }} | +{{ number_format($totalapr,2) }} | +{{ number_format($totalmei,2) }} | +{{ number_format($totaljun,2) }} | +{{ number_format($totaljul,2) }} | +{{ number_format($totalogo,2) }} | +{{ number_format($totalsep,2) }} | +{{ number_format($totalokt,2) }} | +{{ number_format($totalnov,2) }} | +{{ number_format($totaldis,2) }} | + @php + $totalonepersen = $totaljan + $totalfeb + $totalmac + $totalapr + $totalmei + $totaljun + $totaljul + $totalogo + $totalsep + $totalokt + $totalnov + $totaldis; + @endphp +{{ number_format($totalonepersen,2) }} | + +
| CAWANGAN | +JANUARI | +FEBRUARI | +MAC | +APRIL | +MEI | +JUN | +JULAI | +OGOS | +SEPTEMBER | +OKTOBER | +NOVEMBER | +DISEMBER | +JUMLAH | +
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index }} | + @php + $totalcawangan = 0; + @endphp + @foreach($akru['ujrah'] as $index2=>$ak) + @if(isset( $akru['ujrah'] )) + @php + $totalcawangan += $ak; + ($index2 == 0) ? $totaljan += $ak : $totaljan += 0; + ($index2 == 1) ? $totalfeb += $ak : $totalfeb += 0; + ($index2 == 2) ? $totalmac += $ak : $totalmac += 0; + ($index2 == 3) ? $totalapr += $ak : $totalapr += 0; + ($index2 == 4) ? $totalmei += $ak : $totalmei += 0; + ($index2 == 5) ? $totaljun += $ak : $totaljun += 0; + ($index2 == 6) ? $totaljul += $ak : $totaljul += 0; + ($index2 == 7) ? $totalogo += $ak : $totalogo += 0; + ($index2 == 8) ? $totalsep += $ak : $totalsep += 0; + ($index2 == 9) ? $totalokt += $ak : $totalokt += 0; + ($index2 == 10) ? $totalnov += $ak : $totalnov += 0; + ($index2 == 11) ? $totaldis += $ak : $totaldis += 0; + + @endphp +{{ number_format($ak,2) }} | + @else +0.00 | + @endif + @endforeach +{{ number_format($totalcawangan,2) }} | +JUMLAH | +{{ number_format($totaljan,2) }} | +{{ number_format($totalfeb,2) }} | +{{ number_format($totalmac,2) }} | +{{ number_format($totalapr,2) }} | +{{ number_format($totalmei,2) }} | +{{ number_format($totaljun,2) }} | +{{ number_format($totaljul,2) }} | +{{ number_format($totalogo,2) }} | +{{ number_format($totalsep,2) }} | +{{ number_format($totalokt,2) }} | +{{ number_format($totalnov,2) }} | +{{ number_format($totaldis,2) }} | + @php + $totalonepersen = $totaljan + $totalfeb + $totalmac + $totalapr + $totalmei + $totaljun + $totaljul + $totalogo + $totalsep + $totalokt + $totalnov + $totaldis; + @endphp +{{ number_format($totalonepersen,2) }} | + +
| + | .................................................................. | ++ | .................................................................. | ++ | ||
| + | DI SEMAK | ++ | DI SAHKAN | ++ | ||
Menu Utama