php-e-invoice-it icon indicating copy to clipboard operation
php-e-invoice-it copied to clipboard

Skipping empty values

Open madbob opened this issue 5 years ago • 1 comments

This is intended to simplify set of multiple values, such as in:

$e->setValues('DatiTrasmissione', [
    // ...
    'PECDestinatario' => $customer->sdi_code == '0000000' ? $customer->pec : null,
    // ...
]);

madbob avatar Apr 21 '19 13:04 madbob

This is intended to simplify set of multiple values, such as in: (...)

Hi madbob, thanks for your PR. I'll take a look at the package in few days and will update the code soon - need to improve it :-)

aded avatar Apr 26 '19 07:04 aded