Merge remote-tracking branch 'origin/staging' into origin/production

This commit is contained in:
Linksehat Staging Server
2024-02-17 10:40:12 +07:00
parent 40ad1ecc82
commit b8f6532cfb
4 changed files with 33 additions and 22 deletions

View File

@@ -51,6 +51,12 @@ return [
*/
'channels' => [
'dump_database_seeder' => [
'driver' => 'single',
'path' => storage_path('logs/database_seeder.log'),
'level' => 'debug',
],
'stack' => [
'driver' => 'stack',
'channels' => ['single'],

View File

@@ -5,6 +5,8 @@ namespace Database\Seeders;
use App\Models\Member;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Log;
class LinkDokument extends Seeder
{
@@ -153,7 +155,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1Qf_2OTqwD-KBlU-C2og4dIC2jxRcNW9w&usp=drive_copy"
],
[
"AMALIA SETYASTUTI 0000008710-OB",
"AMALIA SETYASTUTI 0000008710-0B",
"https://drive.google.com/open?id=1sx_yCqrpZn8PXZodlqTXcTG2Cf1U0nHK&usp=drive_copy"
],
[
@@ -177,7 +179,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1zawFd3Wtq72aQwOrXP-uhyvjTn8XxFPo&usp=drive_copy"
],
[
"ANDARU BRAHMONO ADI 081034937",
"ANDARU BRAHMONO ADI 0081034937",
"https://drive.google.com/open?id=1Gmq7xtRI0jgyemp5hMfJ4Mw03zM4Nu9V&usp=drive_copy"
],
[
@@ -193,7 +195,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1pj3Nvh1JN1YpE54EgS1sRg4Ra8ABMkMu&usp=drive_copy"
],
[
"ANDI ENRIYANI 0000006689-OB",
"ANDI ENRIYANI 0000006689-0B",
"https://drive.google.com/open?id=1EHAgvchuA2wfCrcgHnUet02xosQubZOW&usp=drive_copy"
],
[
@@ -445,7 +447,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1T5utNJ_686dYGSWnpN3Zw-Hf2iBm7vQA&usp=drive_copy"
],
[
"ENDRAWATI SALEH 000008181",
"ENDRAWATI SALEH 0000008181",
"https://drive.google.com/open?id=1iVtBQWq9BeMFjYvS8dQFCv_WSLpwT9Hj&usp=drive_copy"
],
[
@@ -469,7 +471,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1r2ZPt1o4oYIFss8AzK_HMKS7EGMd19jm&usp=drive_copy"
],
[
"FAHRY MUHAMMAD P.",
"FAHRY MUHAMMAD P. 0000006859-07",
"https://drive.google.com/open?id=1IAqfVVRQwXkZ_pRWhbgOkVd2FMRGakzi&usp=drive_copy"
],
[
@@ -505,7 +507,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1-WZtyhv8MSJ9wdNzBScNfl7jbdqWzrvO&usp=drive_copy"
],
[
"FIRDAUS YPS-552-OA",
"FIRDAUS YPS-552-0A",
"https://drive.google.com/open?id=174Kivy5T1x9LYh93DtuaBvoBmoZVWHWt&usp=drive_copy"
],
[
@@ -601,7 +603,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1sg2YyPt_s5-RkD0uou0dhDuBDEMZYZGy&usp=drive_copy"
],
[
"HASBULLAH 000008930",
"HASBULLAH 0000008930",
"https://drive.google.com/open?id=1x0Jt7Mu2mPi_F4mITmzwf1f6E0M6-nLA&usp=drive_copy"
],
[
@@ -661,7 +663,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1jS01S5hAf4o_bOwF4n33JepzgxeoMxJL&usp=drive_copy"
],
[
"INA KARTINI",
"INA KARTINI 0000008868-0B",
"https://drive.google.com/open?id=1uKrFuWkG-ksAimD9UbjT_263GHqJwTG_&usp=drive_copy"
],
[
@@ -677,7 +679,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1-blxaGx5wW7o648z0wUMZQB9bDJNvEvj&usp=drive_copy"
],
[
"Indrawati 00000011509",
"Indrawati 0000011509",
"https://drive.google.com/open?id=1KBOOkIPupS3f_KDR6vIaYXfk7klo_cS5&usp=drive_copy"
],
[
@@ -825,7 +827,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1ydkRHgLjblk9SMbaUkKV297BHWRfp6jt&usp=drive_copy"
],
[
"MARIANI",
"MARIANI 0000010862-0B",
"https://drive.google.com/open?id=1Fa25aI-DkOatFsUK1hLMbNJDfJijUT2r&usp=drive_copy"
],
[
@@ -865,7 +867,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1cr6sO7o5O3uc-t1Ui1AddOHGtzxkhP6f&usp=drive_copy"
],
[
"MEILIN ATIKA 0081045835-OB",
"MEILIN ATIKA 0081045835-0B",
"https://drive.google.com/open?id=1FCB1CUOTkF55UcHkvb-25cypGNjAfxxg&usp=drive_copy"
],
[
@@ -881,7 +883,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=13xI9zG9Uam9RqWf175WlN7ECEswFoHFP&usp=drive_copy"
],
[
"MM.EMY YUNITA 0000008688-OB",
"MM.EMY YUNITA 0000008688-0B",
"https://drive.google.com/open?id=1TLXQbIGiCD2PuU4_u4Gx63hFrP6hYWOg&usp=drive_copy"
],
[
@@ -901,7 +903,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1M9-yl2Z8ffDQqqPuUBNgp4crrHKOGnRe&usp=drive_copy"
],
[
"MUH FARHAN 000007673-03",
"MUH FARHAN 0000007673-03",
"https://drive.google.com/open?id=1EApwqKI2e9bPU18SvphSgoqsOJrpyC9Q&usp=drive_copy"
],
[
@@ -909,7 +911,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1U-V6h40_ryGJIQU-Ao3y7CfLO8KzEPbH&usp=drive_copy"
],
[
"MUH. CHALIL FIQRI RAMADHAN 0000010357 - 01",
"MUH. CHALIL FIQRI RAMADHAN 0000010357-01",
"https://drive.google.com/open?id=1ZoNsfzFMP0tA_dCaAf2NE8lUJ1LYHwy7&usp=drive_copy"
],
[
@@ -1097,7 +1099,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1sF1zboKoTRtVeHDjbAYjZn0V5cRHcYX8&usp=drive_copy"
],
[
"NURJASNAWATI",
"NURJASNAWATI 0000006382",
"https://drive.google.com/open?id=1Q89gZZ92mjXFrPqji1YJtJXn0wWDLpHZ&usp=drive_copy"
],
[
@@ -1265,7 +1267,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1blcicnrpIkVw5kalnPvveh5R2fdfwMaN&usp=drive_copy"
],
[
"ROY SIMON 00000011282",
"ROY SIMON 0000011282",
"https://drive.google.com/open?id=1Sx5JF8fuMCDhLimiQTWUsX6u_XuI26nw&usp=drive_copy"
],
[
@@ -1289,7 +1291,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1Qs_8vFc02lMRvifI8MyS2Zvz4TRa4Arc&usp=drive_copy"
],
[
"SALMA ATIKAH I 000005983-02",
"SALMA ATIKAH I 0000005983-02",
"https://drive.google.com/open?id=10jSCldY6NGmnJkvHz4Gcy-45XO4I0bKk&usp=drive_copy"
],
[
@@ -1313,7 +1315,7 @@ class LinkDokument extends Seeder
"https://drive.google.com/open?id=1c2-0aGXlaJrjDRDF9S9GsVW2RDWA9Xu2&usp=drive_copy"
],
[
"SEMUEL LANTUN MARUNTUNG 000011376",
"SEMUEL LANTUN MARUNTUNG 0000011376",
"https://drive.google.com/open?id=12PuZmOwuMEyNqrmtVwg3gg2l7aIdCr4c&usp=drive_copy"
],
[
@@ -1560,9 +1562,9 @@ class LinkDokument extends Seeder
"ZUL'IVAN ABDILLAH ZEIN 0000008482-02",
"https://drive.google.com/open?id=1P8tInjvTrq5AJ-m7l7bpFcipb7iYTgPJ&usp=drive_copy"
]
];
$result = [];
foreach($dataMember as $value){
$members = explode(" ",$value[0]);
@@ -1574,8 +1576,10 @@ class LinkDokument extends Seeder
$member->save();
} else {
array_push($result, $value);
$this->command->error($value[0]);
Log::channel('dump_database_seeder')->error('Member atas nama ' . $value[0] . ' gagal!');
}
}
dd($result);
Log::channel('dump_database_seeder')->error('Seeder End ' . now());
}
}

View File

@@ -359,7 +359,7 @@ export default function List() {
<TableCell align="left">{row.code}</TableCell>
<TableCell align="left">{row.provider}</TableCell>
<TableCell align="left">{row.member_name}</TableCell>
<TableCell align="left"><Label>{fDateTimesecond(row.submission_date)}</Label></TableCell>
<TableCell align="left"><Label>{fDateTimesecond(row.admission_date)}</Label></TableCell>
<TableCell align="left">{row.service_name}</TableCell>
<TableCell align="left">{row.payment_type_name}</TableCell>
<TableCell align="left">

View File

@@ -17,6 +17,7 @@ export type FinalLogType = {
member_name : string,
submission_date_fgl : string,
submission_date : string,
admission_date : string,
created_at : string,
service_name : string,
payment_type_name : string,