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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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