fix render data and show count rab krk and dlh
This commit is contained in:
@@ -276,7 +276,8 @@ class ServiceGoogleSheet
|
||||
|
||||
BigdataResume::create([
|
||||
'import_datasource_id' => $import_datasource->id,
|
||||
'year' => 'leader',
|
||||
'year' => now()->year(),
|
||||
'resume_type' => 'leader',
|
||||
// USAHA
|
||||
'business_count' => $this->convertToInteger($result['USAHA']['total'] ?? null) ?? 0,
|
||||
'business_sum' => $this->convertToDecimal($result['USAHA']['nominal'] ?? null) ?? 0,
|
||||
@@ -303,7 +304,12 @@ class ServiceGoogleSheet
|
||||
'process_in_technical_office_sum' => $this->convertToDecimal($result['PROSES_DINAS_TEKNIS']['nominal'] ?? null) ?? 0,
|
||||
// TATA RUANG
|
||||
'spatial_count' => $this->getSpatialPlanningWithCalculationCount(),
|
||||
'spatial_sum' => $this->getSpatialPlanningCalculationSum()
|
||||
'spatial_sum' => $this->getSpatialPlanningCalculationSum(),
|
||||
'business_rab_count' => 0,
|
||||
'business_krk_count' => 0,
|
||||
'non_business_rab_count' => 0,
|
||||
'non_business_krk_count' => 0,
|
||||
'non_business_dlh_count' => 0,
|
||||
]);
|
||||
|
||||
// Save data settings
|
||||
|
||||
Reference in New Issue
Block a user