fix get current year
This commit is contained in:
@@ -263,7 +263,7 @@ class ServiceGoogleSheet
|
||||
$result = [];
|
||||
|
||||
foreach ($sections as $key => $identifier) {
|
||||
$values = $this->get_values_from_section($identifier, [10, 11], 8);
|
||||
$values = $this->get_values_from_section($identifier, [10, 11], 9);
|
||||
|
||||
if (!empty($values)) {
|
||||
$result[$key] = [
|
||||
@@ -276,7 +276,7 @@ class ServiceGoogleSheet
|
||||
|
||||
BigdataResume::create([
|
||||
'import_datasource_id' => $import_datasource->id,
|
||||
'year' => now()->year(),
|
||||
'year' => date('Y'),
|
||||
'resume_type' => 'leader',
|
||||
// USAHA
|
||||
'business_count' => $this->convertToInteger($result['USAHA']['total'] ?? null) ?? 0,
|
||||
@@ -378,7 +378,7 @@ class ServiceGoogleSheet
|
||||
$result = [];
|
||||
|
||||
foreach ($sections as $key => $identifier) {
|
||||
$values = $this->get_values_from_section($identifier, [10, 11], 8);
|
||||
$values = $this->get_values_from_section($identifier, [10, 11], 9);
|
||||
|
||||
if (!empty($values)) {
|
||||
$result[$key] = [
|
||||
|
||||
Reference in New Issue
Block a user