Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajusta referência à DANFe no README #620

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ Ou ainda alterando o composer.json do seu aplicativo inserindo:
```

## Forma de uso
[DANFE](docs/DANFE.md)
- [DANFE](docs/Danfe2.md)
- [DACTE](docs/Dacte.md)

## Log de mudanças e versões
Acompanhe o [CHANGELOG](CHANGELOG.md) para maiores informações sobre as alterações recentes.
Expand Down
4 changes: 2 additions & 2 deletions docs/Dacte.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Esse método estabelece os parametros de impressão do PDF, forçando essas opç

```php
$da->printParameters('P', 'A4', 2, 2);
``
```

### public depecNumber($numdepec)

Expand All @@ -86,7 +86,7 @@ Esse metodo permite passar o número do DPEC na emissão em contigência DPEC, p

```php
$da->depecNumber('12345678');
``
```

### public render($logo = null)

Expand Down
7 changes: 4 additions & 3 deletions docs/Danfe.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ Nele também consta o número de protocolo no registro na integração junto ao
### function __construct()
Método construtor. Instancia a classe

```php
$danfe = new Danfe([String xml]);
```
```php
$danfe = new Danfe([String xml]);
```

### function render()
Método de rederização do PDF

Expand Down
8 changes: 0 additions & 8 deletions docs/Danfe2.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ Todos esses métodos são opcionais caso queira alterar o comportamento padrão
* @return void
*/
$danfe2->exibirNumeroItem(false); //default true





```

## Elementos Adicionais
Expand Down Expand Up @@ -179,10 +174,7 @@ São métodos que incluem informações ao DANFE.
## Exemplo

```php


try {

//dados
$xml = file_get_contents(__DI__.'/arquivo_xml_nfe_modelo_55.xml');
$logo = 'data://text/plain;base64,'. base64_encode(file_get_contents(__DIR__ . '/tulipas.png'));
Expand Down