Commit 8a9a3595 by suriyah gandasari

Update bjb_va.py

1 parent ce85c5e9
...@@ -357,7 +357,7 @@ class view(object): ...@@ -357,7 +357,7 @@ class view(object):
values['customer_name']=row_invoice.subjek_nama values['customer_name']=row_invoice.subjek_nama
values['customer_email']=row_invoice.subjek_email and row_invoice.subjek_email or '-' values['customer_email']=row_invoice.subjek_email and row_invoice.subjek_email or '-'
values['customer_phone']=row_invoice.subjek_phone and row_invoice.subjek_phone or '-' values['customer_phone']=row_invoice.subjek_phone and row_invoice.subjek_phone or '-'
values['expired_date']=ymdhms(datetime.combine(date.today(),time(23,59,59))) values['expired_date']=ymdhms(datetime.combine(date.today(),time(20,59,59)))
values['amount']=(pokok + denda) values['amount']=(pokok + denda)
print ('---------------------------------', values) print ('---------------------------------', values)
...@@ -518,7 +518,7 @@ class view(object): ...@@ -518,7 +518,7 @@ class view(object):
customer_name=row.subjek_nama, customer_name=row.subjek_nama,
customer_email=row.subjek_email and row.subjek_email or '-', customer_email=row.subjek_email and row.subjek_email or '-',
customer_phone=row.subjek_phone and row.subjek_phone or '-', customer_phone=row.subjek_phone and row.subjek_phone or '-',
expired_date=ymdhms(datetime.combine(date.today(),time(23,59,59))), expired_date=ymdhms(datetime.combine(date.today(),time(20,59,59))),
amount=(pokok + denda)) amount=(pokok + denda))
elif url_dict['act'] == 'update': elif url_dict['act'] == 'update':
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!