You are on page 1of 7

<?xml version="1.0"?><!DOCTYPE pdf PUBLIC "-//big.faceless.

org//report" "report-
1.1.dtd">
<pdf>
<head>
<link name="NotoSansArabic" type="font" subtype="opentype" src="$
{nsfont.NotoSansArabic_Regular}" src-bold="${nsfont.NotoSansArabic_Bold}" bytes="2"
subset="false" />
<link name="NotoSans" type="font" subtype="truetype" src="$
{nsfont.NotoSans_Regular}" src-bold="${nsfont.NotoSans_Bold}" src-italic="$
{nsfont.NotoSans_Italic}" src-bolditalic="${nsfont.NotoSans_BoldItalic}"
bytes="2" />
<#if .locale == "zh_CN">
<link name="NotoSansCJKsc" type="font" subtype="opentype" src="$
{nsfont.NotoSansCJKsc_Regular}" src-bold="${nsfont.NotoSansCJKsc_Bold}"
bytes="2" />
<#elseif .locale == "zh_TW">
<link name="NotoSansCJKtc" type="font" subtype="opentype" src="$
{nsfont.NotoSansCJKtc_Regular}" src-bold="${nsfont.NotoSansCJKtc_Bold}"
bytes="2" />
<#elseif .locale == "ja_JP">
<link name="NotoSansCJKjp" type="font" subtype="opentype" src="$
{nsfont.NotoSansCJKjp_Regular}" src-bold="${nsfont.NotoSansCJKjp_Bold}"
bytes="2" />
<#elseif .locale == "ko_KR">
<link name="NotoSansCJKkr" type="font" subtype="opentype" src="$
{nsfont.NotoSansCJKkr_Regular}" src-bold="${nsfont.NotoSansCJKkr_Bold}"
bytes="2" />
<#elseif .locale == "th_TH">
<link name="NotoSansThai" type="font" subtype="opentype" src="$
{nsfont.NotoSansThai_Regular}" src-bold="${nsfont.NotoSansThai_Bold}" bytes="2" />
</#if>
<macrolist>
<macro id="nlheader">
<table class="header" style="width: 100%;"><tr>
<td style="align: left; vertical-align: middle;"><#if
companyInformation.logoUrl?length != 0><img src="${companyInformation.logoUrl}"
/></#if></td>
<td style="font-size: 20px; vertical-align: middle; align:
center;">PURCHASE ORDER</td>
<td style="font-size: 10px; vertical-align: middle; align: center;">PO
Ref. : ${record.tranid}${record.custbody_az_po_revision}
<#if record.custbody_az_po_revision_1?string !="No" &&
record.custbody_az_po_revision_2?string ="No" && record.custbody_az_po_revision_3?
string ="No">-REV-01</#if>
<#if record.custbody_az_po_revision_2?string !="No" &&
record.custbody_az_po_revision_1?string !="No" && record.custbody_az_po_revision_3?
string ="No">-REV-02</#if>
<#if record.custbody_az_po_revision_3?string !="No" &&
record.custbody_az_po_revision_1?string !="No" && record.custbody_az_po_revision_2?
string !="No">-REV-03</#if>
<br/> Date: ${record.trandate?string('MMMM d, YYYY')}</td>
</tr>
<tr style="border-bottom: 1px; border-color: #c7d1e0;"><td
style="font-size: 10px;margin-top: 10px;">$
{companyInformation.addressText}</td></tr>
</table>
</macro>
<macro id="nlfooter">
<table class="footer" style="width: 100%;"><tr>
<td align="right"><pagenumber/> of <totalpages/></td>
</tr></table>
</macro>
</macrolist>
<style type="text/css">* {
<#if .locale == "zh_CN">
font-family: NotoSans, NotoSansCJKsc, sans-serif;
<#elseif .locale == "zh_TW">
font-family: NotoSans, NotoSansCJKtc, sans-serif;
<#elseif .locale == "ja_JP">
font-family: NotoSans, NotoSansCJKjp, sans-serif;
<#elseif .locale == "ko_KR">
font-family: NotoSans, NotoSansCJKkr, sans-serif;
<#elseif .locale == "th_TH">
font-family: NotoSans, NotoSansThai, sans-serif;
<#else>
font-family: NotoSansArabic, sans-serif;
</#if>
}
table {
font-size: 9pt;
table-layout: fixed;
}
th {
font-weight: bold;
font-size: 8pt;
vertical-align: middle;
padding: 5px 6px 3px;
background-color: #e3e3e3;
color: #333333;
}
td, tr {
border-color: #3b5e91;
}
td p { align:left }
b {
font-weight: bold;
color: #333333;
}
table.header td {
padding: 0;
font-size: 10pt;
}
table.footer td {
padding: 0;
font-size: 8pt;
}
table.itemtable th {
padding-bottom: 10px;
padding-top: 10px;
}
table.body td {
padding-top: 2px;
}
table.total {
page-break-inside: avoid;
}
tr.totalrow {
background-color: #e3e3e3;
line-height: 200%;
}
td.totalboxtop {
font-size: 12pt;
background-color: #e3e3e3;
}
td.addressheader {
font-size: 8pt;
padding-top: 6px;
padding-bottom: 2px;
}
td.address {
padding-top: 0;
}
td.totalboxmid {
font-size: 28pt;
padding-top: 20px;
background-color: #e3e3e3;
}
td.totalboxbot {
background-color: #e3e3e3;
font-weight: bold;
}
span.title {
font-size: 28pt;
}
span.number {
font-size: 16pt;
}
span.itemname {
font-weight: bold;
line-height: 150%;
}
hr {
width: 100%;
color: #d3d3d3;
background-color: #d3d3d3;
height: 1px;
}

