mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Minor fixes
This commit is contained in:
parent
8b2f7eb39f
commit
5c7a15ff83
@ -325,6 +325,9 @@ Route::get('/compare-online-invoicing{sites?}', function() {
|
||||
Route::get('/forgot', function() {
|
||||
return Redirect::to(NINJA_APP_URL.'/recover_password', 301);
|
||||
});
|
||||
Route::get('/feed', function() {
|
||||
return Redirect::to(NINJA_WEB_URL.'/feed', 301);
|
||||
});
|
||||
|
||||
|
||||
if (!defined('CONTACT_EMAIL')) {
|
||||
|
@ -7,7 +7,7 @@ class ReferralRepository
|
||||
{
|
||||
public function getCounts($userId)
|
||||
{
|
||||
$accounts = Account::where('referral_user_id', $userId);
|
||||
$accounts = Account::where('referral_user_id', $userId)->get();
|
||||
|
||||
$counts = [
|
||||
'free' => 0,
|
||||
@ -18,7 +18,7 @@ class ReferralRepository
|
||||
foreach ($accounts as $account) {
|
||||
$counts['free']++;
|
||||
$plan = $account->getPlanDetails(false, false);
|
||||
|
||||
|
||||
if ($plan) {
|
||||
$counts['pro']++;
|
||||
if ($plan['plan'] == PLAN_ENTERPRISE) {
|
||||
@ -29,4 +29,4 @@ class ReferralRepository
|
||||
|
||||
return $counts;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1334,7 +1334,7 @@ $LANG = array(
|
||||
'auto_bill_payment_method_paypal' => 'your PayPal account (:email)',
|
||||
'auto_bill_notification_placeholder' => 'This invoice will automatically be billed to your Visa card ending in 4242 on the due date.',
|
||||
'payment_settings' => 'Payment Settings',
|
||||
|
||||
|
||||
'on_send_date' => 'On send date',
|
||||
'on_due_date' => 'On due date',
|
||||
'auto_bill_ach_date_help' => 'ACH auto bill will always happen on the due date',
|
||||
@ -1348,6 +1348,9 @@ $LANG = array(
|
||||
'payment_settings_supported_gateways' => 'These options are supported by the WePay, Stripe, and Braintree gateways.',
|
||||
'ach_email_prompt' => 'Please enter your email address:',
|
||||
'verification_pending' => 'Verification Pending',
|
||||
|
||||
'update_font_cache' => 'Please force refresh the page to update the font cache.',
|
||||
|
||||
);
|
||||
|
||||
return $LANG;
|
||||
|
@ -48,7 +48,7 @@
|
||||
}
|
||||
|
||||
if (errorMsg.indexOf('No unicode cmap for font') > -1) {
|
||||
alert("Please force refresh the page to update the font cache.\n\n - Windows: Ctrl + F5\n - Mac/Apple: Apple + R or Command + R\n - Linux: F5");
|
||||
alert("{{ trans('texts.update_font_cache') }}\n\n - Windows: Ctrl + F5\n - Mac/Apple: Apple + R or Command + R\n - Linux: F5");
|
||||
}
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user