| Line 2941... |
Line 2941... |
| 2941 |
pdf.drawText(address_text)
|
2941 |
pdf.drawText(address_text)
|
| 2942 |
|
2942 |
|
| 2943 |
pdf.setFont('Times-Roman',12)
|
2943 |
pdf.setFont('Times-Roman',12)
|
| 2944 |
order_text = pdf.beginText(inch, PAGE_HEIGHT - 4 * inch)
|
2944 |
order_text = pdf.beginText(inch, PAGE_HEIGHT - 4 * inch)
|
| 2945 |
for detail in provider.details:
|
2945 |
for detail in provider.details:
|
| 2946 |
if detail.type == DeliveryType.PREPAID and detail.logisticLocation == warehouse.logisticsLocation :
|
2946 |
if detail.deliveryType == DeliveryType.PREPAID and detail.logisticLocation == warehouse.logisticsLocation :
|
| 2947 |
order_text.textLine("Pickup CODE: " + detail.accountNo)
|
2947 |
order_text.textLine("Pickup CODE: " + detail.accountNo)
|
| 2948 |
lineitem = order.lineitems[0]
|
2948 |
lineitem = order.lineitems[0]
|
| 2949 |
order_text.textLine("Content : " + lineitem.brand + " " + str(lineitem.model_number) + " " + str(lineitem.color))
|
2949 |
order_text.textLine("Content : " + lineitem.brand + " " + str(lineitem.model_number) + " " + str(lineitem.color))
|
| 2950 |
order_text.textLine("Declared Value: Rs. " + str(order.total_amount))
|
2950 |
order_text.textLine("Declared Value: Rs. " + str(order.total_amount))
|
| 2951 |
order_text.textLine("Order ID : " + str(order.id))
|
2951 |
order_text.textLine("Order ID : " + str(order.id))
|