Skip to content

sales "takings" #973

Closed
Closed

Description

@jacksz

Issue / Question / Bug

Before submitting an issue please make sure you remove the first section of the template and you tick (add a x between the square brakets) and agree with all the following check boxes:

  • Checked the current issues database and no similar issue was already discussed
  • Read the README, WHATS_NEW and UPGRADE
  • Read the FAQ (https://github.com/jekkos/opensourcepos#faq) for any known install and/or upgrade gotchas (in specific PHP has php5-gd, php-intl and sockets installed)
  • Reporting an issue of an unmodified OSPOS installation
  • PHP version is at least 5.5 and not 7.x
  • MySQL version is 5.5 or 5.6 and not 5.7
  • Know the version of OSPOS and git commit hash (check the footer of your OSPOS) and will add to my issue report
  • Know the name and version of OS, Web server and MySQL and will add to my issue report

Installation information

master installation github
php 5.6
mysql 5.0.11

Expected behaviour

4 names referenced by language and not different name in each language

Actual behaviour

capture

cap

Steps to reproduce the issue

choose these steps in two different languages
1-make a sale
2- go to sales "takings"
you will find "cash" and equivalent name in other languages will be treated as different things in "takings"

Activity

  1. odiea commented on Nov 15, 2016

    @odiea
    Collaborator

    Have you checked the different languages that you tested with to see if they are properly translated? I tried with es and saw no issues. I believe takings also uses public function get_payment_options($giftcard = TRUE) as it should.

  2. jacksz commented on Nov 15, 2016

    @jacksz
    Author

    hmm es? you mean Spanish right?
    this path is public/sales/manage for "Takings"

    3w

    2q

    german: Bar
    spanish: Efectivo
    arabic: نقدى
    english: Cash
    3q

  3. odiea commented on Nov 15, 2016

    @odiea
    Collaborator

    Here is what I am showing from the current master switching between 2 languages.
    2016-11-15 05_58_54-new notification

  4. daN4cat commented on Nov 15, 2016

    @daN4cat
    Collaborator

    Yes, it stores the string in the selected language.
    There is no support for language switching, it was not part of the original design for this feature.

  5. daN4cat commented on Nov 18, 2016

    @daN4cat
    Collaborator

    See #978

  6. added this to the 3.0.1 milestone on Nov 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions