Skip to content

Commit 248d60c

Browse files
committed
fix: update HD calculation in ImportRekapPresensi action and bump version to 2.11.5
1 parent 9ccb1be commit 248d60c

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

app/Nova/Actions/ImportRekapPresensi.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
namespace App\Nova\Actions;
44

5-
use App\Helpers\Helper;
65
use App\Models\DaftarPenilaianReward;
76
use App\Models\User;
87
use Illuminate\Bus\Queueable;
98
use Illuminate\Queue\InteractsWithQueue;
109
use Illuminate\Support\Collection;
11-
use Illuminate\Support\Facades\Storage;
1210
use Laravel\Nova\Actions\Action;
1311
use Laravel\Nova\Fields\ActionFields;
1412
use Laravel\Nova\Fields\File;
@@ -39,7 +37,7 @@ public function handle(ActionFields $fields, Collection $models)
3937
]
4038
);
4139
$daftar->hk = $row['HK'];
42-
$daftar->hd = $row['HD'];
40+
$daftar->hd = (int) $row['HD'] + (int) $row['TL'] + (int) $row['PD'] + (int) $row['DK'] + (int) $row['KN'];
4341
$daftar->cst = (int) $row['CST1'] + (int) $row['CST2'];
4442
$daftar->tb = $row['TB'];
4543
$daftar->tk = $row['TK'];

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,5 @@
102102
},
103103
"minimum-stability": "dev",
104104
"prefer-stable": true,
105-
"version": "2.11.4"
105+
"version": "2.11.5"
106106
}
Binary file not shown.

0 commit comments

Comments
 (0)