mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
[minor] allow any time logs to be batched, fixes #5386
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user