File: /home/salamatk/takarzan.ir/wp-content/plugins/luman-plus/templates/invoice/invoice-post.php
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>برچسب پستی سفارش <?php echo $postal_data['order_id']; ?></title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'yekan', sans-serif;
direction: rtl;
text-align: right;
}
.label-container {
width: 100%;
margin: 0 auto;
padding: 10px;
}
.label-box {
border: 1.5px dashed #222;
border-radius: 8px;
padding: 12px 18px 10px 18px;
margin-bottom: 18px;
min-height: 110px;
}
.label-title {
font-size: 16px;
font-weight: bold;
margin-bottom: 8px;
text-align: right;
}
.label-row {
font-size: 13px;
margin-bottom: 4px;
display: flex;
flex-wrap: wrap;
}
.label-row .label-key {
font-weight: bold;
margin-left: 4px;
}
.label-row .label-value {
direction: ltr;
font-family: tahoma, monospace;
}
.label-double {
display: flex;
gap: 18px;
}
.label-box .label-row:last-child {
margin-bottom: 0;
}
</style>
</head>
<body>
<div class="label-container">
<div class="label-double">
<!-- فرستنده -->
<div class="label-box" style="width: 100%;">
<div class="label-title">فرستنده</div>
<div class="label-row">
<span class="label-key">عنوان:</span><span class="label-value"><?php echo esc_html($postal_data['seller_name']); ?></span>
<span class="label-key">آدرس:</span><span class="label-value"><?php echo esc_html($postal_data['seller_address']); ?></span>
</div>
<div class="label-row">
<span class="label-key">کدپستی:</span><span class="label-value"><?php echo esc_html($postal_data['seller_postcode']); ?></span>
<span class="label-key">شماره ثبت/ملی:</span><span class="label-value"><?php echo esc_html($postal_data['seller_registration_number']); ?></span>
<span class="label-key">تلفن:</span><span class="label-value"><?php echo esc_html($postal_data['seller_phone']); ?></span>
</div>
<div class="label-row">
<span class="label-key">ایمیل:</span><span class="label-value"><?php echo esc_html($postal_data['seller_email']); ?></span>
<span class="label-key">وب سایت:</span><span class="label-value"><?php echo esc_html($postal_data['seller_website']); ?></span>
</div>
<div class="label-row">
<span class="label-key">شناسه سفارش:</span><span class="label-value"><?php echo esc_html($postal_data['order_id']); ?></span>
<span class="label-key">تاریخ:</span><span class="label-value"><?php echo esc_html($postal_data['print_date']); ?></span>
</div>
</div>
<!-- گیرنده -->
<div class="label-box" style="width: 100%;">
<div class="label-title">گیرنده</div>
<div class="label-row">
<span class="label-key">گیرنده:</span><span class="label-value"><?php echo esc_html($postal_data['recipient_address']); ?></span>
</div>
<div class="label-row">
<span class="label-key">نام کامل:</span><span class="label-value"><?php echo esc_html($postal_data['recipient_name']); ?></span>
<span class="label-key">کدپستی:</span><span class="label-value"><?php echo esc_html($postal_data['recipient_postcode']); ?></span>
<span class="label-key">تلفن:</span><span class="label-value"><?php echo esc_html($postal_data['recipient_phone']); ?></span>
</div><span class="label-key">ایمیل:</span><span class="label-value"><?php echo esc_html($postal_data['recipient_email']); ?></span>
<div class="label-row"><span class="label-key">تاریخ سفارش:</span><span class="label-value"><?php echo esc_html($postal_data['order_date']); ?></span></div>
</div>
</div>
</div>
</body>
</html>