RT#38533: One click re-send refund,payment receipt, invoice [v3 merge]
[freeside.git] / httemplate / view / cust_main.cgi
index cd8b028..287658f 100755 (executable)
@@ -38,6 +38,14 @@ function areyousure(href, message) {
   if (confirm(message) == true)
     window.location.href = href;
 }
+function areyousure_popup(message, action, actionlabel) {
+  if (confirm(message) == true) {
+<% include('/elements/popup_link_onclick.html',
+     'js_action' => 'action',
+     'js_actionlabel' => 'actionlabel',
+   ) %>
+  }
+}
 </SCRIPT>