CaiWuXiTong/resources/views/business/pdf/supplier-cooperation-contract.blade.php

31 lines
2.1 KiB
PHP
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<style>
@font-face { font-family: contract-fallback; font-style: normal; font-weight: 400; src: url("file://{{ $fontPath }}") format("truetype"); }
@font-face { font-family: contract-fallback; font-style: normal; font-weight: 700; src: url("file://{{ $fontPath }}") format("truetype"); }
@page { margin: 20mm 17mm; }
body { font-family: contract-fallback, sans-serif; color: #171717; font-size: 12px; line-height: 1.65; }
.latin { font-family: "DejaVu Sans", sans-serif; }
.supplier-contract-heading { font-size: 15px; margin: 16px 0 8px; page-break-after: avoid; }
.supplier-contract-paragraph { margin: 0 0 7px; overflow-wrap: anywhere; }
.supplier-contract-signature { margin-top: 18px; min-height: 40px; page-break-inside: avoid; }
.supplier-contract-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 10px 0; page-break-inside: avoid; }
.supplier-contract-table td { border: 1px solid #999; padding: 6px; vertical-align: top; }
.supplier-contract-table p { margin-bottom: 4px; }
.supplier-contract-image { text-align: center; margin: 12px 0; page-break-inside: avoid; }
.supplier-contract-image img { max-width: 100%; max-height: 430px; }
.supplier-contract-signatures { width: 100%; table-layout: fixed; page-break-inside: avoid; margin: 18px 0; }
.supplier-contract-signatures td { width: 50%; vertical-align: top; padding: 8px; }
.supplier-contract-signatures p { margin: 0 0 8px; }
.supplier-contract-seal-space { height: 85px; }
.meta { color: #595959; font-size: 9px; text-align: right; margin-bottom: 14px; }
</style>
</head>
<body>
<div class="meta">业务单号:{{ $signature->business_no }} 模板:{{ $signature->template_code }} 版本:{{ $signature->template_version }}</div>
@include('business.partials.supplier-cooperation-contract', ['templateKey' => $payload['supplier_contract_template'], 'mode' => 'pdf'])
</body>
</html>