-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from libracore/ticketing
Ticketing
- Loading branch information
Showing
39 changed files
with
3,546 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) 2022, libracore and contributors | ||
// For license information, please see license.txt | ||
|
||
cur_frm.fields_dict.blocks.grid.get_field('block').get_query = | ||
function() { | ||
return { | ||
filters: { | ||
"meeting": cur_frm.doc.meeting | ||
} | ||
} | ||
}; | ||
|
||
frappe.ui.form.on('Block Price', { | ||
// refresh: function(frm) { | ||
|
||
// } | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"creation": "2022-06-07 14:36:21.386116", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"visitor_type", | ||
"rate", | ||
"col_main", | ||
"meeting", | ||
"sec_blocks", | ||
"blocks" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "visitor_type", | ||
"fieldtype": "Link", | ||
"in_list_view": 1, | ||
"label": "Visitor Type", | ||
"options": "Visitor Type", | ||
"reqd": 1 | ||
}, | ||
{ | ||
"fieldname": "blocks", | ||
"fieldtype": "Table", | ||
"label": "Blocks", | ||
"options": "Block Price Block", | ||
"reqd": 1 | ||
}, | ||
{ | ||
"fieldname": "rate", | ||
"fieldtype": "Currency", | ||
"in_list_view": 1, | ||
"label": "Rate", | ||
"reqd": 1 | ||
}, | ||
{ | ||
"fieldname": "col_main", | ||
"fieldtype": "Column Break" | ||
}, | ||
{ | ||
"fieldname": "meeting", | ||
"fieldtype": "Link", | ||
"in_list_view": 1, | ||
"label": "Meeting", | ||
"options": "Meeting", | ||
"reqd": 1 | ||
}, | ||
{ | ||
"fieldname": "sec_blocks", | ||
"fieldtype": "Section Break", | ||
"label": "Blocks" | ||
} | ||
], | ||
"modified": "2022-06-21 16:16:52.084853", | ||
"modified_by": "Administrator", | ||
"module": "Lifefair", | ||
"name": "Block Price", | ||
"owner": "Administrator", | ||
"permissions": [ | ||
{ | ||
"create": 1, | ||
"delete": 1, | ||
"email": 1, | ||
"export": 1, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "System Manager", | ||
"share": 1, | ||
"write": 1 | ||
}, | ||
{ | ||
"email": 1, | ||
"export": 1, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "Lifefair User", | ||
"share": 1 | ||
}, | ||
{ | ||
"create": 1, | ||
"delete": 1, | ||
"email": 1, | ||
"export": 1, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "Lifefair Manager", | ||
"share": 1, | ||
"write": 1 | ||
} | ||
], | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"title_field": "visitor_type", | ||
"track_changes": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright (c) 2022, libracore and contributors | ||
# For license information, please see license.txt | ||
|
||
from __future__ import unicode_literals | ||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
class BlockPrice(Document): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright (c) 2022, libracore and Contributors | ||
# See license.txt | ||
from __future__ import unicode_literals | ||
|
||
# import frappe | ||
import unittest | ||
|
||
class TestBlockPrice(unittest.TestCase): | ||
pass |
Empty file.
30 changes: 30 additions & 0 deletions
30
lifefair/lifefair/doctype/block_price_block/block_price_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"creation": "2022-06-07 15:03:27.871217", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"block" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "block", | ||
"fieldtype": "Link", | ||
"in_list_view": 1, | ||
"label": "Block", | ||
"options": "Block", | ||
"reqd": 1 | ||
} | ||
], | ||
"istable": 1, | ||
"modified": "2022-06-07 15:03:27.871217", | ||
"modified_by": "Administrator", | ||
"module": "Lifefair", | ||
"name": "Block Price Block", | ||
"owner": "Administrator", | ||
"permissions": [], | ||
"quick_entry": 1, | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"track_changes": 1 | ||
} |
10 changes: 10 additions & 0 deletions
10
lifefair/lifefair/doctype/block_price_block/block_price_block.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright (c) 2022, libracore and contributors | ||
# For license information, please see license.txt | ||
|
||
from __future__ import unicode_literals | ||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
class BlockPriceBlock(Document): | ||
pass |
Empty file.
8 changes: 8 additions & 0 deletions
8
lifefair/lifefair/doctype/contact_data_change/contact_data_change.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Copyright (c) 2022, libracore and contributors | ||
// For license information, please see license.txt | ||
|
||
frappe.ui.form.on('Contact Data Change', { | ||
// refresh: function(frm) { | ||
|
||
// } | ||
}); |
62 changes: 62 additions & 0 deletions
62
lifefair/lifefair/doctype/contact_data_change/contact_data_change.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"creation": "2022-06-20 16:22:42.345820", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"person", | ||
"form_data" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "person", | ||
"fieldtype": "Link", | ||
"in_list_view": 1, | ||
"label": "Person", | ||
"options": "Person", | ||
"read_only": 1, | ||
"unique": 1 | ||
}, | ||
{ | ||
"fieldname": "form_data", | ||
"fieldtype": "Long Text", | ||
"label": "Form Data", | ||
"read_only": 1 | ||
} | ||
], | ||
"modified": "2022-06-21 16:18:24.751241", | ||
"modified_by": "Administrator", | ||
"module": "Lifefair", | ||
"name": "Contact Data Change", | ||
"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, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "Lifefair User", | ||
"share": 1, | ||
"write": 1 | ||
} | ||
], | ||
"quick_entry": 1, | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"track_changes": 1 | ||
} |
10 changes: 10 additions & 0 deletions
10
lifefair/lifefair/doctype/contact_data_change/contact_data_change.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright (c) 2022, libracore and contributors | ||
# For license information, please see license.txt | ||
|
||
from __future__ import unicode_literals | ||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
class ContactDataChange(Document): | ||
pass |
10 changes: 10 additions & 0 deletions
10
lifefair/lifefair/doctype/contact_data_change/test_contact_data_change.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright (c) 2022, libracore and Contributors | ||
# See license.txt | ||
from __future__ import unicode_literals | ||
|
||
# import frappe | ||
import unittest | ||
|
||
class TestContactDataChange(unittest.TestCase): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
10 changes: 10 additions & 0 deletions
10
lifefair/lifefair/doctype/ticket_voucher/test_ticket_voucher.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright (c) 2022, libracore and Contributors | ||
# See license.txt | ||
from __future__ import unicode_literals | ||
|
||
# import frappe | ||
import unittest | ||
|
||
class TestTicketVoucher(unittest.TestCase): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Copyright (c) 2022, libracore and contributors | ||
// For license information, please see license.txt | ||
|
||
frappe.ui.form.on('Ticket Voucher', { | ||
// refresh: function(frm) { | ||
|
||
// } | ||
}); |
Oops, something went wrong.