Charles-Henri Decultot | bc7a549 | 2018-03-01 06:29:21 +0100 | [diff] [blame] | 1 | from __future__ import unicode_literals |
| 2 | from frappe import _ |
| 3 | |
| 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
| 7 | "label": _("Payments"), |
| 8 | "icon": "fa fa-star", |
| 9 | "items": [ |
| 10 | { |
| 11 | "type": "doctype", |
Charles-Henri Decultot | 30da37f | 2018-05-23 16:40:41 +0000 | [diff] [blame^] | 12 | "name": "Stripe Settings", |
| 13 | "description": _("Stripe payment gateway settings"), |
| 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
Charles-Henri Decultot | bc7a549 | 2018-03-01 06:29:21 +0100 | [diff] [blame] | 17 | "name": "GoCardless Settings", |
| 18 | "description": _("GoCardless payment gateway settings"), |
| 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
| 22 | "name": "GoCardless Mandate", |
| 23 | "description": _("GoCardless SEPA Mandate"), |
| 24 | } |
| 25 | ] |
Vinayak Jethe | df83148 | 2018-04-03 11:17:03 +0530 | [diff] [blame] | 26 | }, |
| 27 | { |
| 28 | "label": _("Settings"), |
| 29 | "items": [ |
| 30 | { |
| 31 | "type": "doctype", |
| 32 | "name": "Woocommerce Settings" |
Saurabh | d60c0f2 | 2018-05-16 11:33:47 +0530 | [diff] [blame] | 33 | }, |
| 34 | { |
| 35 | "type": "doctype", |
| 36 | "name": "Shopify Settings", |
| 37 | "description": _("Connect Shopify with ERPNext"), |
Vinayak Jethe | df83148 | 2018-04-03 11:17:03 +0530 | [diff] [blame] | 38 | } |
| 39 | ] |
Charles-Henri Decultot | bc7a549 | 2018-03-01 06:29:21 +0100 | [diff] [blame] | 40 | } |
| 41 | ] |