File: /var/www/ipsremont-demo/storage/framework/views/f7afeceb411a388ec0970ff079737e5479e67e1f.php
<?php
/** @var \App\Models\ActTc $model */
?>
<html>
<head>
<meta charset="utf-8">
<meta name="language" content="ru">
<title><?php echo e($model->getPdfNumber()); ?></title>
<style>
@page {
margin: 30pt 15pt;
}
html {
margin: 30pt 15pt;
}
body {
font-family: 'Open Sans', sans-serif;
font-size: 10pt;
margin: 0;
padding: 0;
}
.pull-left {
float: left;
}
.pull-right {
text-align: right;
float: right;
}
.d-inline {
display: inline-block;
}
.clearfix {
clear: both;
}
h1, .h1 {
font-size: 13pt;
font-weight: bold;
}
label {
font-weight: bold;
margin-right: 15pt;
}
table {
border: none;
border-spacing: 0;
width: 100%;
}
td {
padding: 2pt 6pt 6pt;
border: 1pt solid black;
}
.no-border {
border: none;
}
.border {
border: 1pt solid black;
}
.border-r {
border: none;
border-right: 1pt solid black;
}
.border-l {
border: none;
border-left: 1pt solid black;
}
.border-y {
border: none;
border-left: 1pt solid black;
border-right: 1pt solid black;
}
.t-center {
text-align: center;
}
.t-center label {
margin-right: 0;
}
.t-center div {
margin-top: 4pt;
}
.extra-small {
font-size: 8pt;
}
.stump {
position: absolute;
top: -20pt;
right: 180pt;
height: 120pt;
}
</style>
</head>
<body>
<img class="stump" src="<?php echo e(storage_path('img/stamp' . (mt_rand() >= 0.5 ? '2' : '' ) . '.png')); ?>">
<table>
<tbody>
<tr>
<td class="no-border" colspan="4">
<img class="pull-left" style="height: 55pt" src="<?php echo e(storage_path('img/acttc_logo.png')); ?>">
<div class="pull-left h1" style="margin-top: 35pt; margin-left: 20pt">
<?php echo app('translator')->get('acttcpdf.act_of_technical_condition'); ?>
</div>
<div class="pull-right h1" style="margin-top: 35pt;">
<?php echo e($model->getPdfNumber()); ?>
</div>
<div class="clearfix"></div>
</td>
</tr>
<tr>
<td colspan="4"><label><?php echo app('translator')->get('acttcpdf.service_center_name_city'); ?></label> <?php echo e($model->service->getName()); ?></td>
</tr>
<tr>
<td colspan="4"><label><?php echo app('translator')->get('acttcpdf.owner_full_name'); ?></label> <?php echo e($model->repair->getName()); ?></td>
</tr>
<tr>
<td colspan="2" class="t-center" style="width: 50%"><label><?php echo app('translator')->get('acttcpdf.address'); ?></label>
<div><?php echo $model->repair->getAddress() ?? ' '; ?></div>
</td>
<td class="t-center" style="width: 25%"><label><?php echo app('translator')->get('acttcpdf.phone'); ?></label>
<div><?php echo $model->repair->getPhone() ?? ' '; ?></div>
</td>
<td class="t-center" style="width: 25%"><label><?php echo app('translator')->get('acttcpdf.email'); ?></label>
<div><?php echo $model->repair->getEmail() ?? ' '; ?></div>
</td>
</tr>
<tr>
<td colspan="2"><label><?php echo app('translator')->get('acttcpdf.device_name'); ?></label> <?php echo e(empty($model->repair->device) ? $model->repair->device_sku . ', ' . $model->repair->device_name : $model->repair->device->getSerialName()); ?>
<td colspan="2"><label><?php echo app('translator')->get('acttcpdf.serial_number'); ?></label> <?php echo e($model->getSerialNumber()); ?></td>
</tr>
<tr>
<td colspan="4"><label><?php echo app('translator')->get('acttcpdf.trading_organization_address_and_phone'); ?></label> <?php echo e($model->getTradingOrganization()); ?></td>
</tr>
<tr>
<td colspan="2"><label style="margin-right: 25pt"><?php echo app('translator')->get('acttcpdf.sold_at'); ?></label><?php echo $model->repair->getPreSale() ? __('repairs.pre_sale') : $model->repair->getSold(); ?>
<td colspan="2"><label style="margin-right: 25pt"><?php echo app('translator')->get('acttcpdf.repair_date'); ?></label><?php echo e($model->repair->getRepairDate()); ?></td>
</tr>
<tr>
<td colspan="4">
<div class="d-inline pull-left" style="margin-right: 15pt"><label><?php echo app('translator')->get('acttcpdf.repair_cause'); ?><br><small><?php echo app('translator')->get('acttcpdf.filled_in_according_to_the_client'); ?></small></label></div>
<div class="d-inline pull-left" style="width: 72%">
<?php echo e($model->repair->getAdditionalInfo()); ?>
</div>
<div class="clearfix"></div>
</td>
</tr>
<tr>
<td colspan="4">
<div class="d-inline pull-left" style="margin-right: 15pt"><label><?php echo app('translator')->get('acttcpdf.fault_detected'); ?><br><small><?php echo app('translator')->get('acttcpdf.filled_in_by_the_master'); ?></small></label></div>
<div class="d-inline pull-left" style="width: 72%">
<?php echo e($model->getFaultDetected()); ?>
</div>
<div class="clearfix"></div>
</td>
</tr>
<tr>
<td colspan="4">
<div class="d-inline pull-left" style="margin-right: 15pt"><label><?php echo app('translator')->get('acttcpdf.the_reason_for_the_impossibility_of_repair'); ?></label></div>
<div class="d-inline pull-left" style="width: 72%">
<?php echo e($model->getReasonForConfirmation()); ?>
</div>
<div class="clearfix"></div>
</td>
</tr>
<tr>
<td colspan="4"><label><?php echo app('translator')->get('acttcpdf.warranty_violations'); ?></label>
<?php if($model->getWarrantyTermsViolated()): ?>
<?php echo app('translator')->get('acttcpdf.yes'); ?> <?php echo e($model->getWarrantyViolations()); ?>
<?php else: ?>
<?php echo app('translator')->get('acttcpdf.no'); ?>
<?php endif; ?>
</td>
</tr>
<tr>
<td class="t-center" style="width: 40%">
<label><?php echo app('translator')->get('acttcpdf.master'); ?></label>
<div style="margin-top: 50pt;"><span class="extra-small" style="margin-right: 70pt;"><?php echo app('translator')->get('acttcpdf.name'); ?></span> <span class="extra-small"><?php echo app('translator')->get('acttcpdf.signature'); ?></span></div>
</td>
<td class="t-center" colspan="3">
<label><?php echo app('translator')->get('acttcpdf.service_manager_signature_and_seal'); ?></label>
<div style="margin-top: 50pt;"><span class="extra-small" style="margin-right: 120pt;"><?php echo app('translator')->get('acttcpdf.date'); ?></span> <span class="extra-small"><?php echo app('translator')->get('acttcpdf.signature'); ?></span></div>
</td>
</tr>
<tr>
<td colspan="4"><label><?php echo app('translator')->get('acttcpdf.act_status'); ?></label>
<?php echo e($model->getAdditionalInfo()); ?>
<?php echo e($model->status()->getName()); ?>
</td>
</tr>
<tr>
<td colspan="4"><label><?php echo e('agreed_product_remains' === $model->status()->slug ? 'Изделие остаётся в сервисном центре по требованию производителя' : __('acttcpdf.product_issued_date_customer_signature')); ?></label>
</td>
</tr>
</tbody>
</table>
</body>
</html>
<?php /**PATH /var/www/ipsremont-demo/resources/views/acttc/pdf.blade.php ENDPATH**/ ?>