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

Commit 35c945d

Browse files
authored
Merge pull request #84 from gabriellucius/fix-datatable-partial-refund
fix: partial refund datatable error when table is empty after a parti…
2 parents f122bb8 + 1ec62ae commit 35c945d

File tree

6 files changed

+6
-3
lines changed

6 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Changelog
22
---------
3+
3.12.1
4+
- Fix: corrigido erro do datatable após um estorno parcial quando não há mais transações para serem estornadas
5+
36
3.12.0
47
- Melhorias na tela de Listar Transações (admin) referentes ao estorno parcial
58

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Com o módulo instalado e configurado, você pode pode oferecer o PagSeguro como
3030
3131
- Certifique-se de que não há instalação de outros módulos para o PagSeguro em seu sistema;
3232
- Caso utilize a compilação do Magento, desative-a e limpe-a *(Sistema -> Ferramentas -> Compilação)*;
33-
- 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;
33+
- 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;
3434
- 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;
3535
- 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;
3636
- Caso utilize a compilação, volte para a área administrativa do Magento, ative-a e execute-a novamente;

UOL_PagSeguro-3.12.0.tgz

-526 KB
Binary file not shown.

UOL_PagSeguro-3.12.1.tgz

526 KB
Binary file not shown.

app/code/community/UOL/PagSeguro/etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ limitations under the License.
1919
<config>
2020
<modules>
2121
<UOL_PagSeguro>
22-
<version>3.12.0</version>
22+
<version>3.12.1</version>
2323
</UOL_PagSeguro>
2424
</modules>
2525
<global>

app/design/adminhtml/default/default/template/uol/pagseguro/refund.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ $html = Mage::helper('pagseguro/html');
231231
} else if (xhrResult.status == false && !isPartial) {
232232
jQuery('#refund-table').dataTable().fnClearTable(true);
233233
Modal.message('success', '<?php echo $refundSuccess; ?>');
234-
} else if (xhrResult.status == false && !isPartial) {
234+
} else if (xhrResult.status == false && isPartial) {
235235
jQuery('#refund-table').dataTable().fnClearTable(true);
236236
Modal.message('success', '<?php echo $partialRefundSuccess; ?>');
237237
} else {

0 commit comments

Comments
 (0)