Jump to content
blachotrapezro

Transport si factura

Recommended Posts

Buna, cum pot sa aleg sa fie transportul pana in suma de xxx lei se plateste xx lei, si ce-i peste xxx lei sa fie gratis?

 

Si in facturi in loc de diacritice imi apar litere, cum pot rezolva?

Share this post


Link to post
Share on other sites

 

 

Si in facturi in loc de diacritice imi apar litere, cum pot rezolva?

Ce versiune?

Share this post


Link to post
Share on other sites

De la Localizare-Traduceri- selectezi PDF si iti modifici campurile dorite...iar la transport gratuit in momentul in care adaugi un transportator ai acolo regula care trebuie indeplinita pentru a beneficia de transport gratuit.

Share this post


Link to post
Share on other sites

sau adauga in /clasess/pdf/pdfgenerators.php la sectiunea language 'ro' => 'fontul pe care il doresti' si o sa ai cu ce vrei tu

Share this post


Link to post
Share on other sites

M-am uitat mai bine, in loc de diacritice imi apar semne de punctuatie si cifre. 

 

Verisiunea 1.6.1.1

daca adaugi ce am zis exempli open sanserif, nu o sa ai ?"'> etc

Share this post


Link to post
Share on other sites

Aici te referi?

 

 

In loc de IS pun ro?

require_once(_PS_TOOL_DIR_.'tcpdf/config/lang/eng.php');

require_once(_PS_TOOL_DIR_.'tcpdf/tcpdf.php');

 

/**

 * @since 1.5

 */

class PDFGeneratorCore extends TCPDF

{

    const DEFAULT_FONT = 'helvetica';

 

    public $header;

    public $footer;

    public $content;

    public $font;

 

    public $font_by_lang = array(

        'ja' => 'cid0jp',

        'bg' => 'freeserif',

        'ru' => 'freeserif',

        'uk' => 'freeserif',

        'mk' => 'freeserif',

        'el' => 'freeserif',

        'vn' => 'dejavusans',

        'pl' => 'dejavusans',

        'ar' => 'dejavusans',

        'fa' => 'dejavusans',

        'ur' => 'dejavusans',

        'az' => 'dejavusans',

        'ca' => 'dejavusans',

        'gl' => 'dejavusans',

        'hr' => 'dejavusans',

        'sr' => 'dejavusans',

        'si' => 'dejavusans',

        'cs' => 'dejavusans',

        'sk' => 'dejavusans',

        'ka' => 'dejavusans',

        'he' => 'dejavusans',

        'lo' => 'dejavusans',

        'lt' => 'dejavusans',

        'lv' => 'dejavusans',

        'tr' => 'dejavusans',

    'hu' => 'dejavusans',

    'ro' => 'dejavusans',

        'ko' => 'cid0kr',

        'zh' => 'cid0cs',

        'tw' => 'cid0cs',

        'th' => 'freeserif'

    );

 

    /**

     * @param bool $use_cache

     * @param string $orientation

     */

    public function __construct($use_cache = false, $orientation = 'P')

    {

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More