</style>
</head>
<body header="nlheader" header-height="12%" footer="nlfooter" footer-height="20pt"
padding="0.3in 0.3in 0.3in 0.3in" size="A4">

<table style="width: 100%; margin-top: 5px;">


<tr><td style="width: 10%;">Vendor</td>
<td style="width: 50%;">: ${record.entity}</td>
<td style="width: 15%;">Project Name</td>
<td>: ${record.custbody_az_project_ref}</td></tr>
<tr><td style="width: 10%;">Attention</td>
<td style="width: 50%;">: ${record.custbody_az_att}</td>
<td style="width: 15%;">Project Location</td>
<td>: ${record.shipcity} - Jordan</td></tr>
<tr><td style="width: 10%;">Phone Number</td>
<td style="width: 50%;">: ${record.custbodyphone}</td>
<td style="width: 15%;">Project Number</td>
<td>: ${record.custbody_az_project_ref.entityid}</td></tr>
<tr><td style="width: 10%;"></td>
<td style="width: 50%;"></td>
<td style="width: 15%;">Delivery Term</td>
<td>: ${record.custbody_az_delivery_term}</td></tr>
<!--<tr><td><b>Memo</b></td>
<td colspan="3">: ${record.memo}</td>
</tr> -->
</table>

<table style="width: 100%; margin-top: 15px;">


<tr style="border: 1px; background-color: #e4eaf4;">
<td style="align: center; border-left: 1px;">SHIPPING METHOD</td>
<td style="align: center; border-left: 1px;">SHIPPING TERMS</td>
<td style="align: center; border-left: 1px; border-right: 1px;">MAXIMUM
DELIVERY DATE</td>
</tr>
<tr style="border-bottom: 1px;">
<td style="align: center; border-left: 1px;">${record.shipmethod}</td>
<td style="align: center; border-left: 1px;">$
{record.custbody_az_delivery_term}</td>
<td style="align: center; border-left: 1px; border-right: 1px;">$
{record.shipdate}</td>
</tr>
</table>

<#if record.item?has_content>

<table style="width: 100%; margin-top: 15px;"><!-- start items --><#list


record.item as item><#if item_index==0>
<thead>
<tr style="border: 1px; background-color: #e4eaf4;">
<td style="align: center; border-left: 1px;">S/No</td>
<td style="align: center; border-left: 1px;">Cost Code</td>
<td style="align: center; border-left: 1px; width: 40%;">Description</td>
<td style="align: center; border-left: 1px;">Unit</td>
<td style="align: center; border-left: 1px;">QTY</td>
<td style="align: center; border-left: 1px;">Unit Price</td>
<td style="align: center; border-left: 1px; border-right: 1px;">Total</td>
</tr></thead>
</#if>
<#if item.itemtype?contains("Discount")><#else>
<tr style="border-bottom: 1px;">
<td style="align: center; border-left: 1px; font-size: 7pt; vertical-align:
middle;">${item_index+1}</td>
<td style="align: center; border-left: 1px; font-size: 7pt; vertical-align:
middle;">
<#if item.itemtype?contains("Group")>${item.custcol_az_cost_code}<#else>
${item.class}</#if></td>

<td style="align: left; border-left: 1px; font-size: 7pt; vertical-align:


middle;">
<#if item.itemtype?contains("Group")>
<b>${item.item}</b><p>${item.description}</p><#else>$
{item.custcol_az_item_name}<p>${item.description}</p></#if>

