Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// -*- coding: utf-8 -*-
// Copyright (c) 2025, Aakvatech and contributors
// For license information, please see license.txt

frappe.ui.form.on('Bank Statement Summary', {
// refresh: function(frm) {
// // Custom client-side code here
// }
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
{
"actions": [],
"allow_import": 1,
"allow_rename": 1,
"creation": "2025-07-18 10:04:23.811854",
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
"bank_account",
"end_of_month",
"column_break_ozsh",
"bank_account_currency",
"section_break_mmro",
"count_of_transaction",
"column_break_abtd",
"deposit",
"column_break_gegh",
"withdrawal",
"section_break_qsux",
"closing_balance"
],
"fields": [
{
"fieldname": "bank_account",
"fieldtype": "Link",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Bank Account",
"link_filters": "[[\"Bank Account\",\"is_company_account\",\"=\",1]]",
"options": "Bank Account"
},
{
"fieldname": "end_of_month",
"fieldtype": "Date",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "End of Month"
},
{
"fieldname": "column_break_ozsh",
"fieldtype": "Column Break"
},
{
"fetch_from": "bank_account.company_account_currency",
"fieldname": "bank_account_currency",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Bank Account Currency",
"options": "Currency",
"read_only": 1
},
{
"fieldname": "section_break_mmro",
"fieldtype": "Section Break"
},
{
"fieldname": "count_of_transaction",
"fieldtype": "Int",
"label": "Count of Transaction"
},
{
"fieldname": "column_break_abtd",
"fieldtype": "Column Break"
},
{
"fieldname": "deposit",
"fieldtype": "Currency",
"label": "Deposit",
"options": "bank_account_currency"
},
{
"fieldname": "column_break_gegh",
"fieldtype": "Column Break"
},
{
"fieldname": "withdrawal",
"fieldtype": "Currency",
"label": "Withdrawal",
"options": "bank_account_currency"
},
{
"fieldname": "section_break_qsux",
"fieldtype": "Section Break"
},
{
"fieldname": "closing_balance",
"fieldtype": "Currency",
"label": "Closing Balance",
"options": "bank_account_currency"
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-07-23 12:55:41.154068",
"modified_by": "Administrator",
"module": "Av Tools",
"name": "Bank Statement Summary",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"write": 1
}
],
"row_format": "Dynamic",
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"title_field": "bank_account"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2025, Aakvatech and contributors
# For license information, please see license.txt

from frappe.model.document import Document

class BankStatementSummary(Document):
pass
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"actions": [],
"creation": "2021-07-25 21:02:53.417249",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"salary_component",
"valid_from",
"limit_amount",
"limit_number"
],
"fields": [
{
"fieldname": "salary_component",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Salary Component",
"options": "Salary Component",
"reqd": 1
},
{
"fieldname": "valid_from",
"fieldtype": "Date",
"in_list_view": 1,
"label": "Valid From",
"reqd": 1
},
{
"fieldname": "limit_amount",
"fieldtype": "Currency",
"in_list_view": 1,
"label": "Limit Amount",
"reqd": 1
},
{
"fieldname": "limit_number",
"fieldtype": "Int",
"in_list_view": 1,
"label": "Limit Number"
}
],
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2021-07-25 21:02:53.417249",
"modified_by": "Administrator",
"module": "Av Tools",
"name": "Employee Salary Component Limit",
"owner": "Administrator",
"permissions": [],
"sort_field": "modified",
"sort_order": "DESC",
"track_changes": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2021, Aakvatech and contributors
# For license information, please see license.txt

# import frappe
from frappe.model.document import Document

class EmployeeSalaryComponentLimit(Document):
pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// Copyright (c) 2019, Aakvatech and contributors
// For license information, please see license.txt

frappe.ui.form.on('Open Invoice Exchange Rate Revaluation', {
refresh: function(frm) {

},
currency:function(frm,cdt,cdn){
var doc=locals[cdt][cdn]
if(frm.doc.currency && frm.doc.revaluation_date){
frappe.call({
method:"av_tools.av_tools.doctype.open_invoice_exchange_rate_revaluation.open_invoice_exchange_rate_revaluation.getInvoiceExchangeRate",
args:{'currency':frm.doc.currency,'date':frm.doc.revaluation_date},
callback:function(r){
console.log(r.message)
cur_frm.set_value("exchange_rate_to_company_currency",r.message)

}

})
}

},
get_invoices:function(frm,cdt,cdn){
if(frm.doc.__islocal) {
frappe.throw("Save Document Before Get Invoice")
}
if(frm.doc.currency && frm.doc.name){
frappe.call({
method:"av_tools.av_tools.doctype.open_invoice_exchange_rate_revaluation.open_invoice_exchange_rate_revaluation.getInvoice",
args:{'currency':frm.doc.currency,'name':frm.doc.name},
freeze: true,
freeze_message: "Please Wait...",
callback:function(data){
if(data.message){
frm.clear_table("inv_err_detail");
frm.refresh_fields("inv_err_detail");
frm.reload_doc();
}

}


})
}
else{

frappe.msgprint("Currency Mandatory And Document Saved Before Get Invoice")
}

}
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
{
"autoname": "OIERR.#####",
"creation": "2019-02-19 09:52:40.787084",
"doctype": "DocType",
"document_type": "Document",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"company",
"revaluation_date",
"column_break_3",
"currency",
"exchange_rate_to_company_currency",
"get_invoices",
"section_break_7",
"inv_err_detail",
"amended_from",
"refrences_section",
"journal_entry",
"reverse_journal_entry"
],
"fields": [
{
"fieldname": "revaluation_date",
"fieldtype": "Date",
"label": "Revaluation Date"
},
{
"default": "USD",
"fieldname": "currency",
"fieldtype": "Link",
"label": "Currency",
"options": "Currency"
},
{
"fieldname": "exchange_rate_to_company_currency",
"fieldtype": "Currency",
"label": "Exchange rate to company currency",
"precision": "5"
},
{
"fieldname": "get_invoices",
"fieldtype": "Button",
"label": "Get Invoices"
},
{
"fieldname": "inv_err_detail",
"fieldtype": "Table",
"label": "Inv ERR Detail",
"options": "Inv ERR Detail"
},
{
"fieldname": "amended_from",
"fieldtype": "Link",
"label": "Amended From",
"no_copy": 1,
"options": "Open Invoice Exchange Rate Revaluation",
"print_hide": 1,
"read_only": 1
},
{
"fieldname": "refrences_section",
"fieldtype": "Section Break",
"label": "Refrences"
},
{
"fieldname": "journal_entry",
"fieldtype": "Link",
"label": "Journal Entry",
"options": "Journal Entry",
"read_only": 1
},
{
"fieldname": "reverse_journal_entry",
"fieldtype": "Link",
"label": "Reverse Journal Entry",
"options": "Journal Entry",
"read_only": 1
},
{
"fieldname": "company",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Company",
"options": "Company",
"reqd": 1
},
{
"fieldname": "column_break_3",
"fieldtype": "Column Break"
},
{
"fieldname": "section_break_7",
"fieldtype": "Section Break"
}
],
"is_submittable": 1,
"modified": "2020-10-11 22:46:03.797861",
"modified_by": "Administrator",
"module": "Av Tools",
"name": "Open Invoice Exchange Rate Revaluation",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"write": 1
}
],
"sort_field": "modified",
"sort_order": "DESC",
"track_changes": 1
}
Loading
Loading