updated module pages

This commit is contained in:
Rushabh Mehta 2012-02-21 19:03:50 +05:30
parent 085617ed12
commit 35fabf76a6
18 changed files with 416 additions and 10 deletions

View File

@ -1,7 +1,7 @@
pscript['onload_Accounts Browser'] = function(){
pscript['onshow_Accounts Browser'] = function(){
wn.require('lib/js/legacy/widgets/tree.js');
var route = location.hash;
var route = decodeURIComponent(location.hash);
if(route.indexOf('/')!=-1) {
var chart_type = route.split('/')[1];
pscript.make_chart(chart_type);

View File

@ -1,5 +1,6 @@
<div class="layout-wrapper layout-wrapper-background" id="page-selling-home">
<div class="layout-wrapper layout-wrapper-background">
<div class="layout-main-section">
<a class="close" onclick="window.history.back();">&times;</a>
<h1>Accounts</h1>
<hr>
<div style="width: 48%; float: left;">
@ -51,6 +52,11 @@
title="Lease Agreements"
href="#!List/Lease Agreement">Lease Agreements</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Helper for managing return of goods (sales or purchase)"
href="#!Form/Sales and Purchase Return Wizard/Sales and Purchase Return Wizard">Sales or Purchase Returns</a>
</div>
</div>
</div>

View File

@ -0,0 +1,49 @@
<div class="layout-wrapper layout-wrapper-background">
<div class="layout-main-section">
<a class="close" onclick="window.history.back();">&times;</a>
<h1>Buying</h1>
<hr>
<div style="width: 48%; float: left;">
<h4><a href="#!List/Purchase Requisition">Purchase Requisition</a></h4>
<p class="help">Request for purchase</p>
<h4><a href="#!List/Purchase Order">Purchase Order</a></h4>
<p class="help">Purchase Orders given to Suppliers</p>
</div>
<div style="width: 48%; float: right;">
<h4><a href="#!List/Supplier">Supplier</a></h4>
<p class="help">Supplier Master</p>
<h4><a href="#!List/Item">Item</a></h4>
<p class="help">Item Master</p>
</div>
<div style="clear: both"></div>
<hr>
<h3>Reports</h3>
<div class="reports-list"></div>
</div>
<div class="layout-side-section">
<div class="psidebar">
<div class="section">
<div class="section-head">Setup</div>
<div class="section-body">
<div class="section-item">
<a class="section-link"
title = "Tax and charges structure master"
href="#!List/Purchase Other Charges">Purchase Other Charges</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Supplier classification"
href="#!List/Supplier Type">Supplier Type</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Helper for managing return of goods (sales or purchase)"
href="#!Form/Sales and Purchase Return Wizard/Sales and Purchase Return Wizard">Purchase Returns</a>
</div>
</div>
</div>
</div>
</div>
<div style="clear: both;"></div>
</div>

View File

@ -0,0 +1,3 @@
pscript['onload_buying-home'] = function(wrapper) {
erpnext.module_page.setup_page('Buying', wrapper);
}

View File

@ -0,0 +1,123 @@
<div class="layout-wrapper layout-wrapper-background">
<div class="layout-main-section">
<a class="close" onclick="window.history.back();">&times;</a>
<h1>Human Resources</h1>
<hr>
<div style="width: 48%; float: left;">
<h4><a href="#!List/Attendance">Attendance</a></h4>
<p class="help">Attendance Mark</p>
<h4><a href="#!List/Leave Application">Leave Application</a></h4>
<p class="help">Applications for leave</p>
<h4><a href="#!List/Expense Voucher">Expense Voucher</a></h4>
<p class="help">Claims for expenses</p>
<h4><a href="#!List/Salary Slip">Salary Slip</a></h4>
<p class="help">Monthly salary statement</p>
<h4><a href="#!List/Appraisal">Appraisal</a></h4>
<p class="help">Performance appraisal</p>
</div>
<div style="width: 48%; float: right;">
<h4><a href="#!List/Employee">Employee</a></h4>
<p class="help">Employee Master</p>
</div>
<div style="clear: both"></div>
<hr>
<h3>Reports</h3>
<div class="reports-list"></div>
</div>
<div class="layout-side-section">
<div class="psidebar">
<div class="section">
<div class="section-head">Leave and Attendance</div>
<div class="section-body">
<div class="section-item">
<a class="section-link"
title = "Upload and update attendance from a spreadsheet file (csv)"
href="#!Form/Attendance Control Panel/Attendance Control Panel">Upload attendance</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Leave allocation helper"
href="#!Form/Leave Control Panel/Leave Control Panel">Allocate Leaves</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Allocate leaves"
href="#!List/Leave Allocation">Leave Allocation</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Type of leaves like casual, sick etc."
href="#!List/Leave Type">Leave Type</a>
</div>
<div class="section-item">
<a class="section-link"
title = "List of holidays"
href="#!List/Leave Allocation">Holiday List</a>
</div>
</div>
</div>
<div class="section">
<div class="section-head">Salary and Payroll</div>
<div class="section-body">
<div class="section-item">
<a class="section-link"
title = "Monthly salary template with earnings and deductions"
href="#!List/Salary Structure">Salary Structure</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Generate Salary Slips"
href="#!Form/Salary Manager/Salary Manager">Process Payroll</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Benefit types like basic salary, allowances etc."
href="#!List/Earning Type">Earning Type</a>
</div>
<div class="section-item">
<a class="section-link"
title = "tax and other salary deductions"
href="#!List/Deduction Type">Deduction Type</a>
</div>
</div>
</div>
<div class="section">
<div class="section-head">Employee Setup</div>
<div class="section-body">
<div class="section-item">
<a class="section-link"
title = "Type of employment master"
href="#!List/Employment Type">Employment Type</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Template for employee performance appraisals"
href="#!List/KRA Template">Key Performance Area (KRA) Template</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Company branches (for employee records)"
href="#!List/Branch">Branch</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Company departments"
href="#!List/Department">Department</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Company departments"
href="#!List/Designation">Designation</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Employee grades"
href="#!List/Grade">Grade</a>
</div>
</div>
</div>
</div>
</div>
<div style="clear: both;"></div>
</div>

View File

@ -0,0 +1,3 @@
pscript['onload_hr-home'] = function(wrapper) {
erpnext.module_page.setup_page('HR', wrapper);
}

View File

@ -0,0 +1,58 @@
<div class="layout-wrapper layout-wrapper-background">
<div class="layout-main-section">
<a class="close" onclick="window.history.back();">&times;</a>
<h1>Production</h1>
<hr>
<div style="width: 48%; float: left;">
<h4><a href="#!List/Production Order">Production Order</a></h4>
<p class="help">Orders for manufacturing</p>
<h4><a href="#!Form/Production Planning Tool/Production Planning Tool">Production Plan</a></h4>
<p class="help">Generate Purchase Requisition (MRP) and Production Orders</p>
</div>
<div style="width: 48%; float: right;">
<h4><a href="#!List/Bill Of Materials">Bill of Materials</a></h4>
<p class="help">Bill of Materials (BOM) Master</p>
<h4><a href="#!List/Item">Item</a></h4>
<p class="help">Item Master</p>
</div>
<div style="clear: both"></div>
<hr>
<h3>Reports</h3>
<div class="reports-list"></div>
</div>
<div class="layout-side-section">
<div class="psidebar">
<div class="section">
<div class="section-head">Setup</div>
<div class="section-body">
<div class="section-item">
<a class="section-link"
title = "Workstation master"
href="#!List/Workstation">Workstations</a>
</div>
</div>
</div>
<div class="section">
<div class="section-head">Tools</div>
<div class="section-body">
<div class="section-item">
<a class="section-link"
title = "browse bill of materials in a tree"
href="#!Bill of Materials">BOM Browser</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Replace item/sub-assembly from a sub-assembly from all BOMs"
href="#!Form/BOM Replace Utility/BOM Replace Utility">BOM Replace Item</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Update delivery dates in all Sales Orders"
href="#!Form/Update Delivery Date/Update Delivery Date">Update Delivery Dates</a>
</div>
</div>
</div>
</div>
</div>
<div style="clear: both;"></div>
</div>

View File

@ -0,0 +1,3 @@
pscript['onload_production-home'] = function(wrapper) {
erpnext.module_page.setup_page('Production', wrapper);
}

View File

@ -0,0 +1,35 @@
<div class="layout-wrapper layout-wrapper-background">
<div class="layout-main-section">
<a class="close" onclick="window.history.back();">&times;</a>
<h1>Projects</h1>
<hr>
<div style="width: 48%; float: left;">
<h4><a href="#!List/Project">Project</a></h4>
<p class="help">Project master</p>
<h4><a href="#!List/Task">Task</a></h4>
<p class="help">Project activity / task</p>
<h4><a href="#!List/Task">Timesheet</a></h4>
<p class="help">Timesheet for tasks</p>
</div>
<div style="width: 48%; float: right;">
<h4><a href="#!Projects">Gantt Chart</a></h4>
<p class="help">Gantt chart of all tasks</p>
</div>
<div style="clear: both"></div>
<hr>
<h3>Reports</h3>
<div class="reports-list"></div>
</div>
<div class="layout-side-section">
<div class="psidebar">
<!--<div class="section">
<div class="section-head"></div>
<div class="section-body">
<div class="section-item">
</div>
</div>
</div>-->
</div>
</div>
<div style="clear: both;"></div>
</div>

View File

@ -0,0 +1,3 @@
pscript['onload_projects-home'] = function(wrapper) {
erpnext.module_page.setup_page('Projects', wrapper);
}

View File

@ -1,7 +1,7 @@
pscript['onload_Sales Browser'] = function(){
pscript['onshow_Sales Browser'] = function(){
wn.require('lib/js/legacy/widgets/tree.js');
var route = location.hash;
var route = decodeURIComponent(location.hash);
if(route.indexOf('/')!=-1) {
var chart_type = route.split('/')[1];
new SalesBrowser().set_val(chart_type)

View File

@ -1,5 +1,6 @@
<div class="layout-wrapper layout-wrapper-background" id="page-selling-home">
<div class="layout-wrapper layout-wrapper-background">
<div class="layout-main-section">
<a class="close" onclick="window.history.back();">&times;</a>
<h1>Selling</h1>
<hr>
<div style="width: 48%; float: left;">
@ -74,7 +75,14 @@
<div class="section-head">Tools</div>
<div class="section-body">
<div class="section-item">
<a class="section-link" href="#!Sales Dashboard">Sales Dashboard</a>
<a class="section-link"
title = "sales trends"
href="#!Sales Dashboard">Sales Dashboard</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Helper for managing return of goods (sales or purchase)"
href="#!Form/Sales and Purchase Return Wizard/Sales and Purchase Return Wizard">Sales Returns</a>
</div>
</div>
</div>

View File

@ -3,7 +3,7 @@ wn.provide('erpnext.module_page');
erpnext.module_page.setup_page = function(module, wrapper) {
erpnext.module_page.hide_links(wrapper);
erpnext.module_page.make_list(module, wrapper);
$(wrapper).find("a").tooltip({
$(wrapper).find("a[title]").tooltip({
delay: { show: 500, hide: 100 }
});
}

View File

@ -1,9 +1,10 @@
<div class="layout-wrapper layout-wrapper-background" id="page-selling-home">
<div class="layout-wrapper layout-wrapper-background">
<div class="layout-main-section">
<a class="close" onclick="window.history.back();">&times;</a>
<h1>Stock</h1>
<hr>
<div style="width: 48%; float: left;">
<h4><a href="#!List/Stock Entry">Stock Entry</a></h4>
<h4><a ahref="#!List/Stock Entry">Stock Entry</a></h4>
<p class="help">Transfer stock from one warehouse to another</p>
<h4><a href="#!List/Delivery Note">Delivery Note</a></h4>
<p class="help">Delivery (shipment) to customers</p>
@ -40,6 +41,11 @@
title = "Details of item installations"
href="#!List/Installation Note">Installation Note</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Details packages against a delivery"
href="#!List/Packing Slip">Packing Slip</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Readings of incoming quality inspections"
@ -55,6 +61,16 @@
title = "Distribute costs on Purchase Receipts and add them to item value"
href="#!List/Landed Cost Wizard">Landed Cost Wizard</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Change Unit of Measure (UOM) of an item"
href="#!Form/Stock UOM Replace Utility/Stock UOM Replace Utility">UOM Replace Utility</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Helper for managing return of goods (sales or purchase)"
href="#!Form/Sales and Purchase Return Wizard/Sales and Purchase Return Wizard">Sales or Purchase Returns</a>
</div>
</div>
</div>

View File

@ -0,0 +1,41 @@
<div class="layout-wrapper layout-wrapper-background">
<div class="layout-main-section">
<a class="close" onclick="window.history.back();">&times;</a>
<h1>Support</h1>
<hr>
<div style="width: 48%; float: left;">
<h4><a ahref="#!List/Support Ticket">Support Ticket</a></h4>
<p class="help">Support queries from customers via email or website</p>
<h4><a href="#!List/Customer Issue">Customer Issue</a></h4>
<p class="help">Customer Issue against a Serial No (warranty)</p>
<h4><a href="#!List/Maintenance Schedule">Maintenance Schedule</a></h4>
<p class="help">Plan for scheduled maintenance contracts</p>
<h4><a href="#!List/Maintenance Visit">Maintenance Visit</a></h4>
<p class="help">Visit report for maintenance visit</p>
</div>
<div style="width: 48%; float: right;">
<h4><a href="#!List/Serial No">Serial No</a></h4>
<p class="help">Single unit of an Item</p>
</div>
<div style="clear: both"></div>
<hr>
<h3>Reports</h3>
<div class="reports-list"></div>
</div>
<div class="layout-side-section">
<div class="psidebar">
<div class="section">
<div class="section-head">Tools</div>
<div class="section-body">
<div class="section-item">
<a class="section-link"
title = "Pull support issue from support email account"
href="#!Form/Email Settings/Email Settings">Email Settings</a>
</div>
</div>
</div>
</div>
</div>
<div style="clear: both;"></div>
</div>

View File

@ -0,0 +1,3 @@
pscript['onload_support-home'] = function(wrapper) {
erpnext.module_page.setup_page('Support', wrapper);
}

View File

@ -0,0 +1,52 @@
<div class="layout-wrapper layout-wrapper-background">
<div class="layout-main-section">
<a class="close" onclick="window.history.back();">&times;</a>
<h1>Support</h1>
<hr>
<div style="width: 48%; float: left;">
<h4><a ahref="#!List/Web Page">Web Page</a></h4>
<p class="help">Static (content) web page</p>
<h4><a href="#!List/Product">Product</a></h4>
<p class="help">Product listed in catolog</p>
<h4><a href="#!List/Blog">Blog</a></h4>
<p class="help">Weblog (blog) entry</p>
</div>
<div style="width: 48%; float: right;">
<h4><a href="#!Form/Website Settings/Website Settings">Website Settings</a></h4>
<p class="help">Setup of top navigation bar, footer and logo</p>
</div>
<div style="width: 48%; float: right;">
<h4><a href="#!Form/Style Settings/Style Settings">Style Settings</a></h4>
<p class="help">Setup of fonts and background</p>
</div>
<div style="width: 48%; float: right;">
<h4><a href="#!Form/Products Settings/Products Settings">Products Settings</a></h4>
<p class="help">Setup product categories</p>
</div>
<div style="clear: both"></div>
<hr>
<h3>Reports</h3>
<div class="reports-list"></div>
</div>
<div class="layout-side-section">
<div class="psidebar">
<div class="section">
<div class="section-head">Tools</div>
<div class="section-body">
<div class="section-item">
<a class="section-link"
title = "About Us page"
href="#!Form/About Us Settings/About Us Settings">About Us Settings</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Contact Us page"
href="#!Form/Contact Us Settings/Contact Us Settings">Contact Us Settings</a>
</div>
</div>
</div>
</div>
</div>
<div style="clear: both;"></div>
</div>

View File

@ -0,0 +1,3 @@
pscript['onload_website-home'] = function(wrapper) {
erpnext.module_page.setup_page('Website', wrapper);
}