|
@@ -34,7 +34,7 @@ def getMouReportDataService(from_date, to_date, mongo):
|
|
|
1000).strftime("%x")
|
|
1000).strftime("%x")
|
|
|
|
|
|
|
|
if 'mou_file' in mou:
|
|
if 'mou_file' in mou:
|
|
|
- mou_file = "http://65.2.132.48:9005/uploads/" + mou[
|
|
|
|
|
|
|
+ mou_file = "http://13.233.128.152:9005/uploads/" + mou[
|
|
|
'mou_file']
|
|
'mou_file']
|
|
|
|
|
|
|
|
insert_obj = {
|
|
insert_obj = {
|
|
@@ -556,7 +556,7 @@ def getVoucherMISReportDataService(from_date, to_date, mongo):
|
|
|
|
|
|
|
|
invoice_url=[]
|
|
invoice_url=[]
|
|
|
for invoice in voucher['invoices']:
|
|
for invoice in voucher['invoices']:
|
|
|
- invoice_url.append('http://65.2.132.48:9005/uploads/'+invoice)
|
|
|
|
|
|
|
+ invoice_url.append('http://13.233.128.152:9005/uploads/'+invoice)
|
|
|
|
|
|
|
|
|
|
|
|
|
insert_obj = {
|
|
insert_obj = {
|
|
@@ -601,7 +601,7 @@ def getVoucherMISReportDataService(from_date, to_date, mongo):
|
|
|
insert_obj['vendor_name'+str(k)]=quotation['v_name']
|
|
insert_obj['vendor_name'+str(k)]=quotation['v_name']
|
|
|
insert_obj['exception'+str(k)]=quotation['exception']
|
|
insert_obj['exception'+str(k)]=quotation['exception']
|
|
|
insert_obj['note'+str(k)]=quotation['note']
|
|
insert_obj['note'+str(k)]=quotation['note']
|
|
|
- insert_obj['quote_file'+str(k)]='http://65.2.132.48:9005/uploads/'+quotation['quote_file']
|
|
|
|
|
|
|
+ insert_obj['quote_file'+str(k)]='http://13.233.128.152:9005/uploads/'+quotation['quote_file']
|
|
|
k+=1
|
|
k+=1
|
|
|
else:
|
|
else:
|
|
|
for k in range(1,4):
|
|
for k in range(1,4):
|