firegento-pdf icon indicating copy to clipboard operation
firegento-pdf copied to clipboard

Move invoice/shipment/creditmemo out of Abstract.php

Open Schrank opened this issue 7 years ago • 0 comments

example: \FireGento_Pdf_Model_Engine_Abstract::insertHeader()

    if ($this->getMode() == 'invoice') {
        $title = 'Invoice';
    } elseif ($this->getMode() == 'shipment') {
        $title = 'Packingslip';
    } else {
        $title = 'Creditmemo';
    }

Schrank avatar Oct 14 '17 12:10 Schrank