Commit f970ac68 authored by Sven Franck's avatar Sven Franck

data: add new request_for_quotation (demand) portal_type

parent da9697ff
{
"portal_type_source": "Quotation Bid",
"portal_type_title": "quotation_bid",
"initial_query": {"include_docs": true, "limit":[0,1]},
"property_dict": {
"initial_query_url_identifier": "_id",
"force_new": true,
"wrap_gadget": 2,
"submit_to": "#home"
},
"scheme": [{
"position": "center",
"field_list": [
{"field": "bid_owner"},
{"field": "bid_email"},
{"field": "bid_company", "overrides": {"widget":{"required": null}}},
{"type": "hr", "direct": {"className": "ui-hr ui-hr-active"}},
{"field": "bid_price"},
{"field": "bid_currency"},
{"type": "input", "direct": {"name": "bid_for_request", "id":"bid_for_request", "className": "required"}, "attributes": {"data-enhanced": "true", "type": "hidden"}, "logic": {"setParam": [["value", "bid_request_subordinate_id"]], "skip":false}}
]
}
],
"children": [{
"type": "h3",
"direct": {"className": "translate center"},
"attributes": {"data-i18n": "portal_type_dict.request_for_quotation_dict.text_dict.make_bid"}
}, {
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "",
"dynamic": true,
"map_children": "formItem",
"editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children": [{
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"class_list": "center",
"direction": "horizontal",
"persist": true
},
"children": [{
"type": "input",
"direct": {"className": "action translate"},
"attributes": {"type": "submit", "data-action":"update_custom", "data-icon":"carat-r", "data-theme": "active", "data-i18n":"[value]portal_type_dict.quotation_bid_dict.text_dict.save"}
}]
}]
}]
}
{
"portal_type_source": "Request for Quotation",
"portal_type_title": "request_for_quotation",
"initial_query": {"include_docs": true },
"property_dict": {
"no_content": true
},
"scheme": [],
"children": []
}
This diff is collapsed.
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title_i18n": "portal_type_dict.request_for_quotation_dict.text_dict.overview",
"theme": "slapos-white"
},
"view_dict": {
"default": [{
"href": "request_for_quotation_view"
}, {
"href": "request_for_quotation_bid"
}]
}
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"title_i18n": "portal_type_dict.request_for_quotation_dict.text_dict.overview",
"theme": "slapos-white"
},
"view_dict": {
"default": [],
"new": [{
"type": "div",
"direct": {"className": "span_2"},
"children": [{
"type": "span",
"direct": {"className": "translate ui-content-element responsive mockup_text"},
"attributes": {"data-i18n":"global_dict.new_request"}
}]
}, {
"href": "request_for_quotation_new"
}]
}
}
]
}
{
"portal_type_source": "Request for Quotation",
"portal_type_title": "request_for_quotation",
"initial_query": {"include_docs": true, "limit":[0,1]},
"property_dict": {
"initial_query_url_identifier": "_id",
"force_new": true,
"wrap_gadget": 2,
"submit_to": "#home"
},
"scheme": [{
"position": "center",
"field_list": [
{"field": "request_title"},
{"field": "request_description"},
{"type": "hr", "direct": {"className": "ui-hr ui-hr-active"}},
{"field": "request_contact"},
{"field": "request_email"},
{"field": "request_company"},
{"type": "hr", "direct": {"className": "ui-hr ui-hr-active"}},
{"field": "date_until_request_valid"}
]
}
],
"children": [{
"type": "h3",
"direct": {"className": "translate center"},
"attributes": {"data-i18n": "portal_type_dict.request_for_quotation_dict.text_dict.make_quotation"}
}, {
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "",
"dynamic": true,
"map_children": "formItem",
"editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children": [{
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"class_list": "center",
"direction": "horizontal",
"persist": true
},
"children": [{
"type": "input",
"direct": {"className": "action translate"},
"attributes": {"type": "submit", "data-action":"update_custom", "data-icon":"carat-r", "data-theme": "active", "data-i18n":"[value]portal_type_dict.quotation_bid_dict.text_dict.save"}
}]
}]
}]
}
{
"portal_type_source": "Request for Quotation",
"portal_type_title": "request_for_quotation",
"initial_query": {"include_docs": true, "limit":[0,8]},
"property_dict": {
"wrap_gadget": 2,
"link": true,
"link_identifier": "_id",
"link_core": "request_for_quotation_module%26query%3Abid_request_subordinate_id%3D",
"sortable": true,
"search": {
"text_i18n": "portal_type_dict.request_for_quotation_dict.text_dict.search_requests",
"info_list": ["records"],
"class_list": "center"
},
"pagination": {
"class_list": "left",
"option_list": [
{"value": "8", "text_i18n":"global_dict.8"},
{"value": "16", "text_i18n":"global_dict.16"},
{"value": "32", "text_i18n":"global_dict.32"},
{"value": "64", "text_i18n":"global_dict.64"}
]
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"type": "span", "direct": {"className": "translate"}, "attributes": {"data-i18n": "portal_type_dict.request_for_quotation_dict.text_dict.posted"}},
{"type": "span", "direct": {}, "logic": {"text": "\u00A0" }},
{"field": "date_request_posted", "type": "span"},
{"type": "span", "direct": {}, "logic": {"text": "\u00A0|\u00A0" }},
{"type": "span", "direct": {"className": "translate"}, "attributes": {"data-i18n": "portal_type_dict.request_for_quotation_dict.text_dict.valid"}},
{"type": "span", "direct": {}, "logic": {"text": "\u00A0" }},
{"field": "date_until_request_valid", "type": "span"}
]
},
{
"position": "center",
"field_list": [
{"field": "request_title", "type": "h3"},
{"field": "request_description", "type": "p"}
]
}
],
"children": [{
"type": "h3",
"direct": {"className": "translate center"},
"attributes": {"data-i18n": "portal_type_dict.request_for_quotation_dict.text_dict.quotations"}
}, {
"generate": "widget",
"type": "listview",
"property_dict": {
"inset": true,
"theme": "slapos-white",
"map_children": "listItem",
"dynamic": true
},
"children":[]
}, {
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"direction": "horizontal",
"class_list": "right"
},
"children": [
{
"type": "a",
"direct": {"className": "ui-btn ui-btn-icon-right ui-icon-edit translate ui-btn-active", "href": "#request_for_quotation_module/new"},
"attributes": {"data-i18n": "portal_type_dict.request_for_quotation_dict.text_dict.new"}
}
]
}]
}
[
{
"_id": "request_001",
"request_title": "Development of Mobile Website",
"request_description": "We need our website to be converted into a mobile-friendly (responsive) Website.\nThe website in question is selling cars and includes about 50 subpages.\n Looking for a quotation for:\n- 50 page templates\n- Testing for Mobile/Tablet\n\nStarting asap.",
"request_contact":"John Doe",
"request_email": "john@doe.com",
"date_request_posted": "2014/04/20",
"request_company": "Johns Car Depot",
"date_until_request_valid": "2014/04/30"
},
{
"_id": "request_002",
"request_title": "Development of Company Logo",
"request_description": "Our CI needs a major overhaul. See www.uglycompci.com... Please make offers a new CI package (logos, paper documents, name cards etc).",
"request_contact":"Jim Smith",
"request_email": "jim@smith.com",
"date_request_posted": "2014/03/21",
"request_company": "Comp Inc",
"date_until_request_valid": "2014/12/12"
},
{
"_id": "request_003",
"request_title": "Photoshop Website Mockup",
"request_description": "We need wireframes for our new website. Our old website can be found at www.oldsite.com.",
"request_contact":"Jane Dough",
"request_email": "jane@dough.com",
"date_request_posted": "2014/04/01",
"request_company": "Almost Offline Inc",
"date_until_request_valid": "2014/04/30"
},
{
"_id": "request_004",
"request_title": "Development of App",
"request_description": "We need a small app to manage tasks. The app should be really simple and work offline and on mobile. There are a lot of existing examples, but none that we like. Please contact us for more details...",
"request_contact":"Tom Trailer",
"request_email": "tom@trailer.com",
"date_request_posted": "2014/02/10",
"request_company": "Trailer Park Inc.",
"date_until_request_valid": "2014/02/28"
},
{
"_id": "request_005",
"request_title": "Need an ERP",
"request_description": "We are looking to upgrade our office form paper to using an ERP and are looking for an easy to implement solution. Currently we are managing 200 customers and have about 500 products. Please get in touch with us for more details!",
"request_contact":"Mark Musterman",
"request_email": "mark@muster.com",
"date_request_posted": "2014/04/11",
"request_company": "Mark Mechanics",
"date_until_request_valid": "2014/04/15"
}
]
{
"portal_type_source": "Request for Quotation",
"portal_type_title": "request_for_quotation",
"initial_query": {"include_docs": true, "limit": [0,1]},
"property_dict": {
"wrap_gadget": 2,
"initial_query_url_identifier": "_id",
"url_crop": "bid_request_subordinate",
"direct_map": true,
"pagination": {
"class_list": "center",
"single": true
}
},
"children": [{
"generate": "widget",
"type": "controlbar",
"property_dict": {
"dynamic": true
},
"children": [
{
"type": "h1",
"direct": {"className": "request_headline"},
"logic": {"setParam": [["text", "request_title"]]}
},
{
"type": "div",
"direct": {"className": "ui-content-element"},
"logic": {"setParam": [["text", "request_description"]]}
},
{
"type": "span",
"direct": {"className": "request_subheader"},
"logic": {"setParam": [["text", "request_contact"]]}
},
{"type": "span", "direct": {"className": "request_contact"}, "logic": {"text": ",\u00A0" }},
{
"type": "span",
"direct": {"className": "request_contact"},
"logic": {"setParam": [["text", "request_email"]]}
},
{"type": "span", "direct": {"className": "request_contact"}, "logic": {"text": "\u00A0|\u00A0" }},
{
"type": "span",
"direct": {"className": "request_contact"},
"logic": {"setParam": [["text", "request_company"]]}
},
{
"type": "hr",
"direct": {"className": "ui-hr ui-bar-active"}
},
{
"type": "span",
"direct": {"className": "translate request_contact small"},
"attributes": {"data-i18n": "portal_type_dict.request_for_quotation_dict.text_dict.posted"}
},
{
"type": "span",
"direct": {"className": "request_contact small"},
"logic": {"setParam": [["text", "date_request_posted"]]}
},
{"type": "span", "direct": {"className": "request_contact"}, "logic": {"text": "\u00A0|\u00A0" }},
{
"type": "span",
"direct": {"className": "translate request_contact small"},
"attributes": {"data-i18n": "portal_type_dict.request_for_quotation_dict.text_dict.valid"}
},
{
"type": "span",
"direct": {"className": "request_contact small"},
"logic": {"setParam": [["text", "date_until_request_valid"]]}
}
]
}]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment