diff --git a/Dockerfile b/Dockerfile index 863be5fb3..7c2577996 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ RUN a2enmod rewrite RUN docker-php-ext-install mysql mysqli bcmath intl gd sockets -RUN echo "date.timezone = \"UTC\"" > /usr/local/etc/php/conf.d/timezone.ini +RUN echo "date.timezone = \"\${PHP_TIMEZONE}\"" > /usr/local/etc/php/conf.d/timezone.ini WORKDIR /app COPY . /app diff --git a/README.md b/README.md index eac20fa3a..66bb97c0f 100644 --- a/README.md +++ b/README.md @@ -91,13 +91,15 @@ month of uptime on the platform. A full setup will only take about 2 minutes by 2. Create a [docker cloud account](https://cloud.docker.com) 3. Login to docker cloud 4. Associate your docker cloud account with your previously created digital ocean account under settings -5. Create a new node on DigitalOcean through the `Infrastructure > Nodes` tab. Fill in a name (ospos) and choose a region near to you +5. Create a new node on DigitalOcean through the `Infrastructure > Nodes` tab. Fill in a name (ospos) and choose a region near to you. We recommend to choose a node with minimum 1G RAM for the whole stack 6. Click [![Deploy to Docker Cloud](https://files.cloud.docker.com/images/deploy-to-dockercloud.svg)](https://cloud.docker.com/stack/deploy/?repo=https://github.com/jekkos/opensourcepos) 7. Othewise create a new stack under `Applications > Stacks` and paste the [contents of docker-cloud.yml](https://github.com/jekkos/opensourcepos/blob/master/docker-cloud.yml) from the source repository in the text field and hit `Create and deploy` 8. Find your website url under `Infrastructure > Nodes > > Endpoints > web` 9. Login with default username/password admin/pointofsale 10. DNS name for this server can be easily configured in the DigitalOcean control panel +More info [on maintaining a docker](https://github.com/jekkos/opensourcepos/wiki/Docker-cloud-maintenance) install can be found on the wiki + Local install ------------- 1. Create/locate a new mysql database to install open source point of sale into diff --git a/application/language/de/common_lang.php b/application/language/de/common_lang.php index 295eef665..2c200caf7 100644 --- a/application/language/de/common_lang.php +++ b/application/language/de/common_lang.php @@ -28,7 +28,7 @@ $lang["common_last_name_required"] = "Nachname ist erforderlich"; $lang["common_last_page"] = "Letzte"; $lang["common_learn_about_project"] = "für neueste Nachrichten zum Projekt"; $lang["common_list_of"] = "Liste von"; -$lang["common_logout"] = "Logout"; +$lang["common_logout"] = "Ausloggen"; $lang["common_new"] = "Neu"; $lang["common_no_persons_to_display"] = "Keine Personen zum Anzeigen"; $lang["common_none_selected_text"] = "Nichts ausgewählt"; @@ -36,7 +36,7 @@ $lang["common_or"] = "Oder"; $lang["common_phone_number"] = "Telefon"; $lang["common_phone_number_required"] = "Telefon ist erforderlich"; $lang["common_please_visit_my"] = "Bitte beuschen Sie "; -$lang["common_powered_by"] = "Powered by"; +$lang["common_powered_by"] = "Unterstützt von"; $lang["common_price"] = "Preis"; $lang["common_remove"] = "Annulieren"; $lang["common_return_policy"] = "Rücknahmeerklärung"; @@ -62,4 +62,4 @@ $lang["common_export_excel"] = "Excel Export"; $lang["common_export_excel_yes"] = "Ja"; $lang["common_export_excel_no"] = "Nein"; $lang["common_required"] = "Erforderlich"; -$lang["common_id"] = "Id"; +$lang["common_id"] = "ID"; diff --git a/application/language/de/customers_lang.php b/application/language/de/customers_lang.php index dc21d95fe..999d6c78b 100644 --- a/application/language/de/customers_lang.php +++ b/application/language/de/customers_lang.php @@ -6,7 +6,7 @@ $lang["customers_cannot_be_deleted"] = "Kunde kann nicht gelöscht werden, ein o $lang["customers_company_name"] = "Firmenname"; $lang["customers_confirm_delete"] = "Wollen Sie die gewählten Kunden wirklich löschen?"; $lang["customers_customer"] = "Kunde"; -$lang["customers_discount"] = "Discount"; +$lang["customers_discount"] = "Rabatt"; $lang["customers_error_adding_updating"] = "Fehler beim Hinzufügen/Ändern"; $lang["customers_new"] = "Neuer Kunde"; $lang["customers_none_selected"] = "Sie haben keinen Kunde zum Löschen gewählt"; diff --git a/application/language/es/common_lang.php b/application/language/es/common_lang.php index 79360d322..184375a63 100644 --- a/application/language/es/common_lang.php +++ b/application/language/es/common_lang.php @@ -22,7 +22,7 @@ $lang["common_first_page"] = "Primera"; $lang["common_gender"] = "Género"; $lang["common_gender_female"] = "F"; $lang["common_gender_male"] = "M"; -$lang["common_inv"] = "inv"; +$lang["common_inv"] = "Inv"; $lang["common_last_name"] = "Apellidos"; $lang["common_last_name_required"] = "Apellidos es un campo requerido"; $lang["common_last_page"] = "Ultima"; diff --git a/application/language/es/config_lang.php b/application/language/es/config_lang.php index 7fa764fb5..84a045f45 100644 --- a/application/language/es/config_lang.php +++ b/application/language/es/config_lang.php @@ -27,8 +27,8 @@ $lang["config_barcode_third_row"] = "Fila 2"; $lang["config_barcode_type"] = "Tipo de Código de Barra"; $lang["config_barcode_width"] = "Ancho (px)"; $lang["config_barcode_generate_if_empty"] = "Generar si esta vacio"; -$lang["config_bottom"] = "Bottom"; -$lang["config_center"] = "Center"; +$lang["config_bottom"] = "Abajo"; +$lang["config_center"] = "Centro"; $lang["config_company"] = "Nombre del Comercio"; $lang["config_company_logo"] = "Logotipo del Comercio"; $lang["config_company_select_image"] = "Seleccionar Imagen"; @@ -81,12 +81,12 @@ $lang["config_email"] = "Email"; $lang["config_email_configuration"] = "Configuracion de correo"; $lang["config_email_protocol"] = "Protocolo"; $lang["config_email_mailpath"] = "Rurta a Sendmail"; -$lang["config_email_smtp_host"] = "SMTP Server"; -$lang["config_email_smtp_port"] = "SMTP Port"; -$lang["config_email_smtp_crypto"] = "SMTP Encryption"; -$lang["config_email_smtp_timeout"] = "SMTP Timeout (s)"; -$lang["config_email_smtp_user"] = "SMTP Username"; -$lang["config_email_smtp_pass"] = "SMTP Password"; +$lang["config_email_smtp_host"] = "Servidor SMTP"; +$lang["config_email_smtp_port"] = "Puerto SMTP"; +$lang["config_email_smtp_crypto"] = "Encriptado SMTP"; +$lang["config_email_smtp_timeout"] = "T. Espera SMTP (s)"; +$lang["config_email_smtp_user"] = "Usuario SMTP"; +$lang["config_email_smtp_pass"] = "Pasword SMTP"; $lang["config_fax"] = "Fax"; $lang["config_general"] = "General"; $lang["config_general_configuration"] = "Configuración General"; @@ -102,7 +102,7 @@ $lang["config_jsprintsetup_required"] = "Advertencia!Esta funcionalidad desactiv $lang["config_language"] = "Idioma"; $lang["config_left"] = "Izquierda"; $lang["config_license"] = "Licencia"; -$lang["config_license_configuration"] = "License Statement"; +$lang["config_license_configuration"] = "Anuncio de Licencia"; $lang["config_lines_per_page"] = "Líneas por página"; $lang["config_lines_per_page_number"] = "Líneas por página debe ser un número"; $lang["config_lines_per_page_required"] = "Líneas por página es requerido"; @@ -174,7 +174,7 @@ $lang["config_tax_decimals"] = "Decimales de impuestos"; $lang["config_tax_included"] = "Impuestos incluidos"; $lang["config_thousands_separator"] = "Separador de miles"; $lang["config_timezone"] = "Zona Horaria"; -$lang["config_top"] = "Top"; +$lang["config_top"] = "Arriba"; $lang["config_website"] = "Sitio Web"; $lang["config_number_locale"] = "Ubicación"; $lang["config_return_policy_required"] = "Política de Devolución es requerida"; diff --git a/application/language/es/item_kits_lang.php b/application/language/es/item_kits_lang.php index a829afd53..cfbb549a8 100644 --- a/application/language/es/item_kits_lang.php +++ b/application/language/es/item_kits_lang.php @@ -8,7 +8,7 @@ $lang["item_kits_error_adding_updating"] = "Error agregando/actualizando el Kit $lang["item_kits_info"] = "Info de Kit de Artículos"; $lang["item_kits_item"] = "Artículo"; $lang["item_kits_items"] = "Artículos"; -$lang["item_kits_kit"] = "Kit Id"; +$lang["item_kits_kit"] = "Kit ID"; $lang["item_kits_name"] = "Nombre del Kit de Artículos"; $lang["item_kits_new"] = "Nuevo Kit de Artículos"; $lang["item_kits_no_item_kits_to_display"] = "No hay kits de artículos para mostrar"; diff --git a/application/language/es/receivings_lang.php b/application/language/es/receivings_lang.php index 62ecd9e9d..46badd027 100644 --- a/application/language/es/receivings_lang.php +++ b/application/language/es/receivings_lang.php @@ -22,7 +22,7 @@ $lang["receivings_error_requisition"] = "No se puede mover el inventorio desde y $lang["receivings_find_or_scan_item"] = "Encontrar/Escanear Artículo"; $lang["receivings_find_or_scan_item_or_receipt"] = "Encontrar/Escanear Artículo o Entrada"; $lang["receivings_id"] = "ID de Entrada"; -$lang["receivings_reference"] = "Reference"; +$lang["receivings_reference"] = "Referencia"; $lang["receivings_item_name"] = "Nombre del Artículo"; $lang["receivings_mode"] = "Modo de Entradas"; $lang["receivings_new_supplier"] = "Nuevo Proveedor"; diff --git a/application/language/es/reports_lang.php b/application/language/es/reports_lang.php index 9fd0dbd9a..1e9112d55 100644 --- a/application/language/es/reports_lang.php +++ b/application/language/es/reports_lang.php @@ -75,7 +75,7 @@ $lang["reports_serial_number"] = "S/N:"; $lang["reports_sold_by"] = "Vendido Por"; $lang["reports_sold_to"] = "Vendido A"; $lang["reports_stock_location"] = "Ubicación de Inventario"; -$lang["reports_subtotal"] = "Subtotal"; +$lang["reports_subtotal"] = "Sub-total"; $lang["reports_summary_reports"] = "Reportes Resumidos"; $lang["reports_supplied_by"] = "Provisto por"; $lang["reports_supplier"] = "Proveedor"; diff --git a/application/language/es/sales_lang.php b/application/language/es/sales_lang.php index 5895ccb6e..df393d9fd 100644 --- a/application/language/es/sales_lang.php +++ b/application/language/es/sales_lang.php @@ -28,7 +28,7 @@ $lang["sales_delete_confirmation"] = "¿Seguro(a) de querer borrar esta venta? E $lang["sales_delete_entire_sale"] = "Borrar la venta completa"; $lang["sales_delete_successful"] = "Has borrado satisfactoriamente una venta"; $lang["sales_delete_unsuccessful"] = "No he podido borrar la venta satisfactoriamente"; -$lang["sales_description_abbrv"] = "Desc"; +$lang["sales_description_abbrv"] = "Descr"; $lang["sales_discount"] = "% Descuento"; $lang["sales_discount_included"] = "% Descuento"; $lang["sales_discount"] = "Descuento"; @@ -94,7 +94,7 @@ $lang["sales_sale_time"] = "Hora"; $lang["sales_select_customer"] = "Seleccionar Cliente (Opcional)"; $lang["sales_send_invoice"] = "Enviar Factura"; $lang["sales_send_receipt"] = "Enviar Recibo"; -$lang["sales_serial"] = "Serial"; +$lang["sales_serial"] = "Serie"; $lang["sales_show_invoice"] = "Factura"; $lang["sales_show_receipt"] = "Recibo"; $lang["sales_start_typing_customer_name"] = "Empieza a escribir el cliente..."; diff --git a/application/language/pt-BR/config_lang.php b/application/language/pt-BR/config_lang.php index d05c3f165..b509dd54e 100644 --- a/application/language/pt-BR/config_lang.php +++ b/application/language/pt-BR/config_lang.php @@ -28,7 +28,7 @@ $lang["config_barcode_type"] = "Tipo de código de barras"; $lang["config_barcode_width"] = "Largura (px)"; $lang["config_barcode_generate_if_empty"] = "Gerar se vazio"; $lang["config_bottom"] = "Inferior"; -$lang["config_center"] = "Center"; +$lang["config_center"] = "Centro"; $lang["config_company"] = "Nome da empresa"; $lang["config_company_logo"] = "Logo"; $lang["config_company_select_image"] = "Selecionar imagem"; @@ -77,7 +77,7 @@ $lang["config_default_tax_rate_number"] = "A taxa de Imposto padrão deve ser um $lang["config_default_tax_rate_required"] = "A taxa de Imposto padrão é um campo obrigatório"; $lang["config_default_tax_name_required"] = "Nome da taxa padrão é requerida"; $lang["config_dot"] = "ponto"; -$lang["config_email"] = "Email"; +$lang["config_email"] = "E-mail"; $lang["config_email_configuration"] = "Configuração de Email"; $lang["config_email_protocol"] = "Protocolo"; $lang["config_email_mailpath"] = "Caminho para Sendmail"; diff --git a/application/language/pt-BR/login_lang.php b/application/language/pt-BR/login_lang.php index 9e30434a7..e09dec97a 100644 --- a/application/language/pt-BR/login_lang.php +++ b/application/language/pt-BR/login_lang.php @@ -2,6 +2,6 @@ $lang["login_go"] = "Entrar"; $lang["login_invalid_username_and_password"] = "Usuário ou senha inválido"; -$lang["login_login"] = "Login"; +$lang["login_login"] = "Autenticação"; $lang["login_password"] = "Senha"; $lang["login_username"] = "Usuário"; diff --git a/application/language/pt-BR/reports_lang.php b/application/language/pt-BR/reports_lang.php index 336d09912..f3b9345b3 100644 --- a/application/language/pt-BR/reports_lang.php +++ b/application/language/pt-BR/reports_lang.php @@ -90,7 +90,7 @@ $lang["reports_type"] = "Tipo"; $lang["reports_item_count"] = "Filtro por quantidade"; $lang["reports_cost_price"] = "Preço de Custo"; $lang["reports_unit_price"] = "Preço Varejo"; -$lang["reports_sub_total_value"] = "Sub Total"; +$lang["reports_sub_total_value"] = "Subtotal"; $lang["reports_total_inventory_value"] = "Valor Total Inventário"; $lang["reports_zero_and_less"] = "Zero e menor"; $lang["reports_more_than_zero"] = "Maior do que zero"; diff --git a/application/language/pt-BR/sales_lang.php b/application/language/pt-BR/sales_lang.php index 6cace4e2b..deaff8dc1 100644 --- a/application/language/pt-BR/sales_lang.php +++ b/application/language/pt-BR/sales_lang.php @@ -100,7 +100,7 @@ $lang["sales_show_receipt"] = "recibo"; $lang["sales_start_typing_customer_name"] = "Nome Cliente ..."; $lang["sales_start_typing_item_name"] = "Produto ..."; $lang["sales_stock_location"] = "Estoque"; -$lang["sales_sub_total"] = "Sub Total"; +$lang["sales_sub_total"] = "Subtotal"; $lang["sales_successfully_deleted"] = "Apagado com sucesso"; $lang["sales_successfully_suspended_sale"] = "Suspenso com sucesso"; $lang["sales_successfully_updated"] = "Venda atualizada"; diff --git a/application/language/th/config_lang.php b/application/language/th/config_lang.php index 3bf7eb5d5..90016deda 100644 --- a/application/language/th/config_lang.php +++ b/application/language/th/config_lang.php @@ -167,14 +167,14 @@ $lang["config_statistics"] = "Send statistics"; $lang["config_statistics_tooltip"] = "Send statistics for development and feature improvement purposes"; $lang["config_stock_location"] = "สถานที่เก็บ"; $lang["config_stock_location_duplicate"] = ""; -$lang["config_stock_location_invalid_chars"] = "The stock location name can not contain '_'"; +$lang["config_stock_location_invalid_chars"] = "ชื่อสต๊อกสถานที่เก็บสินค้าต้องไม่มีอักษรพิเศษ '_'"; $lang["config_stock_location_required"] = "จำเป็นต้องระบุสถานที่เก็บ"; -$lang["config_takings_printer"] = "Takings Printer"; -$lang["config_tax_decimals"] = "Tax Decimals"; +$lang["config_takings_printer"] = "เลือกเครื่องพิมพ์"; +$lang["config_tax_decimals"] = "จำนวนทศนิยมภาษี"; $lang["config_tax_included"] = "รวมภาษีแล้ว"; $lang["config_thousands_separator"] = "ตัวคั่นหลักพัน"; $lang["config_timezone"] = "โซนเวลา"; -$lang["config_top"] = "Top"; +$lang["config_top"] = "ด้านบน"; $lang["config_website"] = "เว็บไซต์"; $lang["config_number_locale"] = "Localisation"; $lang["config_return_policy_required"] = "ต้องกรอกเงื่อนไขการคืนสินค้า"; diff --git a/application/language/th/datepicker_lang.php b/application/language/th/datepicker_lang.php index f90abd3f1..be4e6c743 100644 --- a/application/language/th/datepicker_lang.php +++ b/application/language/th/datepicker_lang.php @@ -15,7 +15,7 @@ $lang["datepicker_this_year"] = "ปีนี้"; $lang["datepicker_today_last_year"] = "Today Last Year"; $lang["datepicker_yesterday"] = "เมื่อวานนี้"; $lang["datepicker_apply"] = "Apply"; -$lang["datepicker_cancel"] = "Cancel"; +$lang["datepicker_cancel"] = "ยกเลิก"; $lang["datepicker_from"] = "From"; $lang["datepicker_to"] = "To"; $lang["datepicker_custom"] = "Custom"; diff --git a/application/language/th/error_lang.php b/application/language/th/error_lang.php index bad97dc8f..425eeb17d 100644 --- a/application/language/th/error_lang.php +++ b/application/language/th/error_lang.php @@ -1,4 +1,4 @@