add city_fa name

This commit is contained in:
2025-08-30 15:06:16 +03:30
parent 5ecb875a7c
commit 3d4b5d4839

View File

@@ -47,8 +47,8 @@ class ProvinceReport implements FromView, ShouldAutoSize, WithEvents, WithDrawin
if ($existingCity) { if ($existingCity) {
$activities[] = [ $activities[] = [
'city_id' => -1, 'city_id' => $city->id,
'city_fa' => 'کل استان', 'city_fa' => $city->name_fa,
'tedade' => $reportData['data'][$existingCity]->tedade, 'tedade' => $reportData['data'][$existingCity]->tedade,
'police_rah' => $reportData['data'][$existingCity]->police_rah, 'police_rah' => $reportData['data'][$existingCity]->police_rah,
'gozaresh_gasht' => $reportData['data'][$existingCity]->gozaresh_gasht, 'gozaresh_gasht' => $reportData['data'][$existingCity]->gozaresh_gasht,
@@ -63,7 +63,7 @@ class ProvinceReport implements FromView, ShouldAutoSize, WithEvents, WithDrawin
]; ];
} else { } else {
$activities[] = [ $activities[] = [
'name' => $city->name_fa, 'city_fa' => $city->name_fa,
'tedade' => "", 'tedade' => "",
'police_rah' => "", 'police_rah' => "",
'gozaresh_gasht' => "", 'gozaresh_gasht' => "",