[minor] allow any time logs to be batched, fixes #5386
This commit is contained in:
parent
79ddf67289
commit
b574658c93
@ -34,10 +34,6 @@ frappe.listview_settings['Time Log'] = {
|
|||||||
// select only billable time logs
|
// select only billable time logs
|
||||||
for(var i in selected) {
|
for(var i in selected) {
|
||||||
var d = selected[i];
|
var d = selected[i];
|
||||||
if(!d.billable) {
|
|
||||||
msgprint(__("Time Log is not billable") + ": " + d.name + " - " + d.title);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if(d.status=="Batched for Billing") {
|
if(d.status=="Batched for Billing") {
|
||||||
msgprint(__("Time Log has been Batched for Billing") + ": " + d.name + " - " + d.title);
|
msgprint(__("Time Log has been Batched for Billing") + ": " + d.name + " - " + d.title);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user