</td>

<td style="align: center; border-left: 1px; font-size: 7pt; vertical-align:


middle;">${item.units}</td>
<td style="align: center; border-left: 1px; font-size: 7pt; vertical-align:
middle;">${item.quantity}</td>
<td style="align: center; border-left: 1px; font-size: 7pt; vertical-align:
middle;">${item.rate?string('#,##0.00')}</td>
<td style="align: center; border-left: 1px; font-size: 7pt; border-right:
1px; vertical-align: middle;">${item.amount?string('#,##0.00')}</td>
</tr></#if>
</#list><!-- end items -->

<tr><td colspan="6" style="align: right">Subtotal</td><td style="border-left:


1px; border-right: 1px; border-bottom: 1px; align: center;">${record.subtotal?
string('#,##0.000')}</td></tr>
<tr style=""><td colspan="6" style="align: right">Discount</td><td style="border-
left: 1px; border-right: 1px; border-bottom: 1px; align: center;">$
{record.custbody_az_po_discount?string('#,##0.000')}</td></tr>
<tr style=""><td colspan="6" style="align: right">Tax</td><td style="border-left:
1px; border-right: 1px; border-bottom: 1px; align: center;">${record.taxtotal?
string('#,##0.000')}</td></tr>
<tr style=""><td colspan="5" style="text-decoration: underline;">Total in words:
${record.custbody_az_amount_in_words} ${record.currency}</td>><td style="align:
right">Total</td><td style="border-left: 1px; border-right: 1px; border-bottom:
1px; align: center;">${record.total?string('#,##0.000')}</td></tr>
</table>

</#if>

<#if record.expense?has_content>

<table class="itemtable" style="width: 100%;"><!-- start expenses --><#list


record.expense as expense ><#if expense_index==0>
<thead>
<tr>
<th colspan="12">${expense.category@label}</th>
<th colspan="10">${expense.account@label}</th>
<th align="right" colspan="4">${expense.amount@label}</th>
</tr>
</thead>
</#if><tr>
<td colspan="12">${expense.category}</td>
<td colspan="10"><span class="itemname">${expense.account}</span></td>
<td align="right" colspan="4">${expense.amount}</td>
</tr>
</#list><!-- end expenses --></table>
</#if>

<table style="width: 100%; margin-top: 15px; page-break-inside: avoid;">


<tr><td style="font-size: 12px; font-weight: bold;">Payment Terms:</td></tr>
<#if record.custpage_custrecord_to_print?has_content><#assign customrecord =
record.custpage_custrecord_to_print?eval /><#list customrecord as
customrecord_line>
<tr>
<!-- <td style="border-right:1px solid;">$
{customrecord_line_index+1}</td> -->
<#if customrecord_line.col2?string="Payment">
<td>${customrecord_line.col0} - ${customrecord_line.col3} days $
{customrecord_line.col4}</td>
<#elseif customrecord_line.col2?string="Advance Payment" />
<td>${customrecord_line.col0} - ${customrecord_line.col2} $
{customrecord_line.col4}</td>
</#if>
</tr>
</#list></#if>
</table>

<table style="width: 100%; margin-top: 20px; page-break-inside: avoid;">


<tr><td style="font-size: 12px; font-weight: bold;">Contact Details:</td></tr>
<tr><td style="align: left; font-size: 12px;">-Mr. $
{record.custbodycontact_detail_1.custentity2}, ($
{record.custbodycontact_detail_1.title}) Email: $
{record.custbodycontact_detail_1.Email} Tel: $
{record.custbodycontact_detail_1.Phone}</td></tr>
<tr><td style="align: left; font-size: 12px;">-Mr. $
{record.custbodycontact_detail_2.custentity2}, ($
{record.custbodycontact_detail_2.title}) Email: $
{record.custbodycontact_detail_2.Email} Tel: $
{record.custbodycontact_detail_2.Phone}</td></tr>
</table>

<table style="width: 100%; margin-top: 35px; page-break-inside: avoid;">


<tr>
<td style="align: center; font-weight: bold;">Created by</td>
<td style="align: center; font-weight: bold;">Authorized Signatory</td>

</tr>
<tr>
<td style="align: center; font-size: 12px;">
<#if record.custbody_az_po_created_by?string="‫>"هبه طالل حنا قعوار‬
<p style="align: center; font-size: 12px;">Heba Kawar</p>
<#elseif record.custbody_az_po_created_by?string="‫ "دينا سعيد عبدالمحسن العويسي‬/>
<p style="align: center; font-size: 12px;">Dina Oweisi</p>
<#elseif record.custbody_az_po_created_by?string="‫ "سيرين عبدالناصر محمد سالمه‬/>
<p style="align: center; font-size: 12px;">Sireen Salameh</p>
<#elseif record.custbody_az_po_created_by?string="‫ "احمد حسين محمد خاطر‬/>
<p style="align: center; font-size: 12px;">Ahmad Khater</p>
</#if></td>

