Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #84 from gabriellucius/fix-datatable-partial-refund
Browse files Browse the repository at this point in the history
fix: partial refund datatable error when table is empty after a parti…
  • Loading branch information
s2it-moscou committed Apr 11, 2018
2 parents f122bb8 + 1ec62ae commit 35c945d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Changelog
---------
3.12.1
- Fix: corrigido erro do datatable após um estorno parcial quando não há mais transações para serem estornadas

3.12.0
- Melhorias na tela de Listar Transações (admin) referentes ao estorno parcial

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Com o módulo instalado e configurado, você pode pode oferecer o PagSeguro como
- Certifique-se de que não há instalação de outros módulos para o PagSeguro em seu sistema;
- Caso utilize a compilação do Magento, desative-a e limpe-a *(Sistema -> Ferramentas -> Compilação)*;
- Baixe a última versão do módulo **[nesse link](https://github.com/pagseguro/magento/raw/master/UOL_PagSeguro-3.12.0.tgz)** ou então baixe o repositório como arquivo zip através do botão do GitHub;
- Baixe a última versão do módulo **[nesse link](https://github.com/pagseguro/magento/raw/master/UOL_PagSeguro-3.12.1.tgz)** ou então baixe o repositório como arquivo zip através do botão do GitHub;
- Na área administrativa do seu Magento, acesse o menu *Sistema/System -> Magento Connect -> Magento Connect Manager*. Caso tenha uma versão anterior do módulo instalada faça a remoção agora;
- No Magento Connect Manger, dentro da seção Direct package file upload, clique em **Escolher arquivo/Choose file**, selecione o arquivo UOL_PagSeguro-x.x.x.tgz (baixado anteriormente), clique no botão de upload e acompanhe a instalação do módulo no console da página;
- Caso utilize a compilação, volte para a área administrativa do Magento, ative-a e execute-a novamente;
Expand Down
Binary file removed UOL_PagSeguro-3.12.0.tgz
Binary file not shown.
Binary file added UOL_PagSeguro-3.12.1.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion app/code/community/UOL/PagSeguro/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.
<config>
<modules>
<UOL_PagSeguro>
<version>3.12.0</version>
<version>3.12.1</version>
</UOL_PagSeguro>
</modules>
<global>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ $html = Mage::helper('pagseguro/html');
} else if (xhrResult.status == false && !isPartial) {
jQuery('#refund-table').dataTable().fnClearTable(true);
Modal.message('success', '<?php echo $refundSuccess; ?>');
} else if (xhrResult.status == false && !isPartial) {
} else if (xhrResult.status == false && isPartial) {
jQuery('#refund-table').dataTable().fnClearTable(true);
Modal.message('success', '<?php echo $partialRefundSuccess; ?>');
} else {
Expand Down

0 comments on commit 35c945d

Please sign in to comment.