File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 38
38
'especieDoc ' => 'DM ' ,
39
39
'pagador ' => $ pagador ,
40
40
'beneficiario ' => $ beneficiario ,
41
+ 'carteira ' => 1111 ,
41
42
'carteira ' => 11 ,
42
43
'convenio ' => 1234567 ,
43
44
]
Original file line number Diff line number Diff line change @@ -78,6 +78,20 @@ public function __construct(array $params = [])
78
78
* @var string
79
79
*/
80
80
protected $ variacao_carteira ;
81
+
82
+ /**
83
+ * Retorna o campo Agência/Beneficiário do boleto
84
+ *
85
+ * @return string
86
+ */
87
+ public function getAgenciaCodigoBeneficiario ()
88
+ {
89
+ $ agencia = $ this ->getAgencia () . '- ' . CalculoDV::bbAgencia ($ this ->getAgencia ());
90
+ $ codigoCliente = $ this ->getConvenio ();
91
+
92
+ return $ agencia . ' / ' . $ codigoCliente ;
93
+ }
94
+
81
95
/**
82
96
* Define o número do convênio. Sempre use string pois a quantidade de caracteres é validada.
83
97
*
You can’t perform that action at this time.
0 commit comments