Skip to content

Commit

Permalink
code qiality
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Aug 26, 2023
1 parent ca23bb8 commit 018ae45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/Http/Controllers/ReportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,13 @@ private function generateMadeControlTable(TemplateProcessor $templateProcessor,
$table->addCell(2000, ['bgColor' => '#FFD5CA'])
->addText('#', ['bold' => true ], ['align' => 'center']);
$table->addCell(12000, ['bgColor' => '#FFD5CA'])
->addText(trans("cruds.control.fields.name"), ['bold' => true]);
->addText(trans('cruds.control.fields.name'), ['bold' => true]);
$table->addCell(3300, ['bgColor' => '#FFD5CA'])
->addText(trans("cruds.control.fields.realisation_date"), ['bold' => true], ['align' => 'center']);
->addText(trans('cruds.control.fields.realisation_date'), ['bold' => true], ['align' => 'center']);
$table->addCell(3000, ['bgColor' => '#FFD5CA'])
->addText(trans("cruds.control.fields.scope"), ['bold' => true], ['align' => 'center']);
->addText(trans('cruds.control.fields.scope'), ['bold' => true], ['align' => 'center']);
$table->addCell(2000, ['bgColor' => '#FFD5CA'])
->addText(trans("cruds.control.fields.score"), ['bold' => true], ['align' => 'center']);
->addText(trans('cruds.control.fields.score'), ['bold' => true], ['align' => 'center']);

foreach ($controls as $control) {
$table->addRow();
Expand Down

0 comments on commit 018ae45

Please sign in to comment.