Skip to content

Commit

Permalink
empty spaces removed
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihtoprak committed Dec 21, 2021
1 parent ae1120d commit f6aee01
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions core/library/Moka_Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ public function getDealerInformation()

$response = self::doRequest('/Dealer/GetDealer',$postParams);


if(data_get($response, 'response.code') && data_get($response, 'response.code') == 200)
{
$responseBody = data_get($response, 'body');
Expand Down Expand Up @@ -171,15 +170,13 @@ public function generateInstallmentsTableHtml($params)
$storedData = get_option( 'woocommerce_mokapay-installments' );
$avaliableInstallmentsCount = data_get($params, 'maxInstallment');
$paymentId = data_get($params, 'paymentGatewayId');


if(!$storedData)
{
$installments = self::getInstallments();
$installments = data_get($installments, 'CommissionList');
$installments = self::formatInstallmentResponse($installments);
$storedData = $installments;

}

$return = '<div class="center-title"> <h2><span>Taksit Tablosu</span> <a class="js-update-comission-rates">Taksit oranlarını Moka üzerinden güncelle</a></h2> <table id="comission-rates"> <thead> <tr><td>Kart</td>';
Expand Down Expand Up @@ -285,8 +282,6 @@ public function generateInstallmentsTableShortcode()
$return.='</tr>';
}



$return.= '</table></div>';
return $return;
}
Expand Down
1 change: 0 additions & 1 deletion core/library/static/Optimisthub.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<script>
var acc = document.getElementsByClassName("accordion");
var i;

for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
this.classList.toggle("active");
Expand Down

0 comments on commit f6aee01

Please sign in to comment.