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
2 changes: 1 addition & 1 deletion app/Helpers/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Helper
'Pembinaan Statistik Sektoral' => 'Pembinaan Statistik Sektoral',
'Pelayanan Produk Statistik' => 'Pelayanan Produk Statistik',
'Lainnya' => 'Lainnya',

];

public static $jenis_angkutan = [
Expand Down
1 change: 0 additions & 1 deletion app/Models/AnalisisSakip.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ protected static function booted(): void
$analisis->tahun = session('year');
});
}

}
5 changes: 3 additions & 2 deletions app/Models/HonorKegiatan.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,9 @@ protected static function booted(): void
$honor->status = 'dibuat';
});
static::updating(function (HonorKegiatan $honor) {
if ($honor->isDirty())
$honor->status = $honor->status === 'dibuat' ? 'diubah' : 'outdated';
if ($honor->isDirty()) {
$honor->status = $honor->status === 'dibuat' ? 'diubah' : 'outdated';
}
});
}
}
4 changes: 1 addition & 3 deletions app/Nova/AnalisisSakip.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Fields\Textarea;
use Laravel\Nova\Http\Requests\NovaRequest;
use Laravel\Nova\Panel;
use Laravelwebdev\Filepond\Filepond;
use Laravelwebdev\Repeatable\Repeatable;

class AnalisisSakip extends Resource
{
Expand Down Expand Up @@ -90,7 +88,7 @@ public function fields(NovaRequest $request)
->columns(3)
->multiple()
->path(session('year').'/'.static::uriKey())
->prunable(),
->prunable(),
];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function up(): void
}

/**
* Reverse the migrations.kategori
* Reverse the migrations.kategori.
*/
public function down(): void
{
Expand Down