<td style="align: center; font-size: 12px;">


<#if record.approvalstatus?string ="Approved">
<#if record.custbody_az_approved_by?string="‫>"عايد فؤاد عايد تادرس‬
<p style="align: center; font-size: 12px;">Ayed Tadros</p>
<#elseif record.custbody_az_approved_by?string="‫ "مأمون محمد زهدي الجمل‬/>
<p style="align: center; font-size: 12px;">Mamoun Aljamal</p>
<#elseif record.custbody_az_approved_by?string="‫ "مراد محمد احمد الشريف‬/>
<p style="align: center; font-size: 12px;">Murad Alshareef</p>
</#if></#if></td></tr>

<tr>
<td></td>
<td style="align: center; font-size: 12px;">
<#if record.approvalstatus?string ="Approved">
<#if record.custbody_az_employee_signature?length != 0>
<img style="width: 100px; height: 100px;" src="$
{record.custbody_az_employee_signature@url}"/></#if>
<img style="width: 220px; height: 70px;"
src="https://6511901.app.netsuite.com/core/media/media.nl?
id=2695&amp;c=6511901&amp;h=Klx7vbFsQtrELCu-YtWGcg3FB4kTr21Jxkrvtqs18Q-
X5Ow8"/></#if>
</td></tr>
</table>

<pbr></pbr>

<table style="margin-top: 20px;">


<tr><td style="font-size: 12px; font-weight: bold;">Particular Terms &amp;
Conditions:</td></tr>
<#if record.location?string="Ajloun Teleferik">
<tr><td style="align: left; font-size: 12px;"><ul><li>Invoices shall be issued
by following details:</li></ul></td></tr>
<tr><td style="align: right; font-size: 12px; color: red;">
<p style= "align:right; dir:rtl; font-size:10px;"> ‫تصدر الفاتورة باسم الشركة كما هو‬
‫ مقاول تنفيذ مشروع التلفريك مع المطور‬/ ‫م‬.‫م‬.‫ شركة عيسى حدادين وشركاه ذ‬: ‫موضح ادناه دون اي نقصان وهو‬
‫<الرئيسي‬/p>
<p style= "align:right; dir:rtl; font-size:10px;"> ‫وتستخدم حصرا العفاء البضاعة الواردة‬
‫ فيه وال يجوز استخدامه الي طلبات اخرى وتحت طائلة المسؤولية‬${record.tranid} ‫نسخة كتاب االعفاء المرفقة تخص‬
‫<طلب الشراء‬/p>
<p style= "align:right; dir:rtl; font-size:10px;"> ‫ال يتم اعفاء الفاتورة الخاصة بطلب‬
‫<الشراء اال بعد ختمها بختم الشركة وحسب االصول‬/p>
<p style= "align:right; dir:rtl; font-size:10px;"> ‫ من‬2 ‫تزويد الشركة بنسخ اصلية عدد‬
‫<الفاتورة الخاصة بطلب الشراء لغايات الختم‬/p>
</td></tr></#if>
<#if record.custbody1?has_content && record.custbody2?has_content>
<tr><td style="align: left; font-size: 12px;"><ul><li>This purchase order based
on MAR Ref. ${record.custbody1} and quotation $
{record.custbody2}</li></ul></td></tr></#if>
<#if record.custbody1?has_content && record.custbody2?string = "">
<tr><td style="align: left; font-size: 12px;"><ul><li>This purchase order based
on MAR Ref. ${record.custbody1}</li></ul></td></tr></#if>
<#if record.custbody1?string = "" && record.custbody2?has_content>
<tr><td style="align: left; font-size: 12px;"><ul><li>This purchase order based
on quotation ${record.custbody2}</li></ul></td></tr></#if>
<#if record.custbody3?has_content>
<tr><td style="align: left; font-size: 12px;"><ul><li>$
{record.custbody3}</li></ul></td></tr>
</#if>
</table>

<table style="margin-top: 20px;">


<tr><td style="font-size: 12px; font-weight: bold;">Terms &amp;
Conditions:</td></tr>
</table>
<P style="font-size: 12px;">${record.custbody_az_po_termes}<br/>$
{record.custbody_az_po_checked_by}</P>
</body>
</pdf>

You might also like