[minor] cleanup start
diff --git a/accounts/doctype/sales_invoice/pos.js b/accounts/doctype/sales_invoice/pos.js
index 043fe90..d771f4f 100644
--- a/accounts/doctype/sales_invoice/pos.js
+++ b/accounts/doctype/sales_invoice/pos.js
@@ -6,7 +6,7 @@
this.wrapper = wrapper;
this.frm = frm;
this.wrapper.html('<div class="container">\
- <div class="row">\
+ <div class="row" style="margin: -13px 0px 10px -30px; border-bottom: 3px solid #c7c7c7;">\
<div class="party-area col-sm-3 col-xs-6"></div>\
<div class="barcode-area col-sm-3 col-xs-6"></div>\
<div class="search-area col-sm-3 col-xs-6"></div>\
@@ -115,7 +115,8 @@
"fieldname": "pos_party",
"placeholder": this.party
},
- parent: this.wrapper.find(".party-area")
+ parent: this.wrapper.find(".party-area"),
+ only_input: true,
});
this.party_field.make_input();
this.party_field.$input.on("change", function() {
@@ -134,7 +135,8 @@
"fieldname": "pos_item_group",
"placeholder": "Item Group"
},
- parent: this.wrapper.find(".item-group-area")
+ parent: this.wrapper.find(".item-group-area"),
+ only_input: true,
});
this.item_group.make_input();
this.item_group.$input.on("change", function() {
@@ -152,7 +154,8 @@
"fieldname": "pos_item",
"placeholder": "Item"
},
- parent: this.wrapper.find(".search-area")
+ parent: this.wrapper.find(".search-area"),
+ only_input: true,
});
this.search.make_input();
this.search.$input.on("change", function() {
@@ -169,7 +172,8 @@
"fieldname": "pos_barcode",
"placeholder": "Barcode / Serial No"
},
- parent: this.wrapper.find(".barcode-area")
+ parent: this.wrapper.find(".barcode-area"),
+ only_input: true,
});
this.barcode.make_input();
this.barcode.$input.on("keypress", function() {
@@ -194,12 +198,12 @@
$.each(r.message, function(index, obj) {
if (obj.image)
image = '<img src="' + obj.image + '" class="img-responsive" \
- style="border:1px solid #eee;height:140px;width:100%;">';
+ style="border:1px solid #eee; max-height: 140px;">';
else
image = '<div class="missing-image"><i class="icon-camera"></i></div>';
$(repl('<div class="col-xs-3 pos-item" data-item_code="%(item_code)s">\
- <div>%(item_image)s</div>\
+ <div style="height: 140px; overflow: hidden;">%(item_image)s</div>\
<div class="small">%(item_code)s</div>\
<div class="small">%(item_name)s</div>\
<div class="small">%(item_price)s</div>\
diff --git a/manufacturing/doctype/workstation/workstation.txt b/manufacturing/doctype/workstation/workstation.txt
index 038e2c9..c9114ff 100644
--- a/manufacturing/doctype/workstation/workstation.txt
+++ b/manufacturing/doctype/workstation/workstation.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-01-10 16:34:17",
"docstatus": 0,
- "modified": "2013-07-05 15:04:25",
+ "modified": "2013-10-28 15:42:38",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -44,15 +44,6 @@
},
{
"doctype": "DocField",
- "fieldname": "trash_reason",
- "fieldtype": "Small Text",
- "label": "Trash Reason",
- "oldfieldname": "trash_reason",
- "oldfieldtype": "Small Text",
- "read_only": 1
- },
- {
- "doctype": "DocField",
"fieldname": "workstation_name",
"fieldtype": "Data",
"label": "Workstation Name",
@@ -113,30 +104,33 @@
"doctype": "DocField",
"fieldname": "over_heads",
"fieldtype": "Section Break",
- "label": "Over Heads",
+ "label": "Overheads",
"oldfieldtype": "Section Break"
},
{
+ "description": "Electricity cost per hour",
"doctype": "DocField",
"fieldname": "hour_rate_electricity",
"fieldtype": "Float",
- "label": "Hour Rate Electricity",
+ "label": "Electricity Cost",
"oldfieldname": "hour_rate_electricity",
"oldfieldtype": "Currency"
},
{
+ "description": "Consumable cost per hour",
"doctype": "DocField",
"fieldname": "hour_rate_consumable",
"fieldtype": "Float",
- "label": "Hour Rate Consumable",
+ "label": "Consumable Cost",
"oldfieldname": "hour_rate_consumable",
"oldfieldtype": "Currency"
},
{
+ "description": "Rent per hour",
"doctype": "DocField",
"fieldname": "hour_rate_rent",
"fieldtype": "Float",
- "label": "Hour Rate Rent",
+ "label": "Rent Cost",
"oldfieldname": "hour_rate_rent",
"oldfieldtype": "Currency"
},
diff --git a/projects/doctype/project/project.txt b/projects/doctype/project/project.txt
index fc8accf..33e5fde 100644
--- a/projects/doctype/project/project.txt
+++ b/projects/doctype/project/project.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-03-07 11:55:07",
"docstatus": 0,
- "modified": "2013-10-02 14:25:02",
+ "modified": "2013-10-28 17:17:17",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -43,6 +43,13 @@
},
{
"doctype": "DocField",
+ "fieldname": "overview",
+ "fieldtype": "Section Break",
+ "label": "Overview",
+ "options": "icon-file"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "cb_project_status",
"fieldtype": "Column Break",
"label": "Status"
@@ -148,7 +155,8 @@
"fieldname": "sb_milestones",
"fieldtype": "Section Break",
"label": "Milestones",
- "oldfieldtype": "Section Break"
+ "oldfieldtype": "Section Break",
+ "options": "icon-flag"
},
{
"description": "Milestones will be added as Events in the Calendar",
@@ -168,7 +176,7 @@
"fieldtype": "Section Break",
"label": "Project Details",
"oldfieldtype": "Section Break",
- "options": "Simple"
+ "options": "icon-list"
},
{
"doctype": "DocField",
@@ -201,7 +209,7 @@
"fieldtype": "Section Break",
"label": "Project Costing",
"oldfieldtype": "Section Break",
- "options": "Simple"
+ "options": "icon-money"
},
{
"doctype": "DocField",
@@ -264,7 +272,8 @@
"fieldname": "customer_details",
"fieldtype": "Section Break",
"label": "Customer Details",
- "oldfieldtype": "Section Break"
+ "oldfieldtype": "Section Break",
+ "options": "icon-user"
},
{
"description": "Select name of Customer to whom project belongs",
diff --git a/public/js/startup.css b/public/js/startup.css
index c3b7276..54c40d4 100644
--- a/public/js/startup.css
+++ b/public/js/startup.css
@@ -41,9 +41,8 @@
}
.pos-bill {
- padding: 20px 5px;
+ margin-left: -30px;
+ margin-top: -10px;
+ padding: 20px 10px;
font-family: Monospace;
- border: 1px solid #eee;
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
\ No newline at end of file
diff --git a/stock/doctype/warehouse/warehouse.txt b/stock/doctype/warehouse/warehouse.txt
index 76ddac7..39e335f 100644
--- a/stock/doctype/warehouse/warehouse.txt
+++ b/stock/doctype/warehouse/warehouse.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-03-07 18:50:32",
"docstatus": 0,
- "modified": "2013-09-16 10:45:49",
+ "modified": "2013-10-28 16:42:07",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -76,7 +76,7 @@
"doctype": "DocField",
"fieldname": "create_account_under",
"fieldtype": "Link",
- "label": "Create Account Under",
+ "label": "Parent Account",
"options": "Account",
"permlevel": 0
},
@@ -84,6 +84,7 @@
"doctype": "DocField",
"fieldname": "column_break_4",
"fieldtype": "Section Break",
+ "label": "Allow For Users",
"permlevel": 0,
"read_only": 0
},