nfephp-org / sped-pos

Biblioteca para uso de impressoras térmicas ESC/POS compativeis, para uso nas NFCe
Other
19 stars 14 forks source link

Atualizar o tipo de pagamento para pix com código 20 no xml #13

Closed wprime2018 closed 2 months ago

wprime2018 commented 2 months ago

Bom dia,

Favor alterar no arquivo do DANFCePOS esta linha para identificar o pix no código 20 conforme alteração da NT que foi efetivada no da 01/07/2024

private function tipoPag($tPag) { $aPag = [ '01' => 'Dinheiro', '02' => 'Cheque', '03' => 'Cartao de Credito', '04' => 'Cartao de Debito', '05' => 'Credito Loja', '10' => 'Vale Alimentacao', '11' => 'Vale Refeicao', '12' => 'Vale Presente', '13' => 'Vale Combustivel', '17' => 'PIX', -----> '20' => 'PIX', '99' => 'Outros', ]; if (array_key_exists($tPag, $aPag)) { return $aPag[$tPag]; } return ''; }

robmachado commented 2 months ago

Já foi alterado a poucos minutos atras

wprime2018 commented 2 months ago

Gratidão 🙏

Em seg., 8 de jul. de 2024, 11:05, Roberto L. Machado < @.***> escreveu:

Já foi alterado a poucos minutos atras

— Reply to this email directly, view it on GitHub https://github.com/nfephp-org/sped-pos/issues/13#issuecomment-2214171007, or unsubscribe https://github.com/notifications/unsubscribe-auth/AILZ3XOGGWBYNHRW76ILACDZLKMBFAVCNFSM6AAAAABKQ3NBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJUGE3TCMBQG4 . You are receiving this because you authored the thread.Message ID: @.***>