if ( is_array( $this -> fakturownia_last_summary ) && isset( $this -> fakturownia_last_summary['summary'] ) ): ?>
Ostatni import: = $esc( $this -> fakturownia_last_summary['at'] ?? '-' ); ?>
Zaimportowano: = (int)( $this -> fakturownia_last_summary['summary']['imported'] ?? 0 ); ?>,
pominieto: = (int)( $this -> fakturownia_last_summary['summary']['skipped'] ?? 0 ); ?>,
brak mapowan: = (int)( $this -> fakturownia_last_summary['summary']['unmapped'] ?? 0 ); ?>,
bledy: = (int)( $this -> fakturownia_last_summary['summary']['errors'] ?? 0 ); ?>
endif; ?>
if ( is_array( $this -> fakturownia_pending_clients ) && count( $this -> fakturownia_pending_clients ) ): ?>
Brakujace mapowania klientow
| Klient z Fakturowni |
CRM klient |
Akcja |
foreach ( $this -> fakturownia_pending_clients as $row ): ?>
= $esc( $row['external_name'] ); ?>
Klucz: = $esc( $row['external_key'] ); ?> | wystapienia: = (int)$row['hits']; ?>
|
|
|
endforeach; ?>
endif; ?>
if ( is_array( $this -> fakturownia_pending_items ) && count( $this -> fakturownia_pending_items ) ): ?>
Brakujace mapowania produktow/uslug
| Pozycja z faktury |
Kategoria finansowa |
Akcja |
foreach ( $this -> fakturownia_pending_items as $row ): ?>
= $esc( $row['external_name'] ); ?>
$payload = is_array( $row['payload'] ?? null ) ? $row['payload'] : []; ?>
if ( !empty( $payload['document_number'] ) ): ?>
Faktura: = $esc( $payload['document_number'] ); ?>
endif; ?>
if ( !empty( $payload['buyer_name'] ) || !empty( $payload['seller_name'] ) ): ?>
Nabywca: = $esc( $payload['buyer_name'] ?? '-' ); ?> |
Sprzedawca: = $esc( $payload['seller_name'] ?? '-' ); ?>
endif; ?>
Klucz: = $esc( $row['external_key'] ); ?> | wystapienia: = (int)$row['hits']; ?>
|
|
|
endforeach; ?>
endif; ?>