{
 "actions": [],
 "allow_import": 1,
 "allow_rename": 1,
 "creation": "2023-08-24 17:46:52.065763",
 "default_view": "List",
 "doctype": "DocType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "member",
  "billing_name",
  "source",
  "column_break_rqkd",
  "payment_for_document_type",
  "payment_for_document",
  "payment_received",
  "payment_for_certificate",
  "member_consent",
  "payment_details_section",
  "original_amount",
  "discount_amount",
  "amount",
  "amount_with_gst",
  "column_break_yxpl",
  "currency",
  "coupon",
  "coupon_code",
  "billing_details_section",
  "address",
  "payment_id",
  "order_id",
  "column_break_monu",
  "gstin",
  "pan"
 ],
 "fields": [
  {
   "fieldname": "order_id",
   "fieldtype": "Data",
   "label": "Order ID"
  },
  {
   "fieldname": "payment_id",
   "fieldtype": "Data",
   "label": "Payment ID"
  },
  {
   "fieldname": "amount",
   "fieldtype": "Currency",
   "in_list_view": 1,
   "label": "Amount",
   "options": "currency",
   "reqd": 1
  },
  {
   "fieldname": "coupon",
   "fieldtype": "Link",
   "label": "Coupon",
   "options": "LMS Coupon"
  },
  {
   "depends_on": "coupon",
   "fieldname": "discount_amount",
   "fieldtype": "Currency",
   "label": "Discount Amount",
   "options": "currency"
  },
  {
   "fieldname": "currency",
   "fieldtype": "Link",
   "label": "Currency",
   "options": "Currency",
   "reqd": 1
  },
  {
   "fieldname": "column_break_rqkd",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "gstin",
   "fieldtype": "Data",
   "label": "GSTIN"
  },
  {
   "fieldname": "pan",
   "fieldtype": "Data",
   "label": "PAN"
  },
  {
   "fieldname": "address",
   "fieldtype": "Link",
   "label": "Address",
   "options": "Address",
   "reqd": 1
  },
  {
   "default": "0",
   "fieldname": "payment_received",
   "fieldtype": "Check",
   "in_standard_filter": 1,
   "label": "Payment Received"
  },
  {
   "fetch_from": "user.full_name",
   "fieldname": "billing_name",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "Billing Name",
   "reqd": 1
  },
  {
   "fieldname": "payment_details_section",
   "fieldtype": "Section Break",
   "label": "Payment Details"
  },
  {
   "fieldname": "column_break_yxpl",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "billing_details_section",
   "fieldtype": "Section Break",
   "label": "Billing Details"
  },
  {
   "fieldname": "column_break_monu",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "member",
   "fieldtype": "Link",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Member",
   "options": "User",
   "reqd": 1
  },
  {
   "fieldname": "payment_for_document_type",
   "fieldtype": "Select",
   "label": "Payment for Document Type",
   "options": "\nLMS Course\nLMS Batch",
   "reqd": 1
  },
  {
   "fieldname": "payment_for_document",
   "fieldtype": "Dynamic Link",
   "label": "Payment for Document",
   "options": "payment_for_document_type",
   "reqd": 1
  },
  {
   "fieldname": "source",
   "fieldtype": "Link",
   "label": "Source",
   "options": "LMS Source",
   "reqd": 1
  },
  {
   "default": "0",
   "fieldname": "payment_for_certificate",
   "fieldtype": "Check",
   "in_standard_filter": 1,
   "label": "Payment for Certificate"
  },
  {
   "depends_on": "coupon",
   "fetch_from": "coupon.code",
   "fieldname": "coupon_code",
   "fieldtype": "Data",
   "label": "Coupon Code",
   "read_only": 1
  },
  {
   "depends_on": "eval:doc.currency == \"INR\"",
   "fieldname": "amount_with_gst",
   "fieldtype": "Currency",
   "label": "Amount with GST"
  },
  {
   "depends_on": "coupon",
   "fieldname": "original_amount",
   "fieldtype": "Currency",
   "label": "Original Amount",
   "options": "currency"
  },
  {
   "default": "0",
   "fieldname": "member_consent",
   "fieldtype": "Check",
   "label": "Member Consent"
  }
 ],
 "index_web_pages_for_search": 1,
 "links": [
  {
   "link_doctype": "LMS Batch Enrollment",
   "link_fieldname": "payment"
  },
  {
   "link_doctype": "LMS Enrollment",
   "link_fieldname": "payment"
  }
 ],
 "modified": "2026-03-06 17:38:02.235044",
 "modified_by": "Administrator",
 "module": "LMS",
 "name": "LMS Payment",
 "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,
   "delete": 1,
   "email": 1,
   "export": 1,
   "import": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Moderator",
   "share": 1,
   "write": 1
  }
 ],
 "row_format": "Dynamic",
 "show_title_field_in_link": 1,
 "sort_field": "modified",
 "sort_order": "DESC",
 "states": [],
 "title_field": "billing_name",
 "track_changes": 1
}
