frappe.ui.form.on('Service Request', {
refresh: function(frm) {
// Renaming the "Add Row" button to "Add Service" specifically for the table_lepd child table
frm.fields_dict['table_lepd'].grid.get_field('idx').grid_buttons.find('.grid-add-row').text('Add Service');
// Ensure any other "Add Row" button with the class grid-add-row is also renamed (if necessary)
$('button.grid-add-row').text("Add Service");
}
});