X7ROOT File Manager
Current Path:
/home/mysptejz/public_html/billing/modules/reports
home
/
mysptejz
/
public_html
/
billing
/
modules
/
reports
/
ðŸ“
..
📄
affiliates_overview.php
(2.59 KB)
📄
aging_invoices.php
(4.57 KB)
📄
annual_income_report.php
(3.26 KB)
📄
client.php
(4.66 KB)
📄
client_sources.php
(4.58 KB)
📄
client_statement.php
(6.88 KB)
📄
clients.php
(5.8 KB)
📄
clients_by_country.php
(2.22 KB)
📄
credits_reviewer.php
(6.06 KB)
📄
customer_retention_time.php
(9.07 KB)
📄
daily_performance.php
(4.96 KB)
📄
direct_debit_processing.php
(2.95 KB)
📄
disk_usage_summary.php
(3.19 KB)
📄
domain_renewal_emails.php
(6.09 KB)
📄
domains.php
(8.4 KB)
📄
income_by_product.php
(8.92 KB)
📄
income_forecast.php
(4.26 KB)
📄
index.php
(42 B)
📄
invoices.php
(10.36 KB)
📄
monthly_orders.php
(3.45 KB)
📄
monthly_transactions.php
(4.05 KB)
📄
new_customers.php
(4.36 KB)
📄
pdf_batch.php
(4.43 KB)
📄
product_suspensions.php
(1.55 KB)
📄
promotions_usage.php
(3.53 KB)
📄
sales_tax_liability.php
(5.65 KB)
📄
server_revenue_forecasts.php
(3.63 KB)
📄
services.php
(9.7 KB)
📄
smarty_compatibility.php
(4.35 KB)
📄
ssl_certificate_monitoring.php
(7.92 KB)
📄
support_ticket_replies.php
(2.23 KB)
📄
ticket_feedback_comments.php
(5.31 KB)
📄
ticket_feedback_scores.php
(4.5 KB)
📄
ticket_ratings_reviewer.php
(4.11 KB)
📄
ticket_tags.php
(2.99 KB)
📄
top_10_clients_by_income.php
(2.36 KB)
📄
transactions.php
(7.08 KB)
📄
vat_moss.php
(6.98 KB)
Editing: client.php
<?php if (!defined("WHMCS")) { die("This file cannot be accessed directly"); } $reportdata['isPrintable'] = false; $reportdata['canCsvExport'] = false; $userid = App::getFromRequest('userid'); $onloadUserReplaceJs = ''; if ($userid) { $onloadUserReplaceJs = 'jQuery("#selectUserid")[0].selectize.trigger("change");'; } $reportdata["title"] = "Client Data Export"; $reportdata["description"] = "This report allows you to generate a JSON export of data relating to a given client. You can choose which data points you wish to be included in the export below."; $reportdata["headertext"] = ' <form method="post" action="' . routePath('admin-client-export', 'xxx') . '" data-route="' . routePath('admin-client-export', 'xxx') . '" id="frmClientExport"> <input type="hidden" name="export" value="true"> <br> <p> Choose the client to export<br> ' . $aInt->clientsDropDown($userid) . ' </p> <div style="background-color:#f8f8f8;margin:10px 0 20px;padding:20px;border-radius:4px;"> <div class="row"> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="profile" checked> Profile Data </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="paymethods"> Pay Methods </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="contacts"> Contacts </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="services"> Products/Services </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="domains"> Domains </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="billableitems"> Billable Items </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="invoices"> Invoices </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="quotes"> Quotes </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="transactions"> Transactions </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="tickets"> Tickets </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="emails"> Emails </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="notes"> Notes </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="consenthistory"> Consent History </label> </div> <div class="col-sm-3"> <label class="checkbox-inline"> <input type="checkbox" name="exportdata[]" value="activitylog"> Activity Log </label> </div> </div> </div> <button type="submit" class="btn btn-default"' . ($userid ? '' : ' disabled="disabled"') . ' id="btnExport"> <i class="fas fa-download fa-fw"></i> Generate and Download Export </button> <br><br> <small>* Generating an export for a client with a substantial amount of history may take a while</small> </form> <script> $(document).ready(function() { $("#selectUserid")[0].selectize.on("change", function() { var userId = this.getValue(); if (userId) { $("#frmClientExport").attr("action", $("#frmClientExport").data("route").replace("xxx", userId)); $("#btnExport").removeProp("disabled"); } }); ' . $onloadUserReplaceJs . ' }); </script> ';
Upload File
Create Folder