{
 "actions": [],
 "allow_rename": 1,
 "autoname": "hash",
 "creation": "2022-01-28 20:07:37.989538",
 "pagetype": "PageType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "enabled",
  "team_title",
  "user",
  "account_request",
  "parent_team",
  "column_break_wejg",
  "is_developer",
  "is_saas_user",
  "is_code_server_user",
  "free_account",
  "via_jerp",
  "enforce_2fa",
  "extend_payment_due_suspension",
  "apply_npo_discount",
  "skip_onboarding",
  "team_members_tab",
  "section_break_6",
  "team_members",
  "section_break_tdm9",
  "child_team_members",
  "billing_tab",
  "subscription_details_section",
  "stripe_customer_id",
  "country",
  "currency",
  "payment_mode",
  "billing_team",
  "default_payment_method",
  "billing_name",
  "billing_address",
  "free_credits_allocated",
  "column_break_12",
  "address_html",
  "section_break_jzok",
  "receive_budget_alerts",
  "monthly_alert_threshold",
  "column_break_hunh",
  "notification_tab",
  "section_break_9",
  "send_notifications",
  "column_break_9",
  "last_used_team",
  "section_break_28",
  "communication_infos",
  "partner_tab",
  "partner_details_section",
  "jerp_partner",
  "company_name",
  "partner_email",
  "partner_manager",
  "column_break_ooyo",
  "partner_status",
  "partner_tier",
  "website_info_section",
  "company_logo",
  "website_link",
  "introduction",
  "column_break_akmx",
  "customers",
  "partnership_date_section",
  "start_date",
  "column_break_egkq",
  "end_date",
  "partner_section",
  "partner_referral_code",
  "partnership_date",
  "column_break_ppov",
  "jingrow_partnership_date",
  "partner_commission",
  "feature_flags_tab",
  "feature_flags_section",
  "referrer_id",
  "ssh_access_enabled",
  "skip_backups",
  "enable_inplace_updates",
  "column_break_31",
  "database_access_enabled",
  "enable_performance_tuning",
  "razorpay_enabled",
  "servers_enabled",
  "code_servers_enabled",
  "self_hosted_servers_enabled",
  "security_portal_enabled",
  "benches_enabled",
  "mpesa_enabled",
  "discounts_section",
  "discounts",
  "is_us_eu",
  "custom_apps_tab",
  "custom_apps_section",
  "github_access_token",
  "column_break_uyxo",
  "mpesa_tax_id",
  "mpesa_phone_number"
 ],
 "fields": [
  {
   "fieldname": "user",
   "fieldtype": "Link",
   "label": "User",
   "options": "User",
   "search_index": 1
  },
  {
   "fieldname": "team_members",
   "fieldtype": "Table",
   "label": "Team Members",
   "options": "Team Member"
  },
  {
   "default": "0",
   "fieldname": "enabled",
   "fieldtype": "Check",
   "label": "Enabled"
  },
  {
   "fieldname": "section_break_6",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "subscription_details_section",
   "fieldtype": "Section Break",
   "label": "Subscription Details"
  },
  {
   "fieldname": "stripe_customer_id",
   "fieldtype": "Data",
   "label": "Stripe Customer ID",
   "read_only": 1
  },
  {
   "fieldname": "country",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Country",
   "options": "Country"
  },
  {
   "fieldname": "currency",
   "fieldtype": "Link",
   "label": "Currency",
   "options": "Currency",
   "read_only": 1
  },
  {
   "fieldname": "default_payment_method",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Default Payment Method",
   "options": "Stripe Payment Method"
  },
  {
   "default": "0",
   "description": "If checked, usage data will not be sent to Stripe and they won't be charged",
   "fieldname": "free_account",
   "fieldtype": "Check",
   "in_standard_filter": 1,
   "label": "Free Account",
   "search_index": 1
  },
  {
   "fieldname": "address_html",
   "fieldtype": "HTML",
   "label": "Address HTML"
  },
  {
   "fieldname": "column_break_12",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "free_credits_allocated",
   "fieldtype": "Check",
   "label": "Free Credits Allocated"
  },
  {
   "fieldname": "billing_address",
   "fieldtype": "Link",
   "label": "Billing Address",
   "options": "Address"
  },
  {
   "fieldname": "github_access_token",
   "fieldtype": "Data",
   "label": "GitHub Access Token"
  },
  {
   "fieldname": "feature_flags_section",
   "fieldtype": "Section Break",
   "label": "Feature Flags"
  },
  {
   "fieldname": "custom_apps_section",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "billing_name",
   "fieldtype": "Data",
   "label": "Billing Name"
  },
  {
   "default": "0",
   "description": "Enabled if this account was created via the JERP signup form",
   "fieldname": "via_jerp",
   "fieldtype": "Check",
   "label": "Via JERP",
   "read_only": 1
  },
  {
   "default": "0",
   "description": "A developer creates app(s) for the marketplace",
   "fieldname": "is_developer",
   "fieldtype": "Check",
   "in_standard_filter": 1,
   "label": "Is Developer"
  },
  {
   "fieldname": "payment_mode",
   "fieldtype": "Select",
   "label": "Payment Mode",
   "options": "\nCard\nPrepaid Credits\nPaid By Partner"
  },
  {
   "fieldname": "column_break_9",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "section_break_9",
   "fieldtype": "Section Break"
  },
  {
   "default": "1",
   "fieldname": "send_notifications",
   "fieldtype": "Check",
   "label": "Send Notifications"
  },
  {
   "fieldname": "referrer_id",
   "fieldtype": "Data",
   "label": "Referrer ID",
   "read_only": 1
  },
  {
   "fieldname": "section_break_28",
   "fieldtype": "Section Break"
  },
  {
   "default": "1",
   "fieldname": "ssh_access_enabled",
   "fieldtype": "Check",
   "label": "SSH Access Enabled"
  },
  {
   "default": "1",
   "fieldname": "database_access_enabled",
   "fieldtype": "Check",
   "label": "Database Access Enabled"
  },
  {
   "collapsible": 1,
   "fieldname": "discounts_section",
   "fieldtype": "Section Break",
   "hidden": 1,
   "label": "Discounts"
  },
  {
   "fieldname": "discounts",
   "fieldtype": "Table",
   "label": "Discounts",
   "options": "Invoice Discount"
  },
  {
   "fieldname": "partner_email",
   "fieldtype": "Data",
   "label": "Partner Email"
  },
  {
   "fieldname": "column_break_31",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "razorpay_enabled",
   "fieldtype": "Check",
   "label": "RazorPay Enabled"
  },
  {
   "default": "0",
   "fieldname": "is_us_eu",
   "fieldtype": "Check",
   "label": "Is US / EU"
  },
  {
   "default": "0",
   "fieldname": "servers_enabled",
   "fieldtype": "Check",
   "label": "Servers Enabled"
  },
  {
   "fieldname": "last_used_team",
   "fieldtype": "Link",
   "label": "Last Used Team",
   "options": "Team"
  },
  {
   "default": "0",
   "description": "If checked, team can skip backups for site update",
   "fieldname": "skip_backups",
   "fieldtype": "Check",
   "label": "Allow to skip Backups"
  },
  {
   "fieldname": "parent_team",
   "fieldtype": "Link",
   "label": "Parent Team",
   "options": "Team",
   "search_index": 1
  },
  {
   "fieldname": "section_break_tdm9",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "child_team_members",
   "fieldtype": "Table",
   "label": "Child Team Members",
   "options": "Child Team Member"
  },
  {
   "fieldname": "team_title",
   "fieldtype": "Data",
   "hidden": 1,
   "label": "Team Title"
  },
  {
   "default": "0",
   "fieldname": "self_hosted_servers_enabled",
   "fieldtype": "Check",
   "label": "Self Hosted Servers Enabled"
  },
  {
   "fieldname": "account_request",
   "fieldtype": "Link",
   "label": "Account Request",
   "options": "Account Request"
  },
  {
   "default": "0",
   "description": "SaaS user sees a simplified version of the dashboard",
   "fieldname": "is_saas_user",
   "fieldtype": "Check",
   "label": "Is SaaS User"
  },
  {
   "default": "0",
   "fieldname": "security_portal_enabled",
   "fieldtype": "Check",
   "label": "Security Portal Enabled"
  },
  {
   "default": "0",
   "fieldname": "benches_enabled",
   "fieldtype": "Check",
   "label": "Benches Enabled"
  },
  {
   "default": "0",
   "fieldname": "code_servers_enabled",
   "fieldtype": "Check",
   "label": "Code Servers Enabled"
  },
  {
   "depends_on": "eval: !pg.jerp_partner && pg.payment_mode == 'Paid By Partner'",
   "fieldname": "billing_team",
   "fieldtype": "Link",
   "label": "Billing Team",
   "mandatory_depends_on": "eval: pg.payment_mode == 'Paid By Partner'",
   "options": "Team"
  },
  {
   "fieldname": "partner_referral_code",
   "fieldtype": "Data",
   "label": "Partner Referral Code",
   "read_only": 1
  },
  {
   "fieldname": "partner_section",
   "fieldtype": "Section Break"
  },
  {
   "depends_on": "eval:!pg.jerp_partner && pg.partner_email",
   "fieldname": "partnership_date",
   "fieldtype": "Date",
   "label": "Customer Partnership Date"
  },
  {
   "fieldname": "column_break_ppov",
   "fieldtype": "Column Break"
  },
  {
   "depends_on": "eval:pg.jerp_partner",
   "description": "Fetched from framework.jingrow.com",
   "fieldname": "jingrow_partnership_date",
   "fieldtype": "Date",
   "label": "Jingrow Partnership Date",
   "read_only": 1
  },
  {
   "default": "0",
   "description": "If checked, code server is enabled on created benches.",
   "fieldname": "is_code_server_user",
   "fieldtype": "Check",
   "label": "Is Code Server User"
  },
  {
   "fieldname": "column_break_wejg",
   "fieldtype": "Column Break"
  },
  {
   "default": "false",
   "fieldname": "enable_performance_tuning",
   "fieldtype": "Check",
   "label": "Enable Performance Tuning"
  },
  {
   "default": "0",
   "description": "Enforces 2FA to all members",
   "fieldname": "enforce_2fa",
   "fieldtype": "Check",
   "label": "Enforce 2FA"
  },
  {
   "default": "0",
   "description": "Allows bypassing build to update a Bench (if conditions are met)",
   "fieldname": "enable_inplace_updates",
   "fieldtype": "Check",
   "label": "Enable In Place Updates"
  },
  {
   "default": "0",
   "fieldname": "mpesa_enabled",
   "fieldtype": "Check",
   "label": "Mpesa Enabled"
  },
  {
   "fieldname": "column_break_uyxo",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "mpesa_tax_id",
   "fieldtype": "Data",
   "label": "Mpesa Tax Id"
  },
  {
   "fieldname": "mpesa_phone_number",
   "fieldtype": "Data",
   "label": "Mpesa Phone Number"
  },
  {
   "fieldname": "partner_commission",
   "fieldtype": "Percent",
   "label": "Partner Commission"
  },
  {
   "fieldname": "team_members_tab",
   "fieldtype": "Tab Break",
   "label": "Team Members"
  },
  {
   "fieldname": "notification_tab",
   "fieldtype": "Tab Break",
   "label": "Notification"
  },
  {
   "fieldname": "billing_tab",
   "fieldtype": "Tab Break",
   "label": "Billing"
  },
  {
   "fieldname": "partner_tab",
   "fieldtype": "Tab Break",
   "label": "Partner"
  },
  {
   "fieldname": "feature_flags_tab",
   "fieldtype": "Tab Break",
   "label": "Feature Flags"
  },
  {
   "fieldname": "partner_details_section",
   "fieldtype": "Section Break",
   "label": "Partner Details"
  },
  {
   "fieldname": "column_break_ooyo",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "partner_tier",
   "fieldtype": "Link",
   "label": "Partner Tier",
   "options": "Partner Tier"
  },
  {
   "fieldname": "custom_apps_tab",
   "fieldtype": "Tab Break",
   "label": "Custom Apps"
  },
  {
   "default": "0",
   "fieldname": "jerp_partner",
   "fieldtype": "Check",
   "in_standard_filter": 1,
   "label": "JERP Partner",
   "read_only": 1
  },
  {
   "depends_on": "eval: pg.jerp_partner == 1",
   "fieldname": "website_info_section",
   "fieldtype": "Section Break",
   "label": "Website Info"
  },
  {
   "fieldname": "company_logo",
   "fieldtype": "Attach",
   "label": "Company Logo"
  },
  {
   "fieldname": "website_link",
   "fieldtype": "Data",
   "label": "Website Link"
  },
  {
   "fieldname": "introduction",
   "fieldtype": "Small Text",
   "label": "Introduction"
  },
  {
   "fieldname": "column_break_akmx",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "customers",
   "fieldtype": "Small Text",
   "label": "Customers"
  },
  {
   "default": "0",
   "fieldname": "extend_payment_due_suspension",
   "fieldtype": "Check",
   "label": "Extend Payment Due Suspension",
   "read_only": 1
  },
  {
   "default": "0",
   "description": "If checked, Non Profit Organisation discount will be applied in Invoice",
   "fieldname": "apply_npo_discount",
   "fieldtype": "Check",
   "label": "Apply NPO Discount"
  },
  {
   "fieldname": "partner_status",
   "fieldtype": "Select",
   "label": "Partner Status",
   "options": "Active\nInactive"
  },
  {
   "default": "0",
   "description": "If checked, members will not be forced to go through the onboarding",
   "fieldname": "skip_onboarding",
   "fieldtype": "Check",
   "label": "Skip Onboarding"
  },
  {
   "fieldname": "communication_infos",
   "fieldtype": "Table",
   "label": "Communication Infos",
   "options": "Communication Info"
  },
  {
   "fieldname": "section_break_jzok",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "column_break_hunh",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "receive_budget_alerts",
   "fieldtype": "Check",
   "label": "Receive Budget Alerts"
  },
  {
   "depends_on": "receive_budget_alerts",
   "description": "Email alert when monthly spend exceeds limit",
   "fieldname": "monthly_alert_threshold",
   "fieldtype": "Currency",
   "label": "Monthly Alert Limit",
   "mandatory_depends_on": "receive_budget_alerts"
  },
  {
   "fieldname": "partner_manager",
   "fieldtype": "Link",
   "label": "Partner Manager",
   "options": "User"
  },
  {
   "fieldname": "partnership_date_section",
   "fieldtype": "Section Break",
   "label": "Partnership Date"
  },
  {
   "fieldname": "start_date",
   "fieldtype": "Date",
   "label": "Start Date"
  },
  {
   "fieldname": "column_break_egkq",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "end_date",
   "fieldtype": "Date",
   "label": "End Date"
  },
  {
   "fieldname": "company_name",
   "fieldtype": "Data",
   "label": "Company Name"
  }
 ],
 "grid_page_length": 50,
 "links": [
  {
   "group": "General",
   "link_pagetype": "Release Group",
   "link_fieldname": "team"
  },
  {
   "group": "General",
   "link_pagetype": "Site",
   "link_fieldname": "team"
  },
  {
   "group": "General",
   "link_pagetype": "App",
   "link_fieldname": "team"
  },
  {
   "group": "Billing",
   "link_pagetype": "Invoice",
   "link_fieldname": "team"
  },
  {
   "group": "Billing",
   "link_pagetype": "Usage Record",
   "link_fieldname": "team"
  },
  {
   "group": "Billing",
   "link_pagetype": "Subscription",
   "link_fieldname": "team"
  },
  {
   "group": "Billing",
   "link_pagetype": "Balance Transaction",
   "link_fieldname": "team"
  },
  {
   "group": "Billing",
   "link_pagetype": "Stripe Webhook Log",
   "link_fieldname": "team"
  },
  {
   "group": "Marketplace",
   "link_pagetype": "Marketplace App",
   "link_fieldname": "team"
  },
  {
   "group": "Marketplace",
   "link_pagetype": "Marketplace Publisher Profile",
   "link_fieldname": "team"
  },
  {
   "group": "Billing",
   "link_pagetype": "Stripe Payment Method",
   "link_fieldname": "team"
  },
  {
   "group": "Billing",
   "link_pagetype": "Payment Due Extension",
   "link_fieldname": "team"
  }
 ],
 "modified": "2025-11-06 18:07:54.307229",
 "modified_by": "Administrator",
 "module": "Jcloude",
 "name": "Team",
 "naming_rule": "Random",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  },
  {
   "create": 1,
   "read": 1,
   "role": "Jcloude Admin",
   "write": 1
  },
  {
   "email": 1,
   "export": 1,
   "print": 1,
   "report": 1,
   "role": "Jcloude Marketplace Manager",
   "select": 1,
   "share": 1
  }
 ],
 "quick_entry": 1,
 "row_format": "Dynamic",
 "show_title_field_in_link": 1,
 "sort_field": "modified",
 "sort_order": "DESC",
 "states": [],
 "title_field": "user",
 "track_changes": 1
}
