mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for router domains
This commit is contained in:
parent
f1b81e1587
commit
4fa76afee6
@ -108,9 +108,9 @@ trait Inviteable
|
|||||||
switch ($this->company->portal_mode) {
|
switch ($this->company->portal_mode) {
|
||||||
case 'subdomain':
|
case 'subdomain':
|
||||||
|
|
||||||
if(Ninja::isHosted())
|
// if(Ninja::isHosted())
|
||||||
return 'https://router.invoiceninja.com/route/'.encrypt($domain.'/client/'.$entity_type.'/'.$this->key);
|
// return 'https://router.invoiceninja.com/route/'.encrypt($domain.'/client/'.$entity_type.'/'.$this->key);
|
||||||
else
|
// else
|
||||||
return $domain.'/client/'.$entity_type.'/'.$this->key;
|
return $domain.'/client/'.$entity_type.'/'.$this->key;
|
||||||
break;
|
break;
|
||||||
case 'iframe':
|
case 'iframe':
|
||||||
|
@ -33,6 +33,9 @@
|
|||||||
<input type="hidden" name="action" value="payment">
|
<input type="hidden" name="action" value="payment">
|
||||||
<input type="hidden" name="company_gateway_id" value="{{ $state['company_gateway_id'] }}"/>
|
<input type="hidden" name="company_gateway_id" value="{{ $state['company_gateway_id'] }}"/>
|
||||||
<input type="hidden" name="payment_method_id" value="{{ $state['payment_method_id'] }}"/>
|
<input type="hidden" name="payment_method_id" value="{{ $state['payment_method_id'] }}"/>
|
||||||
|
<input type="hidden" name="contact_first_name" value="{{ $contact->first_name }}">
|
||||||
|
<input type="hidden" name="contact_last_name" value="{{ $contact->last_name }}">
|
||||||
|
<input type="hidden" name="contact_email" value="{{ $contact->email }}">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<!-- Payment methods -->
|
<!-- Payment methods -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user