This commit is contained in:
iIronside 2022-11-07 17:52:12 +03:00
parent 8fb231b0e0
commit 16df34d391
2 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@ class UserCardController extends Controller
$pdf = new Pdf(); // or new Pdf();
$mpdf = $pdf->api; // fetches mpdf api
$mpdf->SetHeader('Resume ' . $model->fio . '||Generated At: ' . date("d/m/Y")); // call methods or set any properties
$mpdf->SetHeader('Resume ' . $model->fio . '||Generated by ITGuild.info At: ' . date("d/m/Y")); // call methods or set any properties
$mpdf->SetFooter('{PAGENO}');
$mpdf->WriteHtml($model->resume_text); // call mpdf write html
echo $mpdf->Output("Resume - {$model->fio}", 'D'); // call the mpdf api output as needed

View File

@ -107,7 +107,7 @@ use yii\widgets\ActiveForm;
</tr>
<tr class="info">
<td>Лет опыта</td>
<td class="table-cell">${years_of_exp}/td>
<td class="table-cell">${years_of_exp}</td>
</tr>
<tr class="info">
<td>Спецификация</td>