added for support
This commit is contained in:
parent
c9bd3f5d4a
commit
a660464cec
@ -0,0 +1,24 @@
|
||||
<div class="row" style="max-height: 30px;">
|
||||
<div class="col-xs-12">
|
||||
<div class="text-ellipsis">
|
||||
{%= list.get_avatar_and_id(doc) %}
|
||||
|
||||
<span style="margin-right: 8px;" class="filterable"
|
||||
data-filter="customer,=,{%= doc.customer %}">
|
||||
{%= doc.customer %}</span>
|
||||
|
||||
<span class="label
|
||||
label-{%= frappe.utils.guess_style(doc.status) %} filterable"
|
||||
data-filter="status,=,{%= doc.status %}">
|
||||
{%= doc.status %}
|
||||
</span>
|
||||
|
||||
{% if(doc.item_code) { %}
|
||||
<span class="label label-default filterable"
|
||||
data-filter="item_code,=,{%= doc.item_code %}">
|
||||
{%= doc.item_code %}
|
||||
</span>
|
||||
{% } %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,4 @@
|
||||
frappe.listview_settings['Customer Issue'] = {
|
||||
add_fields: ["status", "customer", "item_code"],
|
||||
filters:[["status","=", "Open"]]
|
||||
};
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"autoname": "naming_series:",
|
||||
"creation": "2013-01-10 16:34:31.000000",
|
||||
"creation": "2013-01-10 16:34:31",
|
||||
"description": "Create and Send Newsletters",
|
||||
"docstatus": 0,
|
||||
"doctype": "DocType",
|
||||
@ -132,7 +132,7 @@
|
||||
],
|
||||
"icon": "icon-envelope",
|
||||
"idx": 1,
|
||||
"modified": "2014-02-03 11:32:22.000000",
|
||||
"modified": "2014-08-04 07:22:06.445634",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Support",
|
||||
"name": "Newsletter",
|
||||
|
16
erpnext/support/doctype/newsletter/newsletter_list.html
Normal file
16
erpnext/support/doctype/newsletter/newsletter_list.html
Normal file
@ -0,0 +1,16 @@
|
||||
<div class="row" style="max-height: 30px;">
|
||||
<div class="col-xs-10">
|
||||
<div class="text-ellipsis">
|
||||
{%= list.get_avatar_and_id(doc) %}
|
||||
<span class="label
|
||||
label-{%= cint(doc.email_sent) ? "success" : "warning" %} filterable"
|
||||
data-filter="email_sent,=,{%= cint(doc.email_sent) ? __("Yes") : __("No") %}">
|
||||
{%= cint(doc.email_sent) ? __("Sent") : __("Not Sent") %}
|
||||
</span>
|
||||
<span class="label label-info filterable"
|
||||
data-filter="send_to_type,=,{%= doc.send_to_type %}">
|
||||
{%= doc.send_to_type %}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
3
erpnext/support/doctype/newsletter/newsletter_list.js
Normal file
3
erpnext/support/doctype/newsletter/newsletter_list.js
Normal file
@ -0,0 +1,3 @@
|
||||
frappe.listview_settings['Newsletter'] = {
|
||||
add_fields: ["subject", "send_to_type", "email_sent"]
|
||||
};
|
@ -0,0 +1,18 @@
|
||||
<div class="row" style="max-height: 30px;">
|
||||
<div class="col-xs-10">
|
||||
<div class="text-ellipsis">
|
||||
{%= list.get_avatar_and_id(doc) %}
|
||||
<span class="label label-{%= frappe.utils.guess_style(doc.status) %} filterable"
|
||||
data-filter="status,=,{%= doc.status %}">
|
||||
{%= doc.status %}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
<div class="text-ellipsis">
|
||||
<span class="filterable text-muted small" style="margin-right: 8px;"
|
||||
data-filter="raised_by,=,{%= doc.raised_by %}">
|
||||
{%= doc.raised_by %}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,4 @@
|
||||
frappe.listview_settings['Support Ticket'] = {
|
||||
add_fields: ["subject", "status", "raised_by"],
|
||||
filters:[["status","=", "Open"]]
|
||||
};
|
Loading…
Reference in New Issue
Block a user