1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for clean design

This commit is contained in:
David Bomba 2022-01-06 20:03:30 +11:00
parent 057cf9cd42
commit f5f2395d7e
3 changed files with 11 additions and 6 deletions

View File

@ -38,8 +38,8 @@ class ApplePayDomainController extends Controller
foreach($cgs as $cg)
{
if($cg->getConfigField('appleMerchantId')){
return response($cg->getConfigField('appleMerchantId'),200);
if($cg->getConfigField('appleDomainVerification')){
return response($cg->getConfigField('appleDomainVerification'),200);
}
@ -90,8 +90,8 @@ class ApplePayDomainController extends Controller
foreach($cgs as $cg)
{
if($cg->getConfigField('appleMerchantId')){
return response($cg->getConfigField('appleMerchantId'),200);
if($cg->getConfigField('appleDomainVerification')){
return response($cg->getConfigField('appleDomainVerification'),200);
}
}

View File

@ -117,17 +117,22 @@
[data-ref="table"] > tbody > tr > td {
border-top: 1px solid #d8d8d8;
border-bottom: 1px solid #d8d8d8;
padding: 1.5rem;
padding: 1.5rem 1rem;
}
[data-ref="table"] > tbody > tr > td:first-child {
color: var(--primary-color);
}
[data-ref="table"] > thead > tr > th:last-child,
[data-ref="table"] > tbody > tr > td:last-child {
text-align: right;
}
[data-ref="table"] > thead > tr > th:last-child {
padding-right: 1rem;
}
[data-ref="table"] > tbody > tr:nth-child(odd) {
background-color: #f5f5f5;
}

View File

@ -46,7 +46,7 @@ class ApplePayDomainMerchantUrlTest extends TestCase
$config = new \stdClass;
$config->publishableKey = "pk_test";
$config->apiKey = "sk_test";
$config->appleMerchantId = "merchant_id";
$config->appleDomainVerification = "merchant_id";
$cg = new CompanyGateway;
$cg->company_id = $this->company->id;