Rushabh Mehta | 978d4e8 | 2013-01-09 17:23:45 +0530 | [diff] [blame] | 1 | // ERPNext: Copyright 2013 Web Notes Technologies Pvt Ltd |
| 2 | // GNU General Public License. See "license.txt" |
Rushabh Mehta | 3966f1d | 2012-02-23 12:35:32 +0530 | [diff] [blame] | 3 | |
Rushabh Mehta | 978d4e8 | 2013-01-09 17:23:45 +0530 | [diff] [blame] | 4 | wn.module_page["Setup"] = [ |
| 5 | { |
| 6 | title: wn._("Organization"), |
| 7 | icon: "icon-building", |
| 8 | items: [ |
| 9 | { |
| 10 | "label":wn._("Company"), |
| 11 | "doctype":"Company", |
| 12 | "description":wn._("List of companies (not customers / suppliers)") |
| 13 | }, |
| 14 | { |
| 15 | "doctype":"Fiscal Year", |
| 16 | "label": wn._("Fiscal Year"), |
| 17 | "description":wn._("Financial Years for books of accounts") |
| 18 | }, |
| 19 | { |
| 20 | "doctype":"Currency", |
| 21 | "label": wn._("Currency"), |
Rushabh Mehta | 6382a42 | 2013-01-23 10:09:28 +0530 | [diff] [blame] | 22 | "description": wn._("Enable / disable currencies.") |
Rushabh Mehta | 978d4e8 | 2013-01-09 17:23:45 +0530 | [diff] [blame] | 23 | }, |
| 24 | ] |
| 25 | }, |
| 26 | { |
| 27 | title: wn._("Users"), |
| 28 | icon: "icon-group", |
| 29 | right: true, |
| 30 | items: [ |
| 31 | { |
| 32 | "doctype":"Profile", |
| 33 | "label": wn._("Profile"), |
| 34 | "description": wn._("Add/remove users, set roles, passwords etc") |
| 35 | }, |
| 36 | { |
| 37 | "page":"permission-manager", |
| 38 | label: wn._("Permission Manager"), |
| 39 | "description": wn._("Set permissions on transactions / masters") |
| 40 | }, |
| 41 | { |
| 42 | "page":"user-properties", |
| 43 | label: wn._("User Properties"), |
| 44 | "description":wn._("Set default values for users (also used for permissions).") |
| 45 | }, |
| 46 | { |
| 47 | "doctype":"Workflow", |
Rushabh Mehta | 6a4c468 | 2013-03-12 14:59:46 +0530 | [diff] [blame] | 48 | label:wn._("Workflow"), |
Rushabh Mehta | 978d4e8 | 2013-01-09 17:23:45 +0530 | [diff] [blame] | 49 | "description":wn._("Set workflow rules.") |
| 50 | }, |
| 51 | { |
| 52 | "doctype":"Authorization Rule", |
| 53 | label:wn._("Authorization Rule"), |
| 54 | "description":wn._("Restrict submission rights based on amount") |
| 55 | }, |
| 56 | ] |
| 57 | }, |
| 58 | { |
| 59 | title: wn._("Data"), |
| 60 | icon: "icon-table", |
| 61 | items: [ |
| 62 | { |
| 63 | "page":"data-import-tool", |
| 64 | label: wn._("Data Import"), |
| 65 | "description":wn._("Import data from spreadsheet (csv) files") |
| 66 | }, |
| 67 | { |
| 68 | "route":"Form/Global Defaults", |
| 69 | doctype: "Global Defaults", |
| 70 | label: wn._("Global Defaults"), |
| 71 | "description":wn._("Set default values for entry"), |
| 72 | }, |
| 73 | { |
| 74 | "route":"Form/Naming Series/Naming Series", |
| 75 | doctype: "Naming Series", |
| 76 | label: wn._("Manage numbering series"), |
| 77 | "description":wn._("Set multiple numbering series for transactions") |
| 78 | }, |
Rushabh Mehta | 4731fb9 | 2013-03-26 12:47:19 +0530 | [diff] [blame] | 79 | { |
| 80 | "route":"Form/Rename Tool", |
| 81 | doctype: "Rename Tool", |
| 82 | label: wn._("Rename Tool"), |
| 83 | "description":wn._("Rename multiple items in one go") |
| 84 | }, |
Rushabh Mehta | 978d4e8 | 2013-01-09 17:23:45 +0530 | [diff] [blame] | 85 | ] |
| 86 | }, |
| 87 | { |
| 88 | title: wn._("Branding and Printing"), |
Rushabh Mehta | ae1b0ce | 2013-01-11 16:13:41 +0530 | [diff] [blame] | 89 | icon: "icon-print", |
Rushabh Mehta | 978d4e8 | 2013-01-09 17:23:45 +0530 | [diff] [blame] | 90 | right: true, |
| 91 | items: [ |
| 92 | { |
| 93 | "doctype":"Letter Head", |
| 94 | label:wn._("Letter Head"), |
| 95 | "description":wn._("Letter heads for print") |
| 96 | }, |
| 97 | { |
| 98 | "doctype":"Print Format", |
| 99 | label:wn._("Print Format"), |
| 100 | "description":wn._("HTML print formats for quotes, invoices etc") |
| 101 | }, |
| 102 | { |
| 103 | "doctype":"Print Heading", |
| 104 | label:wn._("Print Heading"), |
| 105 | "description":wn._("Add headers for standard print formats") |
| 106 | }, |
Rushabh Mehta | 978d4e8 | 2013-01-09 17:23:45 +0530 | [diff] [blame] | 107 | ] |
| 108 | }, |
| 109 | { |
| 110 | title: wn._("Email Settings"), |
| 111 | icon: "icon-envelope", |
| 112 | items: [ |
| 113 | { |
| 114 | "route":"Form/Email Settings/Email Settings", |
| 115 | doctype:"Email Settings", |
| 116 | label: wn._("Email Settings"), |
| 117 | "description":wn._("Out going mail server and support ticket mailbox") |
| 118 | }, |
| 119 | { |
Rushabh Mehta | 8f3916d | 2013-01-16 12:50:55 +0530 | [diff] [blame] | 120 | "route":"Form/Sales Email Settings", |
| 121 | doctype:"Sales Email Settings", |
| 122 | label: wn._("Sales Email Settings"), |
| 123 | "description":wn._("Extract Leads from sales email id e.g. sales@example.com") |
| 124 | }, |
| 125 | { |
| 126 | "route":"Form/Jobs Email Settings", |
| 127 | doctype:"Jobs Email Settings", |
| 128 | label: wn._("Jobs Email Settings"), |
| 129 | "description":wn._("Extract Job Applicant from jobs email id e.g. jobs@example.com") |
| 130 | }, |
| 131 | { |
Rushabh Mehta | 978d4e8 | 2013-01-09 17:23:45 +0530 | [diff] [blame] | 132 | "route":"Form/Notification Control/Notification Control", |
| 133 | doctype:"Notification Control", |
| 134 | label: wn._("Notification Control"), |
| 135 | "description":wn._("Prompt email sending to customers and suppliers"), |
| 136 | }, |
| 137 | { |
| 138 | "doctype":"Email Digest", |
| 139 | label: wn._("Email Digest"), |
| 140 | "description":wn._("Daily, weekly, monthly email Digests") |
| 141 | }, |
| 142 | { |
| 143 | "route":"Form/SMS Settings/SMS Settings", |
| 144 | doctype:"SMS Settings", |
| 145 | label: wn._("SMS Settings"), |
| 146 | "description":wn._("Setup outgoing SMS via your bulk SMS provider") |
| 147 | }, |
| 148 | { |
| 149 | "route":"Form/SMS Center/SMS Center", |
| 150 | doctype:"SMS Center", |
| 151 | label: wn._("SMS Center"), |
| 152 | "description":wn._("Send bulk SMS to leads, customers, contacts") |
| 153 | }, |
| 154 | ] |
| 155 | }, |
| 156 | { |
| 157 | title: wn._("Customize"), |
| 158 | icon: "icon-wrench", |
| 159 | items: [ |
| 160 | { |
| 161 | "route":"Form/Customize Form/Customize Form", |
| 162 | doctype:"Customize Form", |
| 163 | label: wn._("Customize Form"), |
| 164 | "description":wn._("Change entry properties (hide fields, make mandatory etc)") |
| 165 | }, |
| 166 | { |
| 167 | "doctype":"Custom Field", |
| 168 | label: wn._("Custom Field"), |
| 169 | "description":wn._("Add fields to forms") |
| 170 | }, |
| 171 | { |
| 172 | "doctype":"Custom Script", |
| 173 | label: wn._("Custom Script"), |
| 174 | "description":wn._("Add custom code to forms") |
| 175 | }, |
| 176 | { |
| 177 | "route":"Form/Features Setup/Features Setup", |
| 178 | "description":wn._("Simplify entry forms by disabling features"), |
| 179 | doctype:"Features Setup", |
| 180 | label: wn._("Features Setup"), |
| 181 | }, |
| 182 | { |
| 183 | "page":"modules_setup", |
| 184 | label: wn._("Show / Hide Modules"), |
| 185 | "description":wn._("Show, hide modules") |
| 186 | }, |
| 187 | ] |
| 188 | }, |
Rushabh Mehta | 2025084 | 2013-03-07 12:25:21 +0530 | [diff] [blame] | 189 | { |
| 190 | title: wn._("Backups"), |
| 191 | icon: "icon-cloud-upload", |
| 192 | right: true, |
| 193 | items: [ |
| 194 | { |
| 195 | "route":"Form/Backup Manager", |
| 196 | doctype:"Backup Manager", |
| 197 | label: wn._("Backup Manager"), |
| 198 | "description":wn._("Sync backups with remote tools like Dropbox etc.") |
| 199 | }, |
| 200 | ] |
| 201 | }, |
Rushabh Mehta | 978d4e8 | 2013-01-09 17:23:45 +0530 | [diff] [blame] | 202 | ] |
| 203 | |
| 204 | pscript['onload_Setup'] = function(wrapper) { |
| 205 | wn.views.moduleview.make(wrapper, "Setup"); |
Anand Doshi | 197d1b4 | 2012-12-07 15:21:34 +0530 | [diff] [blame] | 206 | if(wn.boot.expires_on) { |
Rushabh Mehta | 978d4e8 | 2013-01-09 17:23:45 +0530 | [diff] [blame] | 207 | $(wrapper).find(".main-section") |
Anand Doshi | 197d1b4 | 2012-12-07 15:21:34 +0530 | [diff] [blame] | 208 | .prepend("<div class='alert'>Your ERPNext account will expire on " |
| 209 | + wn.datetime.global_date_format(wn.boot.expires_on) + "</div>"); |
| 210 | } |
Rushabh Mehta | c5471dd | 2012-02-22 12:07:42 +0530 | [diff] [blame] | 211 | } |