mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-24 20:46:38 +00:00
fix: serialize document values with tojson in rfq portal script
This commit is contained in:
@@ -5,10 +5,10 @@ window.doc={{ doc.as_json() }};
|
||||
|
||||
$(document).ready(function() {
|
||||
new rfq();
|
||||
doc.supplier = "{{ doc.supplier }}"
|
||||
doc.currency = "{{ doc.currency }}"
|
||||
doc.number_format = "{{ doc.number_format }}"
|
||||
doc.buying_price_list = "{{ doc.buying_price_list }}"
|
||||
doc.supplier = {{ doc.supplier | tojson }}
|
||||
doc.currency = {{ doc.currency | tojson }}
|
||||
doc.number_format = {{ doc.number_format | tojson }}
|
||||
doc.buying_price_list = {{ doc.buying_price_list | tojson }}
|
||||
});
|
||||
|
||||
rfq = class rfq {
|
||||
|
||||
Reference in New Issue
Block a user