fix in time log batch list
This commit is contained in:
parent
da8c6f6ae2
commit
e1951306eb
@ -44,7 +44,6 @@ def create_time_log():
|
|||||||
def create_time_log_batch(time_log):
|
def create_time_log_batch(time_log):
|
||||||
tlb = frappe.get_doc({
|
tlb = frappe.get_doc({
|
||||||
"doctype": "Time Log Batch",
|
"doctype": "Time Log Batch",
|
||||||
"rate": "500",
|
|
||||||
"time_logs": [
|
"time_logs": [
|
||||||
{
|
{
|
||||||
"doctype": "Time Log Batch Detail",
|
"doctype": "Time Log Batch Detail",
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
frappe.listview_settings['Time Log Batch'] = {
|
frappe.listview_settings['Time Log Batch'] = {
|
||||||
add_fields: ["status", "total_hours", "rate"],
|
add_fields: ["status", "total_hours"],
|
||||||
get_indicator: function(doc) {
|
get_indicator: function(doc) {
|
||||||
return [__(doc.status), frappe.utils.guess_colour(doc.status), "status,=," + doc.status];
|
return [__(doc.status), frappe.utils.guess_colour(doc.status), "status,=," + doc.status];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user