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:
parent
057cf9cd42
commit
f5f2395d7e
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user