mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 22:44:30 -04:00
Bug fixes
This commit is contained in:
parent
55a8ef4951
commit
f28e536325
@ -14,9 +14,9 @@ class PaymentLibrariesSeeder extends Seeder
|
|||||||
|
|
||||||
$updateProviders = array(
|
$updateProviders = array(
|
||||||
0 => 'AuthorizeNet_AIM',
|
0 => 'AuthorizeNet_AIM',
|
||||||
1 => 'BeanStream',
|
//1 => 'BeanStream',
|
||||||
2 => 'iTransact',
|
//2 => 'iTransact',
|
||||||
3 => 'FirstData_Connect',
|
//3 => 'FirstData_Connect',
|
||||||
4 => 'PayPal_Pro',
|
4 => 'PayPal_Pro',
|
||||||
5 => 'TwoCheckout'
|
5 => 'TwoCheckout'
|
||||||
);
|
);
|
||||||
@ -28,10 +28,10 @@ class PaymentLibrariesSeeder extends Seeder
|
|||||||
|
|
||||||
Gateway::whereIn('provider', $updateProviders)->update(array('recommended' => 1));
|
Gateway::whereIn('provider', $updateProviders)->update(array('recommended' => 1));
|
||||||
|
|
||||||
Gateway::where('provider', '=', 'AuthorizeNet_AIM')->update(array('sort_order' => 5, 'site_url' => 'http://www.authorize.net/'));
|
Gateway::where('provider', '=', 'AuthorizeNet_AIM')->update(array('sort_order' => 5, 'site_url' => 'http://reseller.authorize.net/application/?id=5560364'));
|
||||||
Gateway::where('provider', '=', 'BeanStream')->update(array('sort_order' => 10, 'site_url' => 'http://www.beanstream.com/'));
|
//Gateway::where('provider', '=', 'BeanStream')->update(array('sort_order' => 10, 'site_url' => 'http://www.beanstream.com/'));
|
||||||
Gateway::where('provider', '=', 'FirstData_Connect')->update(array('sort_order' => 20, 'site_url' => 'https://www.firstdata.com/'));
|
//Gateway::where('provider', '=', 'FirstData_Connect')->update(array('sort_order' => 20, 'site_url' => 'https://www.firstdata.com/'));
|
||||||
Gateway::where('provider', '=', 'PayPal_Pro')->update(array('sort_order' => 25, 'site_url' => 'https://www.paypal.com/'));
|
Gateway::where('provider', '=', 'PayPal_Pro')->update(array('sort_order' => 25, 'site_url' => 'https://www.paypal.com/'));
|
||||||
Gateway::where('provider', '=', 'TwoCheckout')->update(array('sort_order' => 30, 'site_url' => 'https://www.2checkout.com/'));
|
Gateway::where('provider', '=', 'TwoCheckout')->update(array('sort_order' => 30, 'site_url' => 'https://www.2checkout.com/referral?r=2c37ac2298'));
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -317,6 +317,6 @@ return array(
|
|||||||
'field_label' => 'Field Label',
|
'field_label' => 'Field Label',
|
||||||
'field_value' => 'Field Value',
|
'field_value' => 'Field Value',
|
||||||
'edit' => 'Edit',
|
'edit' => 'Edit',
|
||||||
'view_invoice' => 'View invoice',
|
'view_as_recipient' => 'View as recipient',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -324,7 +324,7 @@ return array(
|
|||||||
'field_value' => 'Field Value',
|
'field_value' => 'Field Value',
|
||||||
'edit' => 'Edit',
|
'edit' => 'Edit',
|
||||||
'set_name' => 'Set your company name',
|
'set_name' => 'Set your company name',
|
||||||
'view_invoice' => 'View invoice',
|
'view_as_recipient' => 'View as recipient',
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -316,6 +316,6 @@ return array(
|
|||||||
'field_label' => 'Field Label',
|
'field_label' => 'Field Label',
|
||||||
'field_value' => 'Field Value',
|
'field_value' => 'Field Value',
|
||||||
'edit' => 'Edit',
|
'edit' => 'Edit',
|
||||||
'view_invoice' => 'View invoice',
|
'view_as_recipient' => 'View as recipient',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -317,6 +317,6 @@ return array(
|
|||||||
'field_label' => 'Field Label',
|
'field_label' => 'Field Label',
|
||||||
'field_value' => 'Field Value',
|
'field_value' => 'Field Value',
|
||||||
'edit' => 'Edit',
|
'edit' => 'Edit',
|
||||||
'view_invoice' => 'View invoice',
|
'view_as_recipient' => 'View as recipient',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -317,6 +317,6 @@ return array(
|
|||||||
'field_label' => 'Field Label',
|
'field_label' => 'Field Label',
|
||||||
'field_value' => 'Field Value',
|
'field_value' => 'Field Value',
|
||||||
'edit' => 'Edit',
|
'edit' => 'Edit',
|
||||||
'view_invoice' => 'View invoice',
|
'view_as_recipient' => 'View as recipient',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -318,5 +318,6 @@ return array(
|
|||||||
'field_value' => 'Field Value',
|
'field_value' => 'Field Value',
|
||||||
'edit' => 'Edit',
|
'edit' => 'Edit',
|
||||||
'view_invoice' => 'View invoice',
|
'view_invoice' => 'View invoice',
|
||||||
|
'view_as_recipient' => 'View as recipient',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -306,5 +306,7 @@ return array(
|
|||||||
'field_value' => 'Field Value',
|
'field_value' => 'Field Value',
|
||||||
'edit' => 'Edit',
|
'edit' => 'Edit',
|
||||||
'view_invoice' => 'View invoice',
|
'view_invoice' => 'View invoice',
|
||||||
|
'view_as_recipient' => 'View as recipient',
|
||||||
|
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -275,7 +275,9 @@
|
|||||||
<canvas id="theCanvas" style="display:none;width:100%;border:solid 1px #CCCCCC;"></canvas>
|
<canvas id="theCanvas" style="display:none;width:100%;border:solid 1px #CCCCCC;"></canvas>
|
||||||
|
|
||||||
@if (!Auth::user()->account->isPro())
|
@if (!Auth::user()->account->isPro())
|
||||||
{{ trans('texts.pro_plan.remove_logo', ['link'=>'<a href="#" onclick="showProPlan()">'.trans('texts.pro_plan.remove_logo_link').'</a>']) }}
|
<div style="font-size:larger">
|
||||||
|
{{ trans('texts.pro_plan.remove_logo', ['link'=>'<a href="#" onclick="showProPlan()">'.trans('texts.pro_plan.remove_logo_link').'</a>']) }}
|
||||||
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="modal fade" id="clientModal" tabindex="-1" role="dialog" aria-labelledby="clientModalLabel" aria-hidden="true">
|
<div class="modal fade" id="clientModal" tabindex="-1" role="dialog" aria-labelledby="clientModalLabel" aria-hidden="true">
|
||||||
@ -1255,7 +1257,7 @@
|
|||||||
str += self.email();
|
str += self.email();
|
||||||
|
|
||||||
if (self.invitation_link()) {
|
if (self.invitation_link()) {
|
||||||
str += '<br/><a href="' + self.invitation_link() + '" target="_blank">{{ trans('texts.view_invoice') }}</a>';
|
str += '<br/><a href="' + self.invitation_link() + '" target="_blank">{{ trans('texts.view_as_recipient') }}</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
return str;
|
return str;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user