Merge pull request #2 from opensourcepos/master

..
This commit is contained in:
WShells authored and GitHub committed 2019-02-16 23:37:59 +02:00
commit 7b318e411c
759 files changed
+26110 -8060

No files matched your search

-2
View File
@@ -1,5 +1,3 @@
dist/ merge=ours
application/language/**/*.php merge=ours
text=auto
application/config/config.php ident
application/views/partial/footer.php ident
+2
View File
@@ -1,5 +1,7 @@
node_modules
tmp
database/database.sql
database/migrate_phppos_dist.sql
application/config/email.php
application/sessions/*
application/logs/*
+2 -1
View File
@@ -2,7 +2,8 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^public$
RewriteRule ^(.*)$ %{REQUEST_URI}public/ [R=301,L]
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge [NC]
RewriteRule "^(.*)$" "/public/" [R=301,L]
</IfModule>
# disable directory browsing
+2 -6
View File
@@ -17,19 +17,15 @@ script:
- docker run --rm -v $(pwd):/app composer/composer install
- docker run --rm -v $(pwd):/app -w /app lucor/php7-cli php bin/install.php translations
develop
- sed -i "s/'\(dev\)'/'$rev'/g" application/config/config.php
- docker run --rm -it -v $(pwd):/app -w /app digitallyseamless/nodejs-bower-grunt
sh -c "npm install && bower install && grunt package"
- docker-compose build
env:
- TAG=$(echo ${TRAVIS_BRANCH} | sed s/feature\\///)
after_success: '[ -n ${DOCKER_USERNAME} ] && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
&& docker tag opensourcepos_php "jekkos/opensourcepos:$TAG" && docker tag opensourcepos_sqlscript
jekkos/opensourcepos:sqlscript && docker push "jekkos/opensourcepos:$TAG" && docker
push jekkos/opensourcepos:sqlscript'
&& docker tag opensourcepos_php "jekkos/opensourcepos:$TAG" && docker push "jekkos/opensourcepos:$TAG"'
deploy:
edge:
source: travis-ci/dpl
branch: master
file: deployment.json
provider: bintray
skip_cleanup: true
+1 -1
View File
@@ -1,4 +1,4 @@
FROM php:7.0.29-apache
FROM php:7.2.13-apache
MAINTAINER jekkos
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
libicu-dev \
+3 -31
View File
@@ -1,7 +1,7 @@
Server Requirements
-------------------
* PHP version 5.6 to 7.2 is recommended. Please note that PHP needs to have `php-gd`, `php-bcmath`, `php-intl`, `php-openssl`, `php-mbstring` and `php-curl` installed and enabled.
* PHP version 5.6 to 7.2 are supported. Please note that PHP needs to have `php-gd`, `php-bcmath`, `php-intl`, `php-openssl`, `php-mbstring` and `php-curl` installed and enabled.
* MySQL 5.5, 5.6 and 5.7 are supported, also MariaDB replacement is supported and apparently offering better performance.
@@ -48,7 +48,7 @@ From now on ospos can be deployed using Docker on Linux, Mac or Windows. This se
```
docker run --rm -v $(pwd):/app composer/composer install
docker run --rm -v $(pwd):/app -w /app lucor/php7-cli php bin/install.php translations develop
docker run --rm -it -v $(pwd):/app -w /app digitallyseamless/nodejs-bower-grunt "sh -c npm install && bower install"
docker run --rm -it -v $(pwd):/app -w /app digitallyseamless/nodejs-bower-grunt sh -c "npm install && bower install"
docker-compose build
docker-compose up
```
@@ -56,32 +56,4 @@ From now on ospos can be deployed using Docker on Linux, Mac or Windows. This se
Cloud install
-------------
A quick option would be to install directly to [Digitalocean](https://m.do.co/c/ac38c262507b) using their preconfigured LAMP stack.
Create a DO account first, add a droplet with preconfigured LAMP and follow the instructions for Local Install below. You will be running a provisioned VPS within minutes.
Cloud install using Docker
--------------------------
This installation is NOT Recommended anymore and will soon be replaced by a one click DO installation procedure.
Existing setups will keep working until the 21th of May but will need to be migrated in time in order to ensure user's safety.
If you want to run a quick demo of ospos or run it permanently in the cloud, then we
suggest using Docker cloud together with the DigitalOcean hosting platform. This way all the
configuration is done automatically and the install will just work.
If you choose *DigitalOcean* [through this link](https://m.do.co/c/ac38c262507b), you will get a *$10 credit* for a first
month of uptime on the platform. A full setup will only take about 2 minutes by following steps below.
1. Create a [Digitalocean account](https://m.do.co/c/ac38c262507b)
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. 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/opensourcepos/opensourcepos)
7. Othewise create a new stack under `Applications > Stacks` and paste the [contents of docker-cloud.yml](https://github.com/opensourcepos/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 > <yournode> > 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/opensourcepos/opensourcepos/wiki/Docker-cloud-maintenance) install can be found on the wiki
If you choose *DigitalOcean* [through this link](https://m.do.co/c/ac38c262507b), you will get a *$10 credit* for a first month. [Check the wiki](https://github.com/opensourcepos/opensourcepos/wiki/DOCS-USERS-Getting-Started-installations#cloud-deploy-installation) for further instructions on how to install the necessary components.
+4
View File
@@ -18,6 +18,10 @@ Copyright (c) 2017 Deep Shah (aka deepshah)
Copyright (c) 2017 Joshua Fernandez (aka joshua1234511)
Copyright (c) 2017 odiea
Copyright (c) 2017 asadjaved63
Copyright (c) 2018 Erasto Marroquin (aka Erastus)
Copyright (c) 2018 WebShells/Shady Sh
Copyright (c) 2018 Nathan Sas (aka nathanzky)
Copyright (c) 2018 Emilio Silva (aka emi-silva)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
+21 -4
View File
@@ -1,7 +1,7 @@
[ ![Download](https://api.bintray.com/packages/jekkos/opensourcepos/opensourcepos/images/download.svg?version=3.2.3) ](https://bintray.com/jekkos/opensourcepos/opensourcepos/3.2.3/link)
[![Build Status](https://travis-ci.org/opensourcepos/opensourcepos.svg?branch=master)](https://travis-ci.org/opensourcepos/opensourcepos)
[![Join the chat at https://gitter.im/jekkos/opensourcepos](https://badges.gitter.im/jekkos/opensourcepos.svg)](https://gitter.im/jekkos/opensourcepos?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Join the chat at https://gitter.im/opensourcepos](https://badges.gitter.im/jekkos/opensourcepos.svg)](https://gitter.im/opensourcepos?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![devDependency Status](https://david-dm.org/jekkos/opensourcepos/dev-status.svg)](https://david-dm.org/jekkos/opensourcepos#info=dev)
[![Dependency Status](https://gemnasium.com/badges/github.com/jekkos/opensourcepos.svg)](https://gemnasium.com/github.com/jekkos/opensourcepos)
[![GitHub version](https://badge.fury.io/gh/jekkos%2Fopensourcepos.svg)](https://badge.fury.io/gh/jekkos%2Fopensourcepos)
[![Translation status](http://weblate.jpeelaer.net/widgets/ospos/-/svg-badge.svg)](http://weblate.jpeelaer.net/engage/ospos/?utm_source=widget)
@@ -30,6 +30,7 @@ The main features are:
* Selectable Boostrap (Bootswatch) based UI theme
* Mailchimp integration
* reCAPTCHA to protect login page from brute force attacks
* GDPR ready
The software is written in PHP language, it uses MySQL (or MariaDB) as data storage back-end and has a simple but intuitive user interface.
@@ -39,6 +40,15 @@ It also has improved functionality and security.
Deployed to a Cloud it's a SaaS (Software as a Service) solution.
DEMO
----
A demo version of the latest master version can be found on our [Demo server](https://demo.opensourcepos.org). This is a containerized install which will be reinitialized when new functionality is added to the code repository.
LOGIN using
* username: admin
* password: pointofsale
Installation
------------
@@ -108,7 +118,7 @@ Bug reports must follow this schema:
2. OS name and version running your Web Server (e.g. CentOS 6.9, Ubuntu 16.4, Windows 10)
3. Web Server name and version (e.g. Apache 2.2, Apache 2.4, Nginx 1.12, Nginx 1.13)
4. Database name and version (e.g. MySQL 5.5, MySQL 5.6, MySQL 5.7, MariaDB 10.0, MariaDB 10.1, MariaDB 10.2)
5. PHP version (e.g. 5.5, 5.6, 7.0, 7.1)
5. PHP version (e.g. 5.6, 7.0, 7.1, 7.2)
6. Language selected in OSPOS (e.g. English, Spanish)
7. Any configuration of OSPOS that you changed
8. Exact steps to reproduce the issue (test case)
@@ -123,7 +133,7 @@ FAQ
* If you are seeing the message **system folder missing**, then you have cloned the source using git and you need to run a build *first*. Check [INSTALL.md](https://github.com/opensourcepos/opensourcepos/blob/master/INSTALL.md) for instructions or download latest zip file from [bintray](https://bintray.com/jekkos/opensourcepos/opensourcepos/view/files?sort=updated&order=desc#files) instead.
* If at login time you read "The installation is not correct, check your php.ini file.", please check the error_log in public folder to understand what's wrong and make sure you read the [INSTALL.md](https://github.com/opensourcepos/opensourcepos/blob/master/INSTALL.md).
* If at login time you read "The installation is not correct, check your php.ini file.", please check the error_log in public folder to understand what's wrong and make sure you read the [INSTALL.md](https://github.com/opensourcepos/opensourcepos/blob/master/INSTALL.md). To know how to enable error_log, please read the comment in [issue 1770](https://github.com/opensourcepos/opensourcepos/issues/1770#issuecomment-355177943).
* If you installed your OSPOS under a web server subdir, please edit public/.htaccess and go to the lines with comment `if in web root` and `if in subdir comment above line, uncomment below one and replace <OSPOS path> with your path` and follow the instruction on the second comment line. If you face more issues please read [issue #920](https://github.com/opensourcepos/opensourcepos/issues/920) for more help.
@@ -134,3 +144,10 @@ FAQ
* If you install ospos in docker behind a proxy that performs ssloffloading, you can enable the url generated to be https instead of http, by activating the environment variable FORCE_HTTPS = 1.
* If you have suhosin installed and face an issue with CSRF, please make sure you read [issue #1492](https://github.com/opensourcepos/opensourcepos/issues/1492).
Credits
-------
|JetBrains|Travis CI|
|:-:|:-:|
|![IntelliJ IDEA](https://raw.githubusercontent.com/wiki/j-easy/easy-batch/images/logo/intellijidea-logo.png)|[Travis CI](https://travis-ci.com/images/logos/TravisCI-Full-Color.png)|
|Many thanks to [JetBrains](https://www.jetbrains.com/) for providing a free license of [IntelliJ IDEA](https://www.jetbrains.com/idea/) to kindly support the development of OSPOS|Many thanks to [Travis CI](https://travis-ci.org) for providing a free continuous integration service for open source projects.|
+16
View File
@@ -1,3 +1,19 @@
Version 3.2.3
-------------
+ Further revert of CSRF change causing regression
+ Code Igniter 3.1.9 upgrade
Version 3.2.2
-------------
+ Revert CSRF change causing regression
Version 3.2.1
-------------
+ Support for GDPR
+ CSRF simplifications
+ Translation upgrades
+ Various bug fixes
Version 3.2.0
-------------
+ Code Igniter 3.1.8 upgrade
+29 -1
View File
@@ -132,4 +132,32 @@ $autoload['language'] = array();
|
| $autoload['model'] = array('first_model' => 'first');
*/
$autoload['model'] = array('Appconfig', 'Person', 'Customer', 'Employee', 'Module', 'Item', 'Item_taxes', 'Sale', 'Supplier', 'Inventory', 'Receiving', 'Giftcard', 'Item_kit', 'Item_kit_items', 'Stock_location', 'Item_quantity', 'Dinner_table', 'Customer_rewards', 'Rewards', 'Tax', 'Expense_category', 'Expense' );
$autoload['model'] = array(
'Appconfig',
'Person',
'Customer',
'Employee',
'Module',
'Item',
'Item_taxes',
'Sale',
'Supplier',
'Inventory',
'Receiving',
'Giftcard',
'Item_kit',
'Item_kit_items',
'Stock_location',
'Item_quantity',
'Dinner_table',
'Customer_rewards',
'Rewards',
'Expense_category',
'Expense',
'Cashup',
'Attribute',
'Tax',
'Tax_category',
'Tax_code',
'Tax_jurisdiction'
);
+4 -4
View File
@@ -8,7 +8,7 @@
|
|
*/
$config['application_version'] = '3.2.1';
$config['application_version'] = '3.3.0';
/*
|--------------------------------------------------------------------------
@@ -19,7 +19,7 @@ $config['application_version'] = '3.2.1';
|
|
*/
$config['commit_sha1'] = '$Id $';
$config['commit_sha1'] = 'dev';
/*
|--------------------------------------------------------------------------
@@ -65,7 +65,7 @@ $config['db_log_enabled'] = FALSE;
| a PHP script and you can easily do that on your own.
|
*/
$config['base_url'] = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') || isset($_ENV['FORCE_HTTPS'])) ? 'https' : 'http';
$config['base_url'] = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') || (isset($_ENV['FORCE_HTTPS']) && $_ENV['FORCE_HTTPS'] == 'true')) ? 'https' : 'http';
$config['base_url'] .= '://' . $_SERVER['HTTP_HOST'];
$config['base_url'] .= str_replace(basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['SCRIPT_NAME']);
@@ -487,7 +487,7 @@ $config['csrf_token_name'] = 'csrf_ospos_v3';
$config['csrf_cookie_name'] = 'csrf_cookie_ospos_v3';
$config['csrf_expire'] = 7200;
$config['csrf_regenerate'] = TRUE;
$config['csrf_exclude_uris'] = array();
$config['csrf_exclude_uris'] = array('login');
/*
|--------------------------------------------------------------------------
+2
View File
@@ -60,10 +60,12 @@ $route['sales/index/([^/]+)/([^/]+)/([^/]+)'] = 'sales/manage/$1/$2/$3';
$route['reports/(summary_:any)/([^/]+)/([^/]+)'] = 'reports/$1/$2/$3/$4';
$route['reports/summary_expenses_categories'] = 'reports/date_input_only';
$route['reports/summary_discounts'] = 'reports/summary_discounts_input';
$route['reports/summary_:any'] = 'reports/date_input';
$route['reports/(graphical_:any)/([^/]+)/([^/]+)'] = 'reports/$1/$2/$3/$4';
$route['reports/graphical_summary_expenses_categories'] = 'reports/date_input_only';
$route['reports/graphical_summary_discounts'] = 'reports/summary_discounts_input';
$route['reports/graphical_:any'] = 'reports/date_input';
$route['reports/(inventory_:any)/([^/]+)'] = 'reports/$1/$2';
+182
View File
@@ -0,0 +1,182 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once("Secure_Controller.php");
class Attributes extends Secure_Controller
{
public function __construct()
{
parent::__construct('attributes');
}
public function index()
{
$data['table_headers'] = $this->xss_clean(get_attribute_definition_manage_table_headers());
$this->load->view('attributes/manage', $data);
}
/*
Returns customer table data rows. This will be called with AJAX.
*/
public function search()
{
$search = $this->input->get('search');
$limit = $this->input->get('limit');
$offset = $this->input->get('offset');
$sort = $this->input->get('sort');
$order = $this->input->get('order');
$attributes = $this->Attribute->search($search, $limit, $offset, $sort, $order);
$total_rows = $this->Attribute->get_found_rows($search);
$data_rows = array();
foreach($attributes->result() as $attribute)
{
$attribute->definition_flags = $this->_get_attributes($attribute->definition_flags);
$data_rows[] = get_attribute_definition_data_row($attribute, $this);
}
$data_rows = $this->xss_clean($data_rows);
echo json_encode(array('total' => $total_rows, 'rows' => $data_rows));
}
public function save_attribute_value($attribute_value)
{
$success = $this->Attribute->save_value(urldecode($attribute_value), $this->input->post('definition_id'), $this->input->post('item_id'), $this->input->post('attribute_id'));
echo json_encode(array('success' => $success != 0));
}
public function delete_attribute_value($attribute_value)
{
$success = $this->Attribute->delete_value($attribute_value, $this->input->post('definition_id'));
echo json_encode(array('success' => $success));
}
public function save_definition($definition_id = -1)
{
$definition_flags = 0;
$flags = (empty($this->input->post('definition_flags'))) ? array() : $this->input->post('definition_flags');
foreach($flags as $flag)
{
$definition_flags |= $flag;
}
//Save definition data
$definition_data = array(
'definition_name' => $this->input->post('definition_name'),
'definition_flags' => $definition_flags,
'definition_fk' => $this->input->post('definition_group') != '' ? $this->input->post('definition_group') : NULL
);
if ($this->input->post('definition_type') != null)
{
$definition_data['definition_type'] = DEFINITION_TYPES[$this->input->post('definition_type')];
}
$definition_name = $this->xss_clean($definition_data['definition_name']);
if($this->Attribute->save_definition($definition_data, $definition_id))
{
//New definition
if($definition_id == -1)
{
$definition_values = json_decode($this->input->post('definition_values'));
foreach($definition_values as $definition_value)
{
$this->Attribute->save_value($definition_value, $definition_data['definition_id']);
}
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('attributes_definition_successful_adding').' '.
$definition_name, 'id' => $definition_data['definition_id']));
}
else //Existing definition
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('attributes_definition_successful_updating').' '.
$definition_name, 'id' => $definition_id));
}
}
else//failure
{
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('attribute_definitions_error_adding_updating').' '.
$definition_name, 'id' => -1));
}
}
public function suggest_attribute($definition_id)
{
$suggestions = $this->xss_clean($this->Attribute->get_suggestions($definition_id, $this->input->get('term')));
echo json_encode($suggestions);
}
public function get_row($row_id)
{
$attribute_definition_info = $this->Attribute->get_info($row_id);
$attribute_definition_info->definition_flags = $this->_get_attributes($attribute_definition_info->definition_flags);
$data_row = $this->xss_clean(get_attribute_definition_data_row($attribute_definition_info));
echo json_encode($data_row);
}
private function _get_attributes($definition_flags = 0)
{
$definition_flag_names = array();
foreach (Attribute::get_definition_flags() as $id => $term)
{
if (empty($definition_flags) || ($id & $definition_flags))
{
$definition_flag_names[$id] = $this->lang->line('attributes_' . strtolower($term) . '_visibility');
}
}
return $definition_flag_names;
}
public function view($definition_id = -1)
{
$info = $this->Attribute->get_info($definition_id);
foreach(get_object_vars($info) as $property => $value)
{
$info->$property = $this->xss_clean($value);
}
$data['definition_id'] = $definition_id;
$data['definition_values'] = $this->Attribute->get_definition_values($definition_id);
$data['definition_group'] = $this->Attribute->get_definitions_by_type(GROUP, $definition_id);
$data['definition_group'][''] = $this->lang->line('common_none_selected_text');
$data['definition_info'] = $info;
$data['definition_flags'] = $this->_get_attributes();
$data['selected_definition_flags'] = $this->_get_attributes($info->definition_flags);
$this->load->view("attributes/form", $data);
}
public function delete_value($attribute_id)
{
return $this->Attribute->delete_value($attribute_id);
}
public function delete()
{
$attributes_to_delete = $this->input->post('ids');
if($this->Attribute->delete_definition_list($attributes_to_delete))
{
$message = $this->lang->line('attributes_definition_successful_deleted') . ' ' . count($attributes_to_delete) . ' ' . $this->lang->line('attributes_definition_one_or_multiple');
echo json_encode(array('success' => TRUE, 'message' => $message));
}
else
{
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('attributes_definition_cannot_be_deleted')));
}
}
}
+243
View File
@@ -0,0 +1,243 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once("Secure_Controller.php");
class Cashups extends Secure_Controller
{
public function __construct()
{
parent::__construct('cashups');
}
public function index()
{
$data['table_headers'] = $this->xss_clean(get_cashups_manage_table_headers());
// filters that will be loaded in the multiselect dropdown
$data['filters'] = array('is_deleted' => $this->lang->line('cashups_is_deleted'));
$this->load->view('cashups/manage', $data);
}
public function search()
{
$cash_up = 0;
$search = $this->input->get('search');
$limit = $this->input->get('limit');
$offset = $this->input->get('offset');
$sort = $this->input->get('sort');
$order = $this->input->get('order');
$filters = array(
'start_date' => $this->input->get('start_date'),
'end_date' => $this->input->get('end_date'),
'is_deleted' => FALSE);
// check if any filter is set in the multiselect dropdown
$filledup = array_fill_keys($this->input->get('filters'), TRUE);
$filters = array_merge($filters, $filledup);
$cash_ups = $this->Cashup->search($search, $filters, $limit, $offset, $sort, $order);
$total_rows = $this->Cashup->get_found_rows($search, $filters);
$data_rows = array();
foreach($cash_ups->result() as $cash_up)
{
$data_rows[] = $this->xss_clean(get_cash_up_data_row($cash_up));
}
echo json_encode(array('total' => $total_rows, 'rows' => $data_rows));
}
public function view($cashup_id = -1)
{
$data = array();
$data['employees'] = array();
foreach($this->Employee->get_all()->result() as $employee)
{
foreach(get_object_vars($employee) as $property => $value)
{
$employee->$property = $this->xss_clean($value);
}
$data['employees'][$employee->person_id] = $employee->first_name . ' ' . $employee->last_name;
}
$cash_ups_info = $this->Cashup->get_info($cashup_id);
foreach(get_object_vars($cash_ups_info) as $property => $value)
{
$cash_ups_info->$property = $this->xss_clean($value);
}
// open cashup
if(empty($cash_ups_info->cashup_id))
{
$cash_ups_info->open_date = date('Y-m-d H:i:s');
$cash_ups_info->close_date = $cash_ups_info->open_date;
$cash_ups_info->open_employee_id = $this->Employee->get_logged_in_employee_info()->person_id;
$cash_ups_info->close_employee_id = $this->Employee->get_logged_in_employee_info()->person_id;
}
// if all the amounts are null or 0 that means it's a close cashup
elseif(floatval($cash_ups_info->closed_amount_cash) == 0 &&
floatval($cash_ups_info->closed_amount_due) == 0 &&
floatval($cash_ups_info->closed_amount_card) == 0 &&
floatval($cash_ups_info->closed_amount_check) == 0)
{
// set the close date and time to the actual as this is a close session
$cash_ups_info->close_date = date('Y-m-d H:i:s');
// the closed amount starts with the open amount -/+ any trasferred amount
$cash_ups_info->closed_amount_cash = $cash_ups_info->open_amount_cash + $cash_ups_info->transfer_amount_cash;
// if it's date mode only and not date & time truncate the open and end date to date only
if(empty($this->config->item('date_or_time_format')))
{
// search for all the payments given the time range
$inputs = array('start_date' => substr($cash_ups_info->open_date, 0, 10), 'end_date' => substr($cash_ups_info->close_date, 0, 10), 'sale_type' => 'complete', 'location_id' => 'all');
}
else
{
// search for all the payments given the time range
$inputs = array('start_date' => $cash_ups_info->open_date, 'end_date' => $cash_ups_info->close_date, 'sale_type' => 'complete', 'location_id' => 'all');
}
// get all the transactions payment summaries
$this->load->model('reports/Summary_payments');
$reports_data = $this->Summary_payments->getData($inputs);
foreach($reports_data as $row)
{
if($row['payment_type'] == $this->lang->line('sales_cash'))
{
$cash_ups_info->closed_amount_cash += $this->xss_clean($row['payment_amount']);
}
elseif($row['payment_type'] == $this->lang->line('sales_due'))
{
$cash_ups_info->closed_amount_due += $this->xss_clean($row['payment_amount']);
}
elseif($row['payment_type'] == $this->lang->line('sales_debit') ||
$row['payment_type'] == $this->lang->line('sales_credit'))
{
$cash_ups_info->closed_amount_card += $this->xss_clean($row['payment_amount']);
}
elseif($row['payment_type'] == $this->lang->line('sales_check'))
{
$cash_ups_info->closed_amount_check += $this->xss_clean($row['payment_amount']);
}
}
// lookup expenses paid in cash
$filters = array(
'only_cash' => TRUE,
'only_due' => FALSE,
'only_check' => FALSE,
'only_credit' => FALSE,
'only_debit' => FALSE,
'is_deleted' => FALSE);
$payments = $this->Expense->get_payments_summary('', array_merge($inputs, $filters));
foreach($payments as $row)
{
$cash_ups_info->closed_amount_cash -= $this->xss_clean($row['amount']);
}
$cash_ups_info->closed_amount_total = $this->_calculate_total($cash_ups_info->open_amount_cash, $cash_ups_info->transfer_amount_cash, $cash_ups_info->closed_amount_cash, $cash_ups_info->closed_amount_due, $cash_ups_info->closed_amount_card, $cash_ups_info->closed_amount_check);
}
$data['cash_ups_info'] = $cash_ups_info;
$this->load->view("cashups/form", $data);
}
public function get_row($row_id)
{
$cash_ups_info = $this->Cashup->get_info($row_id);
$data_row = $this->xss_clean(get_cash_up_data_row($cash_ups_info));
echo json_encode($data_row);
}
public function save($cashup_id = -1)
{
$open_date = $this->input->post('open_date');
$open_date_formatter = date_create_from_format($this->config->item('dateformat') . ' ' . $this->config->item('timeformat'), $open_date);
$close_date = $this->input->post('close_date');
$close_date_formatter = date_create_from_format($this->config->item('dateformat') . ' ' . $this->config->item('timeformat'), $close_date);
$cash_up_data = array(
'open_date' => $open_date_formatter->format('Y-m-d H:i:s'),
'close_date' => $close_date_formatter->format('Y-m-d H:i:s'),
'open_amount_cash' => parse_decimals($this->input->post('open_amount_cash')),
'transfer_amount_cash' => parse_decimals($this->input->post('transfer_amount_cash')),
'closed_amount_cash' => parse_decimals($this->input->post('closed_amount_cash')),
'closed_amount_due' => parse_decimals($this->input->post('closed_amount_due')),
'closed_amount_card' => parse_decimals($this->input->post('closed_amount_card')),
'closed_amount_check' => parse_decimals($this->input->post('closed_amount_check')),
'closed_amount_total' => parse_decimals($this->input->post('closed_amount_total')),
'note' => $this->input->post('note') != NULL,
'description' => $this->input->post('description'),
'open_employee_id' => $this->input->post('open_employee_id'),
'close_employee_id' => $this->input->post('close_employee_id'),
'deleted' => $this->input->post('deleted') != NULL
);
if($this->Cashup->save($cash_up_data, $cashup_id))
{
$cash_up_data = $this->xss_clean($cash_up_data);
//New cashup_id
if($cashup_id == -1)
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('cashups_successful_adding'), 'id' => $cash_up_data['cashup_id']));
}
else // Existing Cashup
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('cashups_successful_updating'), 'id' => $cashup_id));
}
}
else//failure
{
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('cashups_error_adding_updating'), 'id' => -1));
}
}
public function delete()
{
$cash_ups_to_delete = $this->input->post('ids');
if($this->Cashup->delete_list($cash_ups_to_delete))
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('cashups_successful_deleted') . ' ' . count($cash_ups_to_delete) . ' ' . $this->lang->line('cashups_one_or_multiple'), 'ids' => $cash_ups_to_delete));
}
else
{
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('cashups_cannot_be_deleted'), 'ids' => $cash_ups_to_delete));
}
}
/*
AJAX call from cashup input form to calculate the total
*/
public function ajax_cashup_total()
{
$open_amount_cash = parse_decimals($this->input->post('open_amount_cash'));
$transfer_amount_cash = parse_decimals($this->input->post('transfer_amount_cash'));
$closed_amount_cash = parse_decimals($this->input->post('closed_amount_cash'));
$closed_amount_due = parse_decimals($this->input->post('closed_amount_due'));
$closed_amount_card = parse_decimals($this->input->post('closed_amount_card'));
$closed_amount_check = parse_decimals($this->input->post('closed_amount_check'));
$total = $this->_calculate_total($open_amount_cash, $transfer_amount_cash, $closed_amount_due, $closed_amount_cash, $closed_amount_card, $closed_amount_check);
echo json_encode(array('total' => to_currency_no_money($total)));
}
/*
Calculate total
*/
private function _calculate_total($open_amount_cash, $transfer_amount_cash, $closed_amount_due, $closed_amount_cash, $closed_amount_card, $closed_amount_check)
{
return ($closed_amount_cash - $open_amount_cash - $transfer_amount_cash + $closed_amount_due + $closed_amount_card + $closed_amount_check);
}
}
?>
+20 -93
View File
@@ -198,14 +198,16 @@ class Config extends Secure_Controller
{
$data['stock_locations'] = $this->Stock_location->get_all()->result_array();
$data['dinner_tables'] = $this->Dinner_table->get_all()->result_array();
$data['tax_categories'] = $this->Tax->get_all_tax_categories()->result_array();
$data['customer_rewards'] = $this->Customer_rewards->get_all()->result_array();
$data['support_barcode'] = $this->barcode_lib->get_list_barcodes();
$data['logo_exists'] = $this->config->item('company_logo') != '';
$data['line_sequence_options'] = $this->sale_lib->get_line_sequence_options();
$data['register_mode_options'] = $this->sale_lib->get_register_mode_options();
$data['invoice_type_options'] = $this->sale_lib->get_invoice_type_options();
$data['rounding_options'] = Rounding_mode::get_rounding_options();
$data['tax_codes'] = $this->get_tax_code_options();
$data['tax_code_options'] = $this->tax_lib->get_tax_code_options();
$data['tax_category_options'] = $this->tax_lib->get_tax_category_options();
$data['tax_jurisdiction_options'] = $this->tax_lib->get_tax_jurisdiction_options();
$data['show_office_group'] = $this->Module->get_show_office_group();
$data = $this->xss_clean($data);
@@ -233,19 +235,6 @@ class Config extends Secure_Controller
$this->load->view("configs/manage", $data);
}
public function get_tax_code_options()
{
$tax_codes = $this->Tax->get_all_tax_codes()->result_array();
$tax_code_options = array();
foreach($tax_codes as $tax_code)
{
$a = $tax_code['tax_code'];
$b = $tax_code['tax_code_name'];
$tax_code_options[$a] = $b;
}
return $tax_code_options;
}
public function save_info()
{
$upload_success = $this->_handle_logo_upload();
@@ -285,7 +274,10 @@ class Config extends Secure_Controller
{
$batch_save_data = array(
'theme' => $this->input->post('theme'),
'default_sales_discount_type' => $this->input->post('default_sales_discount_type') != NULL,
'default_sales_discount' => $this->input->post('default_sales_discount'),
'default_receivings_discount_type' => $this->input->post('default_receivings_discount_type') != NULL,
'default_receivings_discount' => $this->input->post('default_receivings_discount'),
'enforce_privacy' => $this->input->post('enforce_privacy'),
'receiving_calculate_average_price' => $this->input->post('receiving_calculate_average_price') != NULL,
'lines_per_page' => $this->input->post('lines_per_page'),
@@ -299,16 +291,8 @@ class Config extends Secure_Controller
'suggestions_third_column' => $this->input->post('suggestions_third_column'),
'giftcard_number' => $this->input->post('giftcard_number'),
'derive_sale_quantity' => $this->input->post('derive_sale_quantity') != NULL,
'custom1_name' => $this->input->post('custom1_name'),
'custom2_name' => $this->input->post('custom2_name'),
'custom3_name' => $this->input->post('custom3_name'),
'custom4_name' => $this->input->post('custom4_name'),
'custom5_name' => $this->input->post('custom5_name'),
'custom6_name' => $this->input->post('custom6_name'),
'custom7_name' => $this->input->post('custom7_name'),
'custom8_name' => $this->input->post('custom8_name'),
'custom9_name' => $this->input->post('custom9_name'),
'custom10_name' => $this->input->post('custom10_name')
'multi_pack_enabled' => $this->input->post('multi_pack_enabled') != NULL,
'include_hsn' => $this->input->post('include_hsn') != NULL
);
$this->Module->set_show_office_group($this->input->post('show_office_group') != NULL);
@@ -634,85 +618,26 @@ class Config extends Secure_Controller
{
$this->db->trans_start();
$customer_sales_tax_support = $this->input->post('customer_sales_tax_support') != NULL;
$batch_save_data = array(
'default_tax_1_rate' => parse_decimals($this->input->post('default_tax_1_rate')),
'default_tax_1_name' => $this->input->post('default_tax_1_name'),
'default_tax_2_rate' => parse_decimals($this->input->post('default_tax_2_rate')),
'default_tax_2_name' => $this->input->post('default_tax_2_name'),
'tax_included' => $this->input->post('tax_included') != NULL,
'customer_sales_tax_support' => $customer_sales_tax_support,
'default_origin_tax_code' => $this->input->post('default_origin_tax_code')
'use_destination_based_tax' => $this->input->post('use_destination_based_tax') != NULL,
'default_tax_code' => $this->input->post('default_tax_code'),
'default_tax_category' => $this->input->post('default_tax_category'),
'default_tax_jurisdiction' => $this->input->post('default_tax_jurisdiction'),
'tax_id' => $this->input->post('tax_id')
);
$success = $this->Appconfig->batch_save($batch_save_data) ? TRUE : FALSE;
$delete_rejected = FALSE;
if($customer_sales_tax_support)
{
$array_save = array();
foreach($this->input->post() as $key => $value)
{
if(strstr($key, 'tax_category'))
{
$tax_category_id = preg_replace("/.*?_(\d+)$/", "$1", $key);
$array_save[$tax_category_id]['tax_category'] = $value;
}
elseif(strstr($key, 'tax_group_sequence'))
{
$tax_category_id = preg_replace("/.*?_(\d+)$/", "$1", $key);
$array_save[$tax_category_id]['tax_group_sequence'] = $value;
}
}
$not_to_delete = array();
if(!empty($array_save))
{
foreach($array_save as $key => $value)
{
// save or update
$category_data = array('tax_category' => $value['tax_category'], 'tax_group_sequence' => $value['tax_group_sequence']);
$this->Tax->save_tax_category($category_data, $key);
$not_to_delete[] = $key;
}
}
// all categories not available in post will be deleted now
$deleted_categories = $this->Tax->get_all_tax_categories()->result_array();
foreach($deleted_categories as $tax_category => $category)
{
if(!in_array($category['tax_category_id'], $not_to_delete))
{
$usg1 = $this->Tax->get_tax_category_usage($category['tax_category_id']);
$usg2 = $this->Item->get_tax_category_usage($category['tax_category_id']);
if(($usg1 + $usg2) == 0)
{
$this->Tax->delete_tax_category($category['tax_category_id']);
}
else
{
$delete_rejected = TRUE;
}
}
}
}
$this->db->trans_complete();
$success &= $this->db->trans_status();
$message = '';
if($success && $delete_rejected)
{
$message = $this->lang->line('config_tax_category_used');
$success = FALSE;
}
else
{
$message = $this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully');
}
$message = $this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully');
echo json_encode(array(
'success' => $success,
@@ -813,6 +738,7 @@ class Config extends Secure_Controller
$batch_save_data = array (
'receipt_template' => $this->input->post('receipt_template'),
'receipt_font_size' => $this->input->post('receipt_font_size'),
'print_delay_autoreturn' => $this->input->post('print_delay_autoreturn'),
'email_receipt_check_behaviour' => $this->input->post('email_receipt_check_behaviour'),
'print_receipt_check_behaviour' => $this->input->post('print_receipt_check_behaviour'),
'receipt_show_company_name' => $this->input->post('receipt_show_company_name') != NULL,
@@ -849,12 +775,13 @@ class Config extends Secure_Controller
'invoice_default_comments' => $this->input->post('invoice_default_comments'),
'invoice_email_message' => $this->input->post('invoice_email_message'),
'line_sequence' => $this->input->post('line_sequence'),
'last_used_invoice_number' =>$this->input->post('last_used_invoice_number'),
'last_used_quote_number' =>$this->input->post('last_used_quote_number'),
'last_used_invoice_number' => $this->input->post('last_used_invoice_number'),
'last_used_quote_number' => $this->input->post('last_used_quote_number'),
'quote_default_comments' => $this->input->post('quote_default_comments'),
'work_order_enable' => $this->input->post('work_order_enable') != NULL,
'work_order_format' => $this->input->post('work_order_format'),
'last_used_work_order_number' =>$this->input->post('last_used_work_order_number')
'last_used_work_order_number' => $this->input->post('last_used_work_order_number'),
'invoice_type' => $this->input->post('invoice_type')
);
$result = $this->Appconfig->batch_save($batch_save_data);
+30 -23
View File
@@ -109,8 +109,6 @@ class Customers extends Persons
*/
public function view($customer_id = -1)
{
$customer_sales_tax_support = $this->config->item('customer_sales_tax_support');
$info = $this->Customer->get_info($customer_id);
foreach(get_object_vars($info) as $property => $value)
{
@@ -125,9 +123,20 @@ class Customers extends Persons
}
$employee_info = $this->Employee->get_info($info->employee_id);
$data['employee'] = $employee_info->first_name . ' ' . $employee_info->last_name;
$data['employee'] = $this->xss_clean($employee_info->first_name . ' ' . $employee_info->last_name);
$tax_code_info = $this->Tax_code->get_info($info->sales_tax_code_id);
$tax_code_id = $tax_code_info->tax_code_id;
if($tax_code_info->tax_code != NULL)
{
$data['sales_tax_code_label'] = $this->xss_clean($tax_code_info->tax_code . ' ' . $tax_code_info->tax_code_name);
}
else
{
$data['sales_tax_code_label'] = '';
}
$data['sales_tax_code_label'] = $info->sales_tax_code . ' ' . $this->Tax->get_info($info->sales_tax_code)->tax_code_name;
$packages = array('' => $this->lang->line('items_none'));
foreach($this->Customer_rewards->get_all()->result_array() as $row)
{
@@ -136,13 +145,13 @@ class Customers extends Persons
$data['packages'] = $packages;
$data['selected_package'] = $info->package_id;
if($customer_sales_tax_support == '1')
if($this->config->item('use_destination_based_tax') == '1')
{
$data['customer_sales_tax_enabled'] = TRUE;
$data['use_destination_based_tax'] = TRUE;
}
else
{
$data['customer_sales_tax_enabled'] = FALSE;
$data['use_destination_based_tax'] = FALSE;
}
// retrieve the total amount the customer spent so far together with min, max and average values
@@ -247,24 +256,17 @@ class Customers extends Persons
$customer_data = array(
'consent' => $this->input->post('consent') != NULL,
'account_number' => $this->input->post('account_number') == '' ? NULL : $this->input->post('account_number'),
'tax_id' => $this->input->post('tax_id'),
'company_name' => $this->input->post('company_name') == '' ? NULL : $this->input->post('company_name'),
'discount_percent' => $this->input->post('discount_percent') == '' ? 0.00 : $this->input->post('discount_percent'),
'discount' => $this->input->post('discount') == '' ? 0.00 : $this->input->post('discount'),
'discount_type' => $this->input->post('discount_type') == NULL ? PERCENT : $this->input->post('discount_type'),
'package_id' => $this->input->post('package_id') == '' ? NULL : $this->input->post('package_id'),
'taxable' => $this->input->post('taxable') != NULL,
'date' => $date_formatter->format('Y-m-d H:i:s'),
'employee_id' => $this->input->post('employee_id')
'employee_id' => $this->input->post('employee_id'),
'sales_tax_code_id' => $this->input->post('sales_tax_code_id') == '' ? NULL : $this->input->post('sales_tax_code_id')
);
$tax_code = $this->input->post('sales_tax_code');
if(!isset($tax_code))
{
$customer_data['sales_tax_code'] = '';
}
else
{
$customer_data['sales_tax_code'] = $tax_code;
}
if($this->Customer->save_customer($person_data, $customer_data, $customer_id))
{
// save customer to Mailchimp selected list
@@ -380,14 +382,15 @@ class Customers extends Persons
// XSS file data sanity check
$data = $this->xss_clean($data);
if(sizeof($data) >= 16)
$consent = $data[3] == '' ? 0 : 1;
if(sizeof($data) >= 16 && $consent)
{
$email = strtolower($data[4]);
$person_data = array(
'first_name' => $data[0],
'last_name' => $data[1],
'gender' => $data[2],
'consent' => $data[3] == '' ? 0 : 1,
'email' => $email,
'phone_number' => $data[5],
'address_1' => $data[6],
@@ -400,9 +403,13 @@ class Customers extends Persons
);
$customer_data = array(
'consent' => $consent,
'company_name' => $data[13],
'discount_percent' => $data[15],
'taxable' => $data[16] == '' ? 0 : 1
'discount' => $data[15],
'discount_type' => $data[16],
'taxable' => $data[17] == '' ? 0 : 1,
'date' => date('Y-m-d H:i:s'),
'employee_id' => $this->Employee->get_logged_in_employee_info()->person_id
);
$account_number = $data[14];
+2 -2
View File
@@ -69,7 +69,7 @@ class Employees extends Persons
foreach($this->Module->get_all_subpermissions()->result() as $permission)
{
$permission->module_id = $this->xss_clean($permission->module_id);
$permission->permission_id = $this->xss_clean($permission->permission_id);
$permission->permission_id = str_replace(' ', '_', $this->xss_clean($permission->permission_id));
$permission->grant = $this->xss_clean($this->Employee->has_grant($permission->permission_id, $person_info->person_id));
$permissions[] = $permission;
@@ -121,7 +121,7 @@ class Employees extends Persons
}
//Password has been changed OR first time password set
if($this->input->post('password') != '')
if($this->input->post('password') != '' && ENVIRONMENT != 'testing')
{
$exploded = explode(":", $this->input->post('language'));
$employee_data = array(
+9 -2
View File
@@ -80,7 +80,7 @@ class Expenses extends Secure_Controller
$data['expenses_info'] = $this->Expense->get_info($expense_id);
$data['expense_categories'] = array();
$expense_categories = array();
foreach($this->Expense_category->get_all(0, 0, TRUE)->result_array() as $row)
{
$expense_categories[$row['expense_category_id']] = $row['category_name'];
@@ -128,7 +128,7 @@ class Expenses extends Secure_Controller
$expense_data = array(
'date' => $date_formatter->format('Y-m-d H:i:s'),
'supplier_name' => $this->input->post('supplier_name'),
'supplier_id' => $this->input->post('supplier_id') == '' ? NULL : $this->input->post('supplier_id'),
'supplier_tax_code' => $this->input->post('supplier_tax_code'),
'amount' => parse_decimals($this->input->post('amount')),
'tax_amount' => parse_decimals($this->input->post('tax_amount')),
@@ -159,6 +159,13 @@ class Expenses extends Secure_Controller
}
}
public function ajax_check_amount()
{
$value = $this->input->post();
$parsed_value = parse_decimals(array_pop($value));
echo json_encode(array('success' => $parsed_value !== FALSE));
}
public function delete()
{
$expenses_to_delete = $this->input->post('ids');
+1 -1
View File
@@ -131,7 +131,7 @@ class Giftcards extends Secure_Controller
public function ajax_check_number_giftcard()
{
$parsed_value = parse_decimals($this->input->post('giftcard_amount'));
echo json_encode(array('success' => $parsed_value !== FALSE, 'giftcard_amount' => $parsed_value));
echo json_encode(array('success' => $parsed_value !== FALSE, 'giftcard_amount' => to_currency_no_money($parsed_value)));
}
public function delete()
+9 -5
View File
@@ -14,10 +14,11 @@ class Item_kits extends Secure_Controller
*/
private function _add_totals_to_item_kit($item_kit)
{
$kit_item_info = $this->Item->get_info($item_kit->item_id);
$kit_item_info = $this->Item->get_info(isset($item_kit->kit_item_id) ? $item_kit->kit_item_id : $item_kit->item_id);
$item_kit->total_cost_price = 0;
$item_kit->total_unit_price = $kit_item_info->unit_price;
$item_kit->total_unit_price = (float)$kit_item_info->unit_price;
$total_quantity = 0;
foreach($this->Item_kit_items->get_info($item_kit->item_kit_id) as $item_kit_item)
{
@@ -32,11 +33,13 @@ class Item_kits extends Secure_Controller
if($item_kit->price_option == PRICE_OPTION_ALL || ($item_kit->price_option == PRICE_OPTION_KIT_STOCK && $item_info->stock_type == HAS_STOCK ))
{
$item_kit->total_unit_price += $item_info->unit_price * $item_kit_item['quantity'];
$total_quantity += $item_kit_item['quantity'];
}
}
$discount_fraction = bcdiv($item_kit->kit_discount_percent, 100);
$item_kit->total_unit_price = $item_kit->total_unit_price - round(bcmul($item_kit->total_unit_price, $discount_fraction), totals_decimals(), PHP_ROUND_HALF_UP);
$discount_fraction = bcdiv($item_kit->kit_discount, 100);
$item_kit->total_unit_price = $item_kit->total_unit_price - round(($item_kit->kit_discount_type == PERCENT)?bcmul($item_kit->total_unit_price, $discount_fraction): $item_kit->kit_discount, totals_decimals(), PHP_ROUND_HALF_UP);
return $item_kit;
}
@@ -129,7 +132,8 @@ class Item_kits extends Secure_Controller
$item_kit_data = array(
'name' => $this->input->post('name'),
'item_id' => $this->input->post('kit_item_id'),
'kit_discount_percent' => $this->input->post('kit_discount_percent'),
'kit_discount' => $this->input->post('kit_discount'),
'kit_discount_type' => $this->input->post('kit_discount_type') == NULL ? PERCENT : $this->input->post('kit_discount_type'),
'price_option' => $this->input->post('price_option'),
'print_option' => $this->input->post('print_option'),
'description' => $this->input->post('description')
+218 -68
View File
@@ -13,6 +13,8 @@ class Items extends Secure_Controller
public function index()
{
$this->session->set_userdata('allow_temp_items', 0);
$data['table_headers'] = $this->xss_clean(get_items_manage_table_headers());
$data['stock_location'] = $this->xss_clean($this->item_lib->get_item_location());
@@ -23,8 +25,9 @@ class Items extends Secure_Controller
'low_inventory' => $this->lang->line('items_low_inventory_items'),
'is_serialized' => $this->lang->line('items_serialized_items'),
'no_description' => $this->lang->line('items_no_description_items'),
'search_custom' => $this->lang->line('items_search_custom_items'),
'is_deleted' => $this->lang->line('items_is_deleted'));
'search_custom' => $this->lang->line('items_search_attributes'),
'is_deleted' => $this->lang->line('items_is_deleted'),
'temporary' => $this->lang->line('items_temp'));
$this->load->view('items/manage', $data);
}
@@ -42,6 +45,8 @@ class Items extends Secure_Controller
$this->item_lib->set_item_location($this->input->get('stock_location'));
$definition_names = $this->Attribute->get_definitions_by_flags(Attribute::SHOW_IN_ITEMS);
$filters = array('start_date' => $this->input->get('start_date'),
'end_date' => $this->input->get('end_date'),
'stock_location_id' => $this->item_lib->get_item_location(),
@@ -50,7 +55,9 @@ class Items extends Secure_Controller
'is_serialized' => FALSE,
'no_description' => FALSE,
'search_custom' => FALSE,
'is_deleted' => FALSE);
'is_deleted' => FALSE,
'temporary' => FALSE,
'definition_ids' => array_keys($definition_names));
// check if any filter is set in the multiselect dropdown
$filledup = array_fill_keys($this->input->get('filters'), TRUE);
@@ -124,6 +131,15 @@ class Items extends Secure_Controller
echo json_encode($suggestions);
}
public function suggest_low_sell()
{
$suggestions = $this->xss_clean($this->Item->get_low_sell_suggestions($this->input->post_get('name')));
echo json_encode($suggestions);
}
public function suggest_kits()
{
$suggestions = $this->xss_clean($this->Item->get_kit_search_suggestions($this->input->post_get('term'),
@@ -151,16 +167,6 @@ class Items extends Secure_Controller
echo json_encode($suggestions);
}
/*
Gives search suggestions based on what is being searched for
*/
public function suggest_custom()
{
$suggestions = $this->xss_clean($this->Item->get_custom_suggestions($this->input->post('term'), $this->input->post('field_no')));
echo json_encode($suggestions);
}
public function get_row($item_ids)
{
@@ -177,17 +183,53 @@ class Items extends Secure_Controller
public function view($item_id = -1)
{
if($item_id == -1)
{
$data = array();
}
// allow_temp_items is set in the index function of items.php or sales.php
$data['allow_temp_item'] = $this->session->userdata('allow_temp_items');
$data['item_tax_info'] = $this->xss_clean($this->Item_taxes->get_info($item_id));
$data['default_tax_1_rate'] = '';
$data['default_tax_2_rate'] = '';
$data['item_kits_enabled'] = $this->Employee->has_grant('item_kits', $this->Employee->get_logged_in_employee_info()->person_id);
$data['item_type_disabled'] = !$this->Employee->has_grant('item_kits', $this->Employee->get_logged_in_employee_info()->person_id);
$data['definition_values'] = $this->Attribute->get_attributes_by_item($item_id);
$data['definition_names'] = $this->Attribute->get_definition_names();
foreach($data['definition_values'] as $definition_id => $definition)
{
unset($data['definition_names'][$definition_id]);
}
$item_info = $this->Item->get_info($item_id);
foreach(get_object_vars($item_info) as $property => $value)
{
$item_info->$property = $this->xss_clean($value);
}
if($data['allow_temp_item'] == 1)
{
if($item_id != -1)
{
if($item_info->item_type != ITEM_TEMP)
{
$data['allow_temp_item'] = 0;
}
}
}
else
{
if($item_info->item_type == ITEM_TEMP)
{
$data['allow_temp_item'] = 1;
}
}
$use_destination_based_tax = (boolean)$this->config->item('use_destination_based_tax');
$data['include_hsn'] = $this->config->item('include_hsn') == '1';
if($item_id == -1)
{
$data['default_tax_1_rate'] = $this->config->item('default_tax_1_rate');
@@ -196,8 +238,16 @@ class Items extends Secure_Controller
$item_info->receiving_quantity = 1;
$item_info->reorder_level = 1;
$item_info->item_type = ITEM; // standard
$item_info->item_id = $item_id;
$item_info->stock_type = HAS_STOCK;
$item_info->tax_category_id = 1; // Standard
$item_info->tax_category_id = NULL;
$item_info->qty_per_pack = 1;
$item_info->pack_name = $this->lang->line('items_default_pack_name');
$data['hsn_code'] = '';
if($use_destination_based_tax)
{
$item_info->tax_category_id = $this->config->item('default_tax_category');
}
}
$data['item_info'] = $item_info;
@@ -210,23 +260,38 @@ class Items extends Secure_Controller
$data['suppliers'] = $suppliers;
$data['selected_supplier'] = $item_info->supplier_id;
$customer_sales_tax_support = $this->config->item('customer_sales_tax_support');
if($customer_sales_tax_support == '1')
if($data['include_hsn'])
{
$data['customer_sales_tax_enabled'] = TRUE;
$tax_categories = array();
foreach($this->Tax->get_all_tax_categories()->result_array() as $row)
{
$tax_categories[$this->xss_clean($row['tax_category_id'])] = $this->xss_clean($row['tax_category']);
}
$data['tax_categories'] = $tax_categories;
$data['selected_tax_category'] = $item_info->tax_category_id;
$data['hsn_code'] = $item_info->hsn_code;
}
else
{
$data['customer_sales_tax_enabled'] = FALSE;
$data['hsn_code'] = '';
}
if($use_destination_based_tax)
{
$data['use_destination_based_tax'] = TRUE;
$tax_categories = array();
foreach($this->Tax_category->get_all()->result_array() as $row)
{
$tax_categories[$this->xss_clean($row['tax_category_id'])] = $this->xss_clean($row['tax_category']);
}
$tax_category = "";
if ($item_info->tax_category_id != NULL)
{
$tax_category_info=$this->Tax_category->get_info($item_info->tax_category_id);
$tax_category= $tax_category_info->tax_category;
}
$data['tax_categories'] = $tax_categories;
$data['tax_category'] = $tax_category;
$data['tax_category_id'] = $item_info->tax_category_id;
}
else
{
$data['use_destination_based_tax'] = FALSE;
$data['tax_categories'] = array();
$data['selected_tax_category'] = '';
$data['tax_category'] = '';
}
$data['logo_exists'] = $item_info->pic_filename != '';
@@ -253,6 +318,18 @@ class Items extends Secure_Controller
$data['stock_locations'] = $location_array;
}
$data['selected_low_sell_item_id'] = $item_info->low_sell_item_id;
if($item_id != -1 && $item_info->item_id != $item_info->low_sell_item_id)
{
$low_sell_item_info = $this->Item->get_info($item_info->low_sell_item_id);
$data['selected_low_sell_item'] = implode(NAME_SEPARATOR, array($low_sell_item_info->name, $low_sell_item_info->pack_name));
}
else
{
$data['selected_low_sell_item'] = '';
}
$this->load->view('items/form', $data);
}
@@ -336,6 +413,40 @@ class Items extends Secure_Controller
$this->load->view('barcodes/barcode_sheet', $data);
}
public function attributes($item_id)
{
$data['item_id'] = $item_id;
$definition_ids = json_decode($this->input->post('definition_ids'), TRUE);
$data['definition_values'] = $this->Attribute->get_attributes_by_item($item_id) + $this->Attribute->get_values_by_definitions($definition_ids);
$data['definition_names'] = $this->Attribute->get_definition_names();
foreach($data['definition_values'] as $definition_id => $definition_value)
{
$attribute_value = $this->Attribute->get_attribute_value($item_id, $definition_id);
$attribute_id = (empty($attribute_value) || empty($attribute_value->attribute_id)) ? NULL : $attribute_value->attribute_id;
$values = &$data['definition_values'][$definition_id];
$values['attribute_id'] = $attribute_id;
$values['attribute_value'] = $attribute_value;
$values['selected_value'] = '';
if ($definition_value['definition_type'] == DROPDOWN)
{
$values['values'] = $this->Attribute->get_definition_values($definition_id);
$link_value = $this->Attribute->get_link_value($item_id, $definition_id);
$values['selected_value'] = (empty($link_value)) ? '' : $link_value->attribute_id;
}
if (!empty($definition_ids[$definition_id]))
{
$values['selected_value'] = $definition_ids[$definition_id];
}
unset($data['definition_names'][$definition_id]);
}
$this->load->view('attributes/item', $data);
}
public function bulk_edit()
{
$suppliers = array('' => $this->lang->line('items_none'));
@@ -364,34 +475,57 @@ class Items extends Secure_Controller
$upload_success = $this->_handle_image_upload();
$upload_data = $this->upload->data();
$receiving_quantity = parse_decimals($this->input->post('receiving_quantity'));
$item_type = $this->input->post('item_type') == NULL ? ITEM : $this->input->post('item_type');
if($receiving_quantity == '0' && $item_type!= ITEM_TEMP)
{
$receiving_quantity = '1';
}
$default_pack_name = $this->lang->line('items_default_pack_name');
if ($item_id == -1)
{
// Set low_sell_item_id to -1 for a new item so that when it is saved the item will point to itself for the
// low sell item.
$low_sell_item_id = $this->input->post('low_sell_item_id') == NULL ? -1 : $this->input->post('low_sell_item_id');
}
else
{
// On an existing item where the low sell item is not prompted for always force the item_id as the low sell item Id
$low_sell_item_id = $this->input->post('low_sell_item_id') == NULL ? $item_id : $this->input->post('low_sell_item_id');
}
//Save item data
$item_data = array(
'name' => $this->input->post('name'),
'description' => $this->input->post('description'),
'category' => $this->input->post('category'),
'item_type' => $this->input->post('item_type') == NULL ? ITEM : $this->input->post('item_type'),
'item_type' => $item_type,
'stock_type' => $this->input->post('stock_type') == NULL ? HAS_STOCK : $this->input->post('stock_type'),
'supplier_id' => $this->input->post('supplier_id') == '' ? NULL : $this->input->post('supplier_id'),
'item_number' => $this->input->post('item_number') == '' ? NULL : $this->input->post('item_number'),
'cost_price' => parse_decimals($this->input->post('cost_price')),
'unit_price' => parse_decimals($this->input->post('unit_price')),
'reorder_level' => parse_decimals($this->input->post('reorder_level')),
'receiving_quantity' => parse_decimals($this->input->post('receiving_quantity')),
'receiving_quantity' => $receiving_quantity,
'allow_alt_description' => $this->input->post('allow_alt_description') != NULL,
'is_serialized' => $this->input->post('is_serialized') != NULL,
'qty_per_pack' => $this->input->post('qty_per_pack') == NULL ? 1 : $this->input->post('qty_per_pack'),
'pack_name' => $this->input->post('pack_name') == NULL ? $default_pack_name : $this->input->post('pack_name'),
'low_sell_item_id' => $low_sell_item_id,
'deleted' => $this->input->post('is_deleted') != NULL,
'custom1' => $this->input->post('custom1') == NULL ? '' : $this->input->post('custom1'),
'custom2' => $this->input->post('custom2') == NULL ? '' : $this->input->post('custom2'),
'custom3' => $this->input->post('custom3') == NULL ? '' : $this->input->post('custom3'),
'custom4' => $this->input->post('custom4') == NULL ? '' : $this->input->post('custom4'),
'custom5' => $this->input->post('custom5') == NULL ? '' : $this->input->post('custom5'),
'custom6' => $this->input->post('custom6') == NULL ? '' : $this->input->post('custom6'),
'custom7' => $this->input->post('custom7') == NULL ? '' : $this->input->post('custom7'),
'custom8' => $this->input->post('custom8') == NULL ? '' : $this->input->post('custom8'),
'custom9' => $this->input->post('custom9') == NULL ? '' : $this->input->post('custom9'),
'custom10' => $this->input->post('custom10') == NULL ? '' : $this->input->post('custom10')
'hsn_code' => $this->input->post('hsn_code') == NULL ? '' : $this->input->post('hsn_code')
);
if($item_data['item_type'] == ITEM_TEMP)
{
$item_data['stock_type'] = HAS_NO_STOCK;
$item_data['receiving_quantity'] = 0;
$item_data['reorder_level'] = 0;
}
$x = $this->input->post('tax_category_id');
if(!isset($x))
{
@@ -399,7 +533,7 @@ class Items extends Secure_Controller
}
else
{
$item_data['tax_category_id'] = $this->input->post('tax_category_id');
$item_data['tax_category_id'] = $this->input->post('tax_category_id') == '' ? NULL : $this->input->post('tax_category_id');
}
if(!empty($upload_data['orig_name']))
@@ -412,8 +546,7 @@ class Items extends Secure_Controller
}
$employee_id = $this->Employee->get_logged_in_employee_info()->person_id;
$cur_item_info = $this->Item->get_info($item_id);
if($this->Item->save($item_data, $item_id))
{
$success = TRUE;
@@ -424,29 +557,40 @@ class Items extends Secure_Controller
$item_id = $item_data['item_id'];
$new_item = TRUE;
}
$items_taxes_data = array();
$tax_names = $this->input->post('tax_names');
$tax_percents = $this->input->post('tax_percents');
$count = count($tax_percents);
for ($k = 0; $k < $count; ++$k)
$use_destination_based_tax = (boolean)$this->config->item('use_destination_based_tax');
if(!$use_destination_based_tax)
{
$tax_percentage = parse_decimals($tax_percents[$k]);
if(is_numeric($tax_percentage))
$items_taxes_data = array();
$tax_names = $this->input->post('tax_names');
$tax_percents = $this->input->post('tax_percents');
$count = count($tax_percents);
for ($k = 0; $k < $count; ++$k)
{
$items_taxes_data[] = array('name' => $tax_names[$k], 'percent' => $tax_percentage);
$tax_percentage = parse_decimals($tax_percents[$k]);
if(is_numeric($tax_percentage))
{
$items_taxes_data[] = array('name' => $tax_names[$k], 'percent' => $tax_percentage);
}
}
$success &= $this->Item_taxes->save($items_taxes_data, $item_id);
}
$success &= $this->Item_taxes->save($items_taxes_data, $item_id);
//Save item quantity
$stock_locations = $this->Stock_location->get_undeleted_all()->result_array();
foreach($stock_locations as $location)
{
$updated_quantity = parse_decimals($this->input->post('quantity_' . $location['location_id']));
if($item_data['item_type'] == ITEM_TEMP)
{
$updated_quantity = 0;
}
$location_detail = array('item_id' => $item_id,
'location_id' => $location['location_id'],
'quantity' => $updated_quantity);
$item_quantity = $this->Item_quantity->get_item_quantity($item_id, $location['location_id']);
if($item_quantity->quantity != $updated_quantity || $new_item)
{
@@ -465,6 +609,20 @@ class Items extends Secure_Controller
}
}
// Save item attributes
$attribute_links = $this->input->post('attribute_links') != NULL ? $this->input->post('attribute_links') : array();
$attribute_ids = $this->input->post('attribute_ids');
$this->Attribute->delete_link($item_id);
foreach($attribute_links as $definition_id => $attribute_id)
{
$definition_type = $this->Attribute->get_info($definition_id)->definition_type;
if($definition_type != DROPDOWN)
{
$attribute_id = $this->Attribute->save_value($attribute_id, $definition_id, $item_id, $attribute_ids[$definition_id], $definition_type);
}
$this->Attribute->save_link($item_id, $definition_id, $attribute_id);
}
if($success && $upload_success)
{
$message = $this->xss_clean($this->lang->line('items_successful_' . ($new_item ? 'adding' : 'updating')) . ' ' . $item_data['name']);
@@ -597,7 +755,7 @@ class Items extends Secure_Controller
$tax_percents = $this->input->post('tax_percents');
$tax_updated = FALSE;
$count = count($tax_percents);
for ($k = 0; $k < $count; ++$k)
for($k = 0; $k < $count; ++$k)
{
if(!empty($tax_names[$k]) && is_numeric($tax_percents[$k]))
{
@@ -652,6 +810,8 @@ class Items extends Secure_Controller
public function do_excel_import()
{
$non_repeating_element_count = 18;
if($_FILES['file_path']['error'] != UPLOAD_ERR_OK)
{
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('items_excel_import_failed')));
@@ -665,14 +825,13 @@ class Items extends Secure_Controller
$i = 1;
$failCodes = array();
while(($data = fgetcsv($handle)) !== FALSE)
{
// XSS file data sanity check
$data = $this->xss_clean($data);
/* haven't touched this so old templates will work, or so I guess... */
if(sizeof($data) >= 23)
if(sizeof($data) >= $non_repeating_element_count)
{
$item_data = array(
'name' => $data[1],
@@ -684,16 +843,7 @@ class Items extends Secure_Controller
'supplier_id' => $this->Supplier->exists($data[3]) ? $data[3] : NULL,
'allow_alt_description' => $data[12] != '' ? '1' : '0',
'is_serialized' => $data[13] != '' ? '1' : '0',
'custom1' => $data[14],
'custom2' => $data[15],
'custom3' => $data[16],
'custom4' => $data[17],
'custom5' => $data[18],
'custom6' => $data[19],
'custom7' => $data[20],
'custom8' => $data[21],
'custom9' => $data[22],
'custom10' => $data[23]
'hsn_code' => $data[15]
);
/* we could do something like this, however, the effectiveness of
@@ -701,7 +851,7 @@ class Items extends Secure_Controller
into that directory, so you really can do whatever you want, this probably
needs further discussion */
$pic_file = $data[24];
$pic_file = $data[14];
/*if(strcmp('.htaccess', $pic_file)==0)
{
$pic_file='';
@@ -751,7 +901,7 @@ class Items extends Secure_Controller
// array to store information if location got a quantity
$allowed_locations = $this->Stock_location->get_allowed_locations();
for($col = 25; $col < $cols; $col = $col + 2)
for($col = 16; $col < $cols; $col = $col + 2)
{
$location_id = $data[$col];
if(array_key_exists($location_id, $allowed_locations))
+9 -4
View File
@@ -4,6 +4,7 @@ class Login extends CI_Controller
{
public function index()
{
$this->load->library('migration');
if($this->Employee->is_logged_in())
{
redirect('home');
@@ -14,6 +15,7 @@ class Login extends CI_Controller
$this->form_validation->set_rules('username', 'lang:login_username', 'required|callback_login_check');
if($this->config->item('gcaptcha_enable'))
{
$this->form_validation->set_rules('g-recaptcha-response', 'lang:login_gcaptcha', 'required|callback_gcaptcha_check');
@@ -41,6 +43,13 @@ class Login extends CI_Controller
return FALSE;
}
if (!$this->migration->is_latest())
{
set_time_limit(1200);
// trigger any required upgrade before starting the application
$this->migration->latest();
}
if(!$this->Employee->login($username, $password))
{
$this->form_validation->set_message('login_check', $this->lang->line('login_invalid_username_and_password'));
@@ -48,10 +57,6 @@ class Login extends CI_Controller
return FALSE;
}
// trigger any required upgrade before starting the application
$this->load->library('migration');
$this->migration->latest();
return TRUE;
}
+9 -5
View File
@@ -93,6 +93,8 @@ class Receivings extends Secure_Controller
$this->barcode_lib->parse_barcode_fields($quantity, $item_id_or_number_or_item_kit_or_receipt);
$quantity = ($mode == 'receive' || $mode == 'requisition') ? $quantity : -$quantity;
$item_location = $this->receiving_lib->get_stock_source();
$discount = $this->config->item('default_receivings_discount');
$discount_type = $this->config->item('default_receivings_discount_type');
if($mode == 'return' && $this->Receiving->is_valid_receipt($item_id_or_number_or_item_kit_or_receipt))
{
@@ -100,9 +102,9 @@ class Receivings extends Secure_Controller
}
elseif($this->Item_kit->is_valid_item_kit($item_id_or_number_or_item_kit_or_receipt))
{
$this->receiving_lib->add_item_kit($item_id_or_number_or_item_kit_or_receipt, $item_location);
$this->receiving_lib->add_item_kit($item_id_or_number_or_item_kit_or_receipt, $item_location, $discount, $discount_type);
}
elseif(!$this->receiving_lib->add_item($item_id_or_number_or_item_kit_or_receipt, $quantity, $item_location))
elseif(!$this->receiving_lib->add_item($item_id_or_number_or_item_kit_or_receipt, $quantity, $item_location, $discount, $discount_type))
{
$data['error'] = $this->lang->line('receivings_unable_to_add_item');
}
@@ -123,11 +125,13 @@ class Receivings extends Secure_Controller
$price = parse_decimals($this->input->post('price'));
$quantity = parse_decimals($this->input->post('quantity'));
$discount = parse_decimals($this->input->post('discount'));
$discount_type = parse_decimals($this->input->post('discount_type'));
$item_location = $this->input->post('location');
$receiving_quantity = $this->input->post('receiving_quantity');
if($this->form_validation->run() != FALSE)
{
$this->receiving_lib->edit_item($item_id, $description, $serialnumber, $quantity, $discount, $price);
$this->receiving_lib->edit_item($item_id, $description, $serialnumber, $quantity, $discount, $discount_type, $price, $receiving_quantity);
}
else
{
@@ -263,8 +267,8 @@ class Receivings extends Secure_Controller
foreach($this->receiving_lib->get_cart() as $item)
{
$this->receiving_lib->delete_item($item['line']);
$this->receiving_lib->add_item($item['item_id'], $item['quantity'], $this->receiving_lib->get_stock_destination());
$this->receiving_lib->add_item($item['item_id'], -$item['quantity'], $this->receiving_lib->get_stock_source());
$this->receiving_lib->add_item($item['item_id'], $item['quantity'], $this->receiving_lib->get_stock_destination(), $item['discount_type']);
$this->receiving_lib->add_item($item['item_id'], -$item['quantity'], $this->receiving_lib->get_stock_source(), $item['discount_type']);
}
$this->complete();
+129 -21
View File
@@ -318,11 +318,60 @@ class Reports extends Secure_Controller
$this->load->view('reports/tabular', $data);
}
//Summary Discounts report
public function summary_discounts($start_date, $end_date, $sale_type, $location_id = 'all')
//Summary Sales Taxes report
public function summary_sales_taxes($start_date, $end_date, $sale_type, $location_id = 'all')
{
$inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'sale_type' => $sale_type, 'location_id' => $location_id);
$this->load->model('reports/Summary_sales_taxes');
$model = $this->Summary_sales_taxes;
$report_data = $model->getData($inputs);
$summary = $this->xss_clean($model->getSummaryData($inputs));
$tabular_data = array();
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array(
'reporting_authority' => $row['reporting_authority'],
'jurisdiction_name' => $row['jurisdiction_name'],
'tax_category' => $row['tax_category'],
'tax_rate' => $row['tax_rate'],
'tax' => to_currency_tax($row['tax'])
));
}
$data = array(
'title' => $this->lang->line('reports_sales_taxes_summary_report'),
'subtitle' => $this->_get_subtitle_report(array('start_date' => $start_date, 'end_date' => $end_date)),
'headers' => $this->xss_clean($model->getDataColumns()),
'data' => $tabular_data,
'summary_data' => $summary
);
$this->load->view('reports/tabular', $data);
}
public function summary_discounts_input()
{
$data = array();
$stock_locations = $data = $this->xss_clean($this->Stock_location->get_allowed_locations('sales'));
$stock_locations['all'] = $this->lang->line('reports_all');
$data['stock_locations'] = array_reverse($stock_locations, TRUE);
$data['mode'] = 'sale';
$data['discount_type_options'] = array(
'0' => $this->lang->line('reports_discount_percent'),
'1'=> $this->lang->line('reports_discount_fixed'));
$data['sale_type_options'] = $this->get_sale_type_options();
$this->load->view('reports/date_input', $data);
}
//Summary Discounts report
public function summary_discounts($start_date, $end_date, $sale_type, $location_id = 'all', $discount_type=0)
{
$inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'sale_type' => $sale_type, 'location_id' => $location_id,'discount_type'=>$discount_type);
$this->load->model('reports/Summary_discounts');
$model = $this->Summary_discounts;
@@ -333,7 +382,8 @@ class Reports extends Secure_Controller
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array(
'discount' => $row['discount_percent'],
'total' => to_currency($row['total']),
'discount' => $row['discount'],
'count' => $row['count']
));
}
@@ -366,7 +416,7 @@ class Reports extends Secure_Controller
$tabular_data[] = $this->xss_clean(array(
'payment_type' => $row['payment_type'],
'report_count' => $row['count'],
'amount_tendered' => to_currency($row['payment_amount'])
'amount_due' => to_currency($row['payment_amount'])
));
}
@@ -669,6 +719,40 @@ class Reports extends Secure_Controller
$this->load->view('reports/graphical', $data);
}
//Graphical summary sales taxes report
public function graphical_summary_sales_taxes($start_date, $end_date, $sale_type, $location_id = 'all')
{
$inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'sale_type' => $sale_type, 'location_id' => $location_id);
$this->load->model('reports/Summary_sales_taxes');
$model = $this->Summary_sales_taxes;
$report_data = $model->getData($inputs);
$summary = $this->xss_clean($model->getSummaryData($inputs));
$labels = array();
$series = array();
foreach($report_data as $row)
{
$row = $this->xss_clean($row);
$labels[] = $row['jurisdiction_name'];
$series[] = array('meta' => $row['tax_rate'] . '%', 'value' => $row['tax']);
}
$data = array(
'title' => $this->lang->line('reports_sales_taxes_summary_report'),
'subtitle' => $this->_get_subtitle_report(array('start_date' => $start_date, 'end_date' => $end_date)),
'chart_type' => 'reports/graphs/pie',
'labels_1' => $labels,
'series_data_1' => $series,
'summary_data_1' => $summary,
'show_currency' => TRUE
);
$this->load->view('reports/graphical', $data);
}
//Graphical summary customers report
public function graphical_summary_customers($start_date, $end_date, $sale_type, $location_id = 'all')
{
@@ -706,9 +790,9 @@ class Reports extends Secure_Controller
}
//Graphical summary discounts report
public function graphical_summary_discounts($start_date, $end_date, $sale_type, $location_id = 'all')
public function graphical_summary_discounts($start_date, $end_date, $sale_type, $location_id = 'all', $discount_type=0)
{
$inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'sale_type' => $sale_type, 'location_id' => $location_id);
$inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'sale_type' => $sale_type, 'location_id' => $location_id,'discount_type'=>$discount_type);
$this->load->model('reports/Summary_discounts');
$model = $this->Summary_discounts;
@@ -722,7 +806,7 @@ class Reports extends Secure_Controller
{
$row = $this->xss_clean($row);
$labels[] = $row['discount_percent'];
$labels[] = $row['discount'];
$series[] = $row['count'];
}
@@ -734,7 +818,7 @@ class Reports extends Secure_Controller
'series_data_1' => $series,
'summary_data_1' => $summary,
'yaxis_title' => $this->lang->line('reports_count'),
'xaxis_title' => $this->lang->line('reports_discount_percent'),
'xaxis_title' => $this->lang->line('reports_discount'),
'show_currency' => FALSE
);
@@ -869,7 +953,7 @@ class Reports extends Secure_Controller
to_currency($drow['total']),
to_currency($drow['cost']),
to_currency($drow['profit']),
$drow['discount_percent'].'%'));
($drow['discount_type'] == PERCENT)? $drow['discount'].'%':to_currency($drow['discount'])));
}
if(isset($report_data['rewards'][$key]))
@@ -980,7 +1064,7 @@ class Reports extends Secure_Controller
to_currency($drow['total']),
to_currency($drow['cost']),
to_currency($drow['profit']),
$drow['discount_percent'].'%'));
($drow['discount_type'] == PERCENT)? $drow['discount'].'%':to_currency($drow['discount'])));
}
if(isset($report_data['rewards'][$key]))
@@ -1018,6 +1102,9 @@ class Reports extends Secure_Controller
$discounts[$i] = $i . '%';
}
$data['specific_input_data'] = $discounts;
$data['discount_type_options'] = array(
'0' => $this->lang->line('reports_discount_percent'),
'1'=> $this->lang->line('reports_discount_fixed'));
$data['sale_type_options'] = $this->get_sale_type_options();
$data = $this->xss_clean($data);
@@ -1025,9 +1112,9 @@ class Reports extends Secure_Controller
$this->load->view('reports/specific_input', $data);
}
public function specific_discount($start_date, $end_date, $discount, $sale_type)
public function specific_discount($start_date, $end_date, $discount, $sale_type, $discount_type)
{
$inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'discount' => $discount, 'sale_type' => $sale_type);
$inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'discount' => $discount, 'sale_type' => $sale_type, 'discount_type' => $discount_type);
$this->load->model('reports/Specific_discount');
$model = $this->Specific_discount;
@@ -1085,7 +1172,7 @@ class Reports extends Secure_Controller
to_currency($drow['total']),
to_currency($drow['cost']),
to_currency($drow['profit']),
$drow['discount_percent'].'%'));
($drow['discount_type'] == PERCENT)? $drow['discount'].'%':to_currency($drow['discount'])));
}
if(isset($report_data['rewards'][$key]))
@@ -1172,14 +1259,19 @@ class Reports extends Secure_Controller
public function detailed_sales($start_date, $end_date, $sale_type, $location_id = 'all')
{
$inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'sale_type' => $sale_type, 'location_id' => $location_id);
$definition_names = $this->Attribute->get_definitions_by_flags(Attribute::SHOW_IN_SALES);
$inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'sale_type' => $sale_type, 'location_id' => $location_id, 'definition_ids' => array_keys($definition_names));
$this->load->model('reports/Detailed_sales');
$model = $this->Detailed_sales;
$model->create($inputs);
$headers = $this->xss_clean($model->getDataColumns());
$columns = $model->getDataColumns();
$columns['details'] = array_merge($columns['details'], $definition_names);
$headers = $this->xss_clean($columns);
$report_data = $model->getData($inputs);
@@ -1227,7 +1319,11 @@ class Reports extends Secure_Controller
{
$quantity_purchased .= ' [' . $this->Stock_location->get_location_name($drow['item_location']) . ']';
}
$details_data[$row['sale_id']][] = $this->xss_clean(array(
$attribute_values = (isset($drow['attribute_values'])) ? $drow['attribute_values'] : '';
$attribute_values = expand_attribute_values($definition_names, $attribute_values);
$details_data[$row['sale_id']][] = $this->xss_clean(array_merge(array(
$drow['name'],
$drow['category'],
$drow['serialnumber'],
@@ -1238,7 +1334,8 @@ class Reports extends Secure_Controller
to_currency($drow['total']),
to_currency($drow['cost']),
to_currency($drow['profit']),
$drow['discount_percent'].'%'));
($drow['discount_type'] == PERCENT)? $drow['discount'].'%':to_currency($drow['discount'])), $attribute_values));
}
if(isset($report_data['rewards'][$key]))
@@ -1294,14 +1391,19 @@ class Reports extends Secure_Controller
public function detailed_receivings($start_date, $end_date, $receiving_type, $location_id = 'all')
{
$inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'receiving_type' => $receiving_type, 'location_id' => $location_id);
$definition_names = $this->Attribute->get_definitions_by_flags(Attribute::SHOW_IN_RECEIVINGS);
$inputs = array('start_date' => $start_date, 'end_date' => $end_date, 'receiving_type' => $receiving_type, 'location_id' => $location_id, 'definition_ids' => array_keys($definition_names));
$this->load->model('reports/Detailed_receivings');
$model = $this->Detailed_receivings;
$model->create($inputs);
$headers = $this->xss_clean($model->getDataColumns());
$columns = $model->getDataColumns();
$columns['details'] = array_merge($columns['details'], $definition_names);
$headers = $this->xss_clean($columns);
$report_data = $model->getData($inputs);
$summary_data = array();
@@ -1334,13 +1436,18 @@ class Reports extends Secure_Controller
{
$quantity_purchased .= ' [' . $this->Stock_location->get_location_name($drow['item_location']) . ']';
}
$details_data[$row['receiving_id']][] = $this->xss_clean(array(
$attribute_values = (isset($drow['attribute_values'])) ? $drow['attribute_values'] : '';
$attribute_values = expand_attribute_values($definition_names, $attribute_values);
$details_data[$row['receiving_id']][] = $this->xss_clean(array_merge(array(
$drow['item_number'],
$drow['name'],
$drow['category'],
$quantity_purchased,
to_currency($drow['total']),
$drow['discount_percent'].'%'));
($drow['discount_type'] == PERCENT)? $drow['discount'].'%':to_currency($drow['discount'])), $attribute_values));
}
}
@@ -1420,6 +1527,7 @@ class Reports extends Secure_Controller
'item_name' => $row['name'],
'item_number' => $row['item_number'],
'quantity' => to_quantity_decimals($row['quantity']),
'low_sell_quantity' => to_quantity_decimals($row['low_sell_quantity']),
'reorder_level' => to_quantity_decimals($row['reorder_level']),
'location_name' => $row['location_name'],
'cost_price' => to_currency($row['cost_price']),
+142 -43
View File
@@ -19,6 +19,7 @@ class Sales extends Secure_Controller
public function index()
{
$this->session->set_userdata('allow_temp_items', 1);
$this->_reload();
}
@@ -135,12 +136,13 @@ class Sales extends Secure_Controller
if($this->Customer->exists($customer_id))
{
$this->sale_lib->set_customer($customer_id);
$discount_percent = $this->Customer->get_info($customer_id)->discount_percent;
$discount = $this->Customer->get_info($customer_id)->discount;
$discount_type = $this->Customer->get_info($customer_id)->discount_type;
// apply customer default discount to items that have 0 discount
if($discount_percent != '')
if($discount != '')
{
$this->sale_lib->apply_customer_discount($discount_percent);
$this->sale_lib->apply_customer_discount($discount, $discount_type);
}
}
@@ -365,26 +367,23 @@ class Sales extends Secure_Controller
{
$data = array();
$discount = 0;
$discount = $this->config->item('default_sales_discount');
$discount_type = $this->config->item('default_sales_discount_type');
// check if any discount is assigned to the selected customer
$customer_id = $this->sale_lib->get_customer();
if($customer_id != -1)
{
// load the customer discount if any
$discount_percent = $this->Customer->get_info($customer_id)->discount_percent;
if($discount_percent != '')
$customer_discount = $this->Customer->get_info($customer_id)->discount;
$customer_discount_type = $this->Customer->get_info($customer_id)->discount_type;
if($customer_discount != '')
{
$discount = $discount_percent;
$discount = $customer_discount;
$discount_type = $customer_discount_type;
}
}
// if the customer discount is 0 or no customer is selected apply the default sales discount
if($discount == 0)
{
$discount = $this->config->item('default_sales_discount');
}
$item_id_or_number_or_item_kit_or_receipt = $this->input->post('item');
$this->barcode_lib->parse_barcode_fields($quantity, $item_id_or_number_or_item_kit_or_receipt);
$mode = $this->sale_lib->get_mode();
@@ -405,9 +404,10 @@ class Sales extends Secure_Controller
$kit_price_option = $item_kit_info->price_option;
$kit_print_option = $item_kit_info->print_option; // 0-all, 1-priced, 2-kit-only
if($item_kit_info->kit_discount_percent != 0 && $item_kit_info->kit_discount_percent > $discount)
if($item_kit_info->kit_discount != 0 && $item_kit_info->kit_discount > $discount)
{
$discount = $item_kit_info->kit_discount_percent;
$discount = $item_kit_info->kit_discount;
$discount_type = $item_kit_info->kit_discount_type;
}
$price = NULL;
@@ -415,7 +415,7 @@ class Sales extends Secure_Controller
if(!empty($kit_item_id))
{
if(!$this->sale_lib->add_item($kit_item_id, $quantity, $item_location, $discount, PRICE_MODE_STANDARD))
if(!$this->sale_lib->add_item($kit_item_id, $quantity, $item_location, $discount, $discount_type, PRICE_MODE_STANDARD))
{
$data['error'] = $this->lang->line('sales_unable_to_add_item');
}
@@ -427,7 +427,7 @@ class Sales extends Secure_Controller
// Add item kit items to order
$stock_warning = NULL;
if(!$this->sale_lib->add_item_kit($item_id_or_number_or_item_kit_or_receipt, $item_location, $discount, $kit_price_option, $kit_print_option, $stock_warning))
if(!$this->sale_lib->add_item_kit($item_id_or_number_or_item_kit_or_receipt, $item_location, $discount, $discount_type, $kit_price_option, $kit_print_option, $stock_warning))
{
$data['error'] = $this->lang->line('sales_unable_to_add_item');
}
@@ -438,7 +438,7 @@ class Sales extends Secure_Controller
}
else
{
if(!$this->sale_lib->add_item($item_id_or_number_or_item_kit_or_receipt, $quantity, $item_location, $discount, PRICE_MODE_STANDARD))
if(!$this->sale_lib->add_item($item_id_or_number_or_item_kit_or_receipt, $quantity, $item_location, $discount, $discount_type, PRICE_MODE_STANDARD))
{
$data['error'] = $this->lang->line('sales_unable_to_add_item');
}
@@ -463,12 +463,14 @@ class Sales extends Secure_Controller
$price = parse_decimals($this->input->post('price'));
$quantity = parse_decimals($this->input->post('quantity'));
$discount = parse_decimals($this->input->post('discount'));
$discount_type = $this->input->post('discount_type');
$item_location = $this->input->post('location');
$discounted_total = $this->input->post('discounted_total') != '' ? $this->input->post('discounted_total') : NULL;
if($this->form_validation->run() != FALSE)
{
$this->sale_lib->edit_item($item_id, $description, $serialnumber, $quantity, $discount, $price, $discounted_total);
$this->sale_lib->edit_item($item_id, $description, $serialnumber, $quantity, $discount, $discount_type, $price, $discounted_total);
}
else
{
@@ -506,18 +508,29 @@ class Sales extends Secure_Controller
$data = array();
$data['dinner_table'] = $this->sale_lib->get_dinner_table();
$data['cart'] = $this->sale_lib->get_cart();
$data['include_hsn'] = ($this->config->item('include_hsn') == '1');
$data['transaction_time'] = date($this->config->item('dateformat') . ' ' . $this->config->item('timeformat'));
$data['transaction_date'] = date($this->config->item('dateformat'));
$data['show_stock_locations'] = $this->Stock_location->show_locations('sales');
$data['comments'] = $this->sale_lib->get_comment();
$employee_id = $this->Employee->get_logged_in_employee_info()->person_id;
$employee_info = $this->Employee->get_info($employee_id);
$data['employee'] = $employee_info->first_name . ' ' . $employee_info->last_name[0];
$data['employee'] = $employee_info->first_name . ' ' . mb_substr($employee_info->last_name, 0, 1);
$data['company_info'] = implode("\n", array(
$this->config->item('address'),
$this->config->item('phone'),
$this->config->item('account_number')
$this->config->item('phone')
));
if($this->config->item('account_number'))
{
$data['company_info'] .= "\n" . $this->lang->line('sales_account_number') . ": " . $this->config->item('account_number');
}
if($this->config->item('tax_id') != '')
{
$data['company_info'] .= "\n" . $this->lang->line('sales_tax_id') . ": " . $this->config->item('tax_id');
}
$data['invoice_number_enabled'] = $this->sale_lib->is_invoice_mode();
$data['cur_giftcard_value'] = $this->sale_lib->get_giftcard_remainder();
$data['cur_rewards_value'] = $this->sale_lib->get_rewards_remainder();
@@ -536,13 +549,15 @@ class Sales extends Secure_Controller
if($customer_info != NULL)
{
$data["customer_comments"] = $customer_info->comments;
$data['tax_id'] = $customer_info->tax_id;
}
$data['taxes'] = $this->sale_lib->get_taxes();
$tax_details = $this->tax_lib->get_taxes($data['cart']);
$data['taxes'] = $tax_details[0];
$data['discount'] = $this->sale_lib->get_discount();
$data['payments'] = $this->sale_lib->get_payments();
// Returns 'subtotal', 'total', 'cash_total', 'payment_total', 'amount_due', 'cash_amount_due', 'payments_cover_total'
$totals = $this->sale_lib->get_totals();
$totals = $this->sale_lib->get_totals($tax_details[0]);
$data['subtotal'] = $totals['subtotal'];
$data['total'] = $totals['total'];
$data['payments_total'] = $totals['payment_total'];
@@ -626,8 +641,11 @@ class Sales extends Secure_Controller
$data['sale_status'] = COMPLETED;
$sale_type = SALE_TYPE_INVOICE;
// The PHP file name is the same as the invoice_type key
$invoice_view = $this->config->item('invoice_type');
// Save the data to the sales table
$data['sale_id_num'] = $this->Sale->save($sale_id, $data['sale_status'], $data['cart'], $customer_id, $employee_id, $data['comments'], $invoice_number, $work_order_number, $quote_number, $sale_type, $data['payments'], $data['dinner_table'], $data['taxes']);
$data['sale_id_num'] = $this->Sale->save($sale_id, $data['sale_status'], $data['cart'], $customer_id, $employee_id, $data['comments'], $invoice_number, $work_order_number, $quote_number, $sale_type, $data['payments'], $data['dinner_table'], $tax_details);
$data['sale_id'] = 'POS ' . $data['sale_id_num'];
// Resort and filter cart lines for printing
@@ -642,7 +660,7 @@ class Sales extends Secure_Controller
else
{
$data['barcode'] = $this->barcode_lib->generate_receipt_barcode($data['sale_id']);
$this->load->view('sales/invoice', $data);
$this->load->view('sales/'.$invoice_view, $data);
$this->sale_lib->clear_all();
}
}
@@ -676,7 +694,7 @@ class Sales extends Secure_Controller
$data['sale_status'] = SUSPENDED;
$sale_type = SALE_TYPE_WORK_ORDER;
$data['sale_id_num'] = $this->Sale->save($sale_id, $data['sale_status'], $data['cart'], $customer_id, $employee_id, $data['comments'], $invoice_number, $work_order_number, $quote_number, $sale_type, $data['payments'], $data['dinner_table'], $data['taxes']);
$data['sale_id_num'] = $this->Sale->save($sale_id, $data['sale_status'], $data['cart'], $customer_id, $employee_id, $data['comments'], $invoice_number, $work_order_number, $quote_number, $sale_type, $data['payments'], $data['dinner_table'], $tax_details);
$this->sale_lib->set_suspended_id($data['sale_id_num']);
$data['cart'] = $this->sale_lib->sort_and_filter_cart($data['cart']);
@@ -713,7 +731,7 @@ class Sales extends Secure_Controller
$data['sale_status'] = SUSPENDED;
$sale_type = SALE_TYPE_QUOTE;
$data['sale_id_num'] = $this->Sale->save($sale_id, $data['sale_status'], $data['cart'], $customer_id, $employee_id, $data['comments'], $invoice_number, $work_order_number, $quote_number, $sale_type, $data['payments'], $data['dinner_table'], $data['taxes']);
$data['sale_id_num'] = $this->Sale->save($sale_id, $data['sale_status'], $data['cart'], $customer_id, $employee_id, $data['comments'], $invoice_number, $work_order_number, $quote_number, $sale_type, $data['payments'], $data['dinner_table'], $tax_details);
$this->sale_lib->set_suspended_id($data['sale_id_num']);
$data['cart'] = $this->sale_lib->sort_and_filter_cart($data['cart']);
@@ -740,7 +758,7 @@ class Sales extends Secure_Controller
$sale_type = SALE_TYPE_POS;
}
$data['sale_id_num'] = $this->Sale->save($sale_id, $data['sale_status'], $data['cart'], $customer_id, $employee_id, $data['comments'], $invoice_number, $work_order_number, $quote_number, $sale_type, $data['payments'], $data['dinner_table'], $data['taxes']);
$data['sale_id_num'] = $this->Sale->save($sale_id, $data['sale_status'], $data['cart'], $customer_id, $employee_id, $data['comments'], $invoice_number, $work_order_number, $quote_number, $sale_type, $data['payments'], $data['dinner_table'], $tax_details);
$data['sale_id'] = 'POS ' . $data['sale_id_num'];
@@ -853,14 +871,15 @@ class Sales extends Secure_Controller
$data['customer_address'] = $customer_info->address_1;
if(!empty($customer_info->zip) || !empty($customer_info->city))
{
$data['customer_location'] = $customer_info->zip . ' ' . $customer_info->city;
$data['customer_location'] = $customer_info->zip . ' ' . $customer_info->city . ', ' . $customer_info->state;
}
else
{
$data['customer_location'] = '';
}
$data['customer_account_number'] = $customer_info->account_number;
$data['customer_discount_percent'] = $customer_info->discount_percent;
$data['customer_discount'] = $customer_info->discount;
$data['customer_discount_type'] = $customer_info->discount_type;
$package_id = $this->Customer->get_info($customer_id)->package_id;
if($package_id != NULL)
{
@@ -880,9 +899,17 @@ class Sales extends Secure_Controller
$data['customer_info'] = implode("\n", array(
$data['customer'],
$data['customer_address'],
$data['customer_location'],
$data['customer_account_number']
$data['customer_location']
));
if($data['customer_account_number'])
{
$data['customer_info'] .= "\n" . $this->lang->line('sales_account_number') . ": " . $data['customer_account_number'];
}
if($customer_info->tax_id != '')
{
$data['customer_info'] .= "\n" . $this->lang->line('sales_tax_id') . ": " . $customer_info->tax_id;
}
$data['tax_id'] = $customer_info->tax_id;
}
return $customer_info;
@@ -899,15 +926,17 @@ class Sales extends Secure_Controller
$data['payments'] = $this->sale_lib->get_payments();
$data['selected_payment_type'] = $this->sale_lib->get_payment_type();
$data['taxes'] = $this->sale_lib->get_taxes();
$tax_details = $this->tax_lib->get_taxes($data['cart']);
$data['taxes'] = $this->Sale->get_sales_taxes($sale_id);
$data['discount'] = $this->sale_lib->get_discount();
$data['transaction_time'] = date($this->config->item('dateformat') . ' ' . $this->config->item('timeformat'), strtotime($sale_info['sale_time']));
$data['transaction_date'] = date($this->config->item('dateformat'), strtotime($sale_info['sale_time']));
$data['show_stock_locations'] = $this->Stock_location->show_locations('sales');
$data['include_hsn'] = ($this->config->item('include_hsn') == '1');
// Returns 'subtotal', 'total', 'cash_total', 'payment_total', 'amount_due', 'cash_amount_due', 'payments_cover_total'
$totals = $this->sale_lib->get_totals();
$totals = $this->sale_lib->get_totals($tax_details[0]);
$data['subtotal'] = $totals['subtotal'];
$data['total'] = $totals['total'];
$data['payments_total'] = $totals['payment_total'];
@@ -932,7 +961,7 @@ class Sales extends Secure_Controller
$data['amount_change'] = $data['amount_due'] * -1;
$employee_info = $this->Employee->get_info($this->sale_lib->get_employee());
$data['employee'] = $employee_info->first_name . ' ' . $employee_info->last_name[0];
$data['employee'] = $employee_info->first_name . ' ' . mb_substr($employee_info->last_name, 0, 1);
$this->_load_customer_data($this->sale_lib->get_customer(), $data);
$data['sale_id_num'] = $sale_id;
@@ -941,11 +970,20 @@ class Sales extends Secure_Controller
$data['invoice_number'] = $sale_info['invoice_number'];
$data['quote_number'] = $sale_info['quote_number'];
$data['sale_status'] = $sale_info['sale_status'];
$data['company_info'] = implode("\n", array(
$this->config->item('address'),
$this->config->item('phone'),
$this->config->item('account_number')
$this->config->item('phone')
));
if($this->config->item('account_number'))
{
$data['company_info'] .= "\n" . $this->lang->line('sales_account_number') . ": " . $this->config->item('account_number');
}
if($this->config->item('tax_id') != '')
{
$data['company_info'] .= "\n" . $this->lang->line('sales_tax_id') . ": " . $this->config->item('tax_id');
}
$data['barcode'] = $this->barcode_lib->generate_receipt_barcode($data['sale_id']);
$data['print_after_sale'] = FALSE;
$data['price_work_orders'] = FALSE;
@@ -976,6 +1014,9 @@ class Sales extends Secure_Controller
$data['customer_required'] = $this->lang->line('sales_customer_optional');
}
$invoice_type = $this->config->item('invoice_type');
$data['invoice_view'] = $invoice_type;
return $this->xss_clean($data);
}
@@ -997,14 +1038,15 @@ class Sales extends Secure_Controller
$data['stock_locations'] = $this->Stock_location->get_allowed_locations('sales');
$data['stock_location'] = $this->sale_lib->get_sale_location();
$data['tax_exclusive_subtotal'] = $this->sale_lib->get_subtotal(TRUE, TRUE);
$data['taxes'] = $this->sale_lib->get_taxes();
$tax_details = $this->tax_lib->get_taxes($data['cart']);
$data['taxes'] = $tax_details[0];
$data['discount'] = $this->sale_lib->get_discount();
$data['payments'] = $this->sale_lib->get_payments();
// sale_type (0=pos, 1=invoice, 2=work order, 3=quote, 4=return)
$sale_type = $this->sale_lib->get_sale_type();
// Returns 'subtotal', 'total', 'cash_total', 'payment_total', 'amount_due', 'cash_amount_due', 'payments_cover_total'
$totals = $this->sale_lib->get_totals();
$totals = $this->sale_lib->get_totals($tax_details[0]);
$data['item_count'] = $totals['item_count'];
$data['total_units'] = $totals['total_units'];
$data['subtotal'] = $totals['subtotal'];
@@ -1100,7 +1142,8 @@ class Sales extends Secure_Controller
public function invoice($sale_id)
{
$data = $this->_load_sale_data($sale_id);
$this->load->view('sales/invoice', $data);
$this->load->view('sales/'.$data['invoice_view'], $data);
$this->sale_lib->clear_all();
}
@@ -1274,6 +1317,10 @@ class Sales extends Secure_Controller
$this->session->set_userdata('sale_id', -1);
}
}
else
{
$this->sale_lib->remove_temp_items();
}
$this->sale_lib->clear_all();
$this->_reload();
@@ -1315,7 +1362,7 @@ class Sales extends Secure_Controller
$sale_status = SUSPENDED;
$data = array();
$sales_taxes = array();
$sales_taxes = array(array(), array());
if($this->Sale->save($sale_id, $sale_status, $cart, $customer_id, $employee_id, $comment, $invoice_number, $work_order_number, $quote_number, $sale_type, $payments, $dinner_table, $sales_taxes) == '-1')
{
$data['error'] = $this->lang->line('sales_unsuccessfully_suspended_sale');
@@ -1387,6 +1434,58 @@ class Sales extends Secure_Controller
return $filtered_cart;
}
}
public function change_item_number()
{
$item_id = $this->input->post('item_id');
$item_number = $this->input->post('item_number');
$this->Item->update_item_number($item_id, $item_number);
$cart = $this->sale_lib->get_cart();
$x = $this->search_cart_for_item_id($item_id, $cart);
if($x != NULL)
{
$cart[$x]['item_number'] = $item_number;
}
$this->sale_lib->set_cart($cart);
}
public function change_item_name()
{
$item_id = $this->input->post('item_id');
$name = $this->input->post('item_name');
$this->Item->update_item_name($item_id, $name);
$cart = $this->sale_lib->get_cart();
$x = $this->search_cart_for_item_id($item_id, $cart);
if($x != NULL) {
$cart[$x]['name'] = $name;
}
$this->sale_lib->set_cart($cart);
}
public function change_item_description()
{
$item_id = $this->input->post('item_id');
$description = $this->input->post('item_description');
$this->Item->update_item_description($item_id, $description);
$cart = $this->sale_lib->get_cart();
$x = $this->search_cart_for_item_id($item_id, $cart);
if($x != NULL)
{
$cart[$x]['description'] = $description;
}
$this->sale_lib->set_cart($cart);
}
function search_cart_for_item_id($id, $array)
{
foreach($array as $key => $val)
{
if ($val['item_id'] === $id)
{
return $key;
}
}
return NULL;
}
}
?>
+7 -2
View File
@@ -43,7 +43,9 @@ class Suppliers extends Persons
$data_rows = array();
foreach($suppliers->result() as $supplier)
{
$data_rows[] = $this->xss_clean(get_supplier_data_row($supplier));
$row = $this->xss_clean(get_supplier_data_row($supplier));
$row['category'] = $this->Supplier->get_category_name($row['category']);
$data_rows[] = $row;
}
echo json_encode(array('total' => $total_rows, 'rows' => $data_rows));
@@ -77,6 +79,7 @@ class Suppliers extends Persons
$info->$property = $this->xss_clean($value);
}
$data['person_info'] = $info;
$data['categories'] = $this->Supplier->get_categories();
$this->load->view("suppliers/form", $data);
}
@@ -112,7 +115,9 @@ class Suppliers extends Persons
$supplier_data = array(
'company_name' => $this->input->post('company_name'),
'agency_name' => $this->input->post('agency_name'),
'account_number' => $this->input->post('account_number') == '' ? NULL : $this->input->post('account_number')
'category' => $this->input->post('category'),
'account_number' => $this->input->post('account_number') == '' ? NULL : $this->input->post('account_number'),
'tax_id' => $this->input->post('tax_id') == '' ? NULL : $this->input->post('tax_id')
);
if($this->Supplier->save_supplier($person_data, $supplier_data, $supplier_id))
+100
View File
@@ -0,0 +1,100 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once("Secure_Controller.php");
class Tax_categories extends Secure_Controller
{
public function __construct()
{
parent::__construct('tax_categories');
}
public function index()
{
$data['tax_categories_table_headers'] = $this->xss_clean(get_tax_categories_table_headers());
$this->load->view('taxes/tax_categories', $data);
}
/*
* Returns tax_category table data rows. This will be called with AJAX.
*/
public function search()
{
$search = $this->input->get('search');
$limit = $this->input->get('limit');
$offset = $this->input->get('offset');
$sort = $this->input->get('sort');
$order = $this->input->get('order');
$tax_categories = $this->Tax_category->search($search, $limit, $offset, $sort, $order);
$total_rows = $this->Tax_category->get_found_rows($search);
$data_rows = array();
foreach($tax_categories->result() as $tax_category)
{
$data_rows[] = $this->xss_clean(get_tax_category_data_row($tax_category));
}
echo json_encode(array('total' => $total_rows, 'rows' => $data_rows));
}
public function get_row($row_id)
{
$data_row = $this->xss_clean(get_tax_category_data_row($this->Tax_category->get_info($row_id)));
echo json_encode($data_row);
}
public function view($tax_category_id = -1)
{
$data['tax_category_info'] = $this->Tax_category->get_info($tax_category_id);
$this->load->view("taxes/tax_category_form", $data);
}
public function save($tax_category_id = -1)
{
$tax_category_data = array(
'tax_category' => $this->input->post('tax_category'),
'tax_category_code' => $this->input->post('tax_category_code'),
'tax_group_sequence' => $this->input->post('tax_group_sequence')
);
if($this->Tax_category->save($tax_category_data, $tax_category_id))
{
$tax_category_data = $this->xss_clean($tax_category_data);
// New tax_category_id
if($tax_category_id == -1)
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_categories_successful_adding'), 'id' => $tax_category_data['tax_category_id']));
}
else
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_categories_successful_updating'), 'id' => $tax_category_id));
}
}
else
{
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('taxes_categories_error_adding_updating') . ' ' . $tax_category_data['tax_category'], 'id' => -1));
}
}
public function delete()
{
$tax_categories_to_delete = $this->input->post('ids');
if($this->Tax_category->delete_list($tax_categories_to_delete))
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_categories_successful_deleted') . ' ' . count($tax_categories_to_delete) . ' ' . $this->lang->line('taxes_categories_one_or_multiple')));
}
else
{
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('taxes_categories_cannot_be_deleted')));
}
}
}
?>
+104
View File
@@ -0,0 +1,104 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once("Secure_Controller.php");
class Tax_codes extends Secure_Controller
{
public function __construct()
{
parent::__construct('tax_codes');
}
public function index()
{
$this->load->view('taxes/tax_codes',get_data());
}
public function get_data()
{
$data['table_headers'] = $this->xss_clean(get_tax_codes_table_headers());
return $data;
}
/*
* Returns tax_category table data rows. This will be called with AJAX.
*/
public function search()
{
$search = $this->input->get('search');
$limit = $this->input->get('limit');
$offset = $this->input->get('offset');
$sort = $this->input->get('sort');
$order = $this->input->get('order');
$tax_codes = $this->Tax_code->search($search, $limit, $offset, $sort, $order);
$total_rows = $this->Tax_code->get_found_rows($search);
$data_rows = array();
foreach($tax_codes->result() as $tax_code)
{
$data_rows[] = $this->xss_clean(get_tax_code_data_row($tax_code));
}
echo json_encode(array('total' => $total_rows, 'rows' => $data_rows));
}
public function get_row($row_id)
{
$data_row = $this->xss_clean(get_tax_code_data_row($this->Tax_code->get_info($row_id)));
echo json_encode($data_row);
}
public function view($tax_code_id = -1)
{
$data['tax_code_info'] = $this->Tax_code->get_info($tax_code_id);
$this->load->view("taxes/tax_code_form", $data);
}
public function save($tax_code_id = -1)
{
$tax_code_data = array(
'tax_code' => $this->input->post('tax_code'),
'tax_code_name' => $this->input->post('tax_code_name'),
'city' => $this->input->post('city'),
'state' => $this->input->post('state')
);
if($this->Tax_code->save($tax_code_data))
{
$tax_code_data = $this->xss_clean($tax_code_data);
if($tax_code_id == -1)
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_codes_successful_adding'), 'id' => $tax_code_data['tax_code_id']));
}
else
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_codes_successful_updating'), 'id' => $tax_code_id));
}
}
else
{
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('taxes_codes_error_adding_updating') . ' ' . $tax_code_data['tax_code_id'], 'id' => -1));
}
}
public function delete()
{
$tax_codes_to_delete = $this->input->post('ids');
if($this->Tax_code->delete_list($tax_codes_to_delete))
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_codes_successful_deleted') . ' ' . count($tax_codes_to_delete) . ' ' . $this->lang->line('taxes_codes_one_or_multiple')));
}
else
{
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('taxes_codes_cannot_be_deleted')));
}
}
}
?>
@@ -0,0 +1,98 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once("Secure_Controller.php");
class Tax_jurisdictions extends Secure_Controller
{
public function __construct()
{
parent::__construct('tax_jurisdictions');
}
public function index()
{
$data['table_headers'] = $this->xss_clean(get_tax_jurisdictions_table_headers());
$this->load->view('taxes/tax_jurisdictions', $data);
}
/*
* Returns tax_category table data rows. This will be called with AJAX.
*/
public function search()
{
$search = $this->input->get('search');
$limit = $this->input->get('limit');
$offset = $this->input->get('offset');
$sort = $this->input->get('sort');
$order = $this->input->get('order');
$tax_jurisdictions = $this->Tax_jurisdiction->search($search, $limit, $offset, $sort, $order);
$total_rows = $this->Tax_jurisdiction->get_found_rows($search);
$data_rows = array();
foreach($tax_jurisdictions->result() as $tax_jurisdiction)
{
$data_rows[] = $this->xss_clean(get_tax_jurisdiction_data_row($tax_jurisdiction));
}
echo json_encode(array('total' => $total_rows, 'rows' => $data_rows));
}
public function get_row($row_id)
{
$data_row = $this->xss_clean(get_tax_jurisdiction_data_row($this->Tax_jurisdiction->get_info($row_id)));
echo json_encode($data_row);
}
public function view($tax_jurisdiction_id = -1)
{
$data['tax_jurisdiction_info'] = $this->Tax_jurisdiction->get_info($tax_jurisdiction_id);
$this->load->view("taxes/tax_jurisdiction_form", $data);
}
public function save($jurisdiction_id = -1)
{
$tax_jurisdiction_data = array(
'jurisdiction_name' => $this->input->post('jurisdiction_name'),
'reporting_authority' => $this->input->post('reporting_authority')
);
if($this->Tax_jurisdiction->save($tax_jurisdiction_data))
{
$tax_jurisdiction_data = $this->xss_clean($tax_jurisdiction_data);
if($jurisdiction_id == -1)
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_jurisdictions_successful_adding'), 'id' => $tax_jurisdiction_data['jurisdiction_id']));
}
else
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_jurisdictions_successful_updating'), 'id' => $jurisdiction_id));
}
}
else
{
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('taxes_jurisdictions_error_adding_updating') . ' ' . $tax_jurisdiction_data['jurisdiction_name'], 'id' => -1));
}
}
public function delete()
{
$tax_jurisdictions_to_delete = $this->input->post('ids');
if($this->Tax_jurisdiction->delete_list($tax_jurisdictions_to_delete))
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_jurisdictions_successful_deleted') . ' ' . count($tax_jurisdictions_to_delete) . ' ' . $this->lang->line('taxes_jurisdictions_one_or_multiple')));
}
else
{
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('taxes_jurisdictions_cannot_be_deleted')));
}
}
}
?>
+370 -63
View File
@@ -9,16 +9,46 @@ class Taxes extends Secure_Controller
parent::__construct('taxes');
$this->load->model('enums/Rounding_mode');
$this->load->library('tax_lib');
$this->load->helper('tax_helper');
}
public function index()
{
$data['table_headers'] = $this->xss_clean(get_taxes_manage_table_headers());
$data['tax_codes'] = $this->xss_clean($this->Tax_code->get_all()->result_array());
if (count($data['tax_codes']) == 0)
{
$data['tax_codes'] = $this->Tax_code->get_empty_row();
}
$data['tax_categories'] = $this->xss_clean($this->Tax_category->get_all()->result_array());
if (count($data['tax_categories']) == 0)
{
$data['tax_categories'] = $this->Tax_category->get_empty_row();
}
$data['tax_jurisdictions'] = $this->xss_clean($this->Tax_jurisdiction->get_all()->result_array());
if (count($data['tax_jurisdictions']) == 0)
{
$data['tax_jurisdictions'] = $this->Tax_jurisdiction->get_empty_row();
}
$data['tax_rate_table_headers'] = $this->xss_clean(get_tax_rates_manage_table_headers());
$data['tax_categories_table_headers'] = $this->xss_clean(get_tax_categories_table_headers());
$data['tax_types'] = $this->tax_lib->get_tax_types();
if($this->config->item('tax_included') == '1')
{
$data['default_tax_type'] = Tax_lib::TAX_TYPE_INCLUDED;
}
else
{
$data['default_tax_type'] = Tax_lib::TAX_TYPE_EXCLUDED;
}
$data['tax_type_options'] = $this->tax_lib->get_tax_type_options($data['default_tax_type']);
$this->load->view('taxes/manage', $data);
}
/*
Returns tax_codes table data rows. This will be called with AJAX.
*/
@@ -30,14 +60,14 @@ class Taxes extends Secure_Controller
$sort = $this->input->get('sort');
$order = $this->input->get('order');
$tax_codes = $this->Tax->search($search, $limit, $offset, $sort, $order);
$tax_rates = $this->Tax->search($search, $limit, $offset, $sort, $order);
$total_rows = $this->Tax->get_found_rows($search);
$data_rows = array();
foreach($tax_codes->result() as $tax_code_row)
foreach($tax_rates->result() as $tax_rate_row)
{
$data_rows[] = $this->xss_clean(get_tax_data_row($tax_code_row));
$data_rows[] = $this->xss_clean(get_tax_rates_data_row($tax_rate_row));
}
echo json_encode(array('total' => $total_rows, 'rows' => $data_rows));
@@ -58,7 +88,7 @@ class Taxes extends Secure_Controller
*/
public function suggest_tax_categories()
{
$suggestions = $this->xss_clean($this->Tax->get_tax_category_suggestions($this->input->post('term')));
$suggestions = $this->xss_clean($this->Tax_category->get_tax_category_suggestions($this->input->post('term')));
echo json_encode($suggestions);
}
@@ -66,12 +96,12 @@ class Taxes extends Secure_Controller
public function get_row($row_id)
{
$data_row = $this->xss_clean(get_tax_codes_data_row($this->Tax->get_info($row_id), $this));
$data_row = $this->xss_clean(get_tax_rates_data_row($this->Tax->get_info($row_id), $this));
echo json_encode($data_row);
}
public function view($tax_code = -1)
public function view_tax_codes($tax_code = -1)
{
$tax_code_info = $this->Tax->get_info($tax_code);
@@ -80,6 +110,15 @@ class Taxes extends Secure_Controller
$tax_rate_info = $this->Tax->get_rate_info($tax_code, $default_tax_category_id);
if($this->config->item('tax_included') == '1')
{
$data['default_tax_type'] = Tax_lib::TAX_TYPE_INCLUDED;
}
else
{
$data['default_tax_type'] = Tax_lib::TAX_TYPE_EXCLUDED;
}
$data['rounding_options'] = Rounding_mode::get_rounding_options();
$data['html_rounding_options'] = $this->get_html_rounding_options();
@@ -114,21 +153,197 @@ class Taxes extends Secure_Controller
$data = $this->xss_clean($data);
$tax_code_rates = array();
$tax_rates = array();
foreach($this->Tax->get_tax_code_rate_exceptions($tax_code) as $tax_code_rate)
{
$tax_code_row = array();
$tax_code_row['rate_tax_category_id'] = $this->xss_clean($tax_code_rate['rate_tax_category_id']);
$tax_code_row['tax_category'] = $this->xss_clean($tax_code_rate['tax_category']);
$tax_code_row['tax_rate'] = $this->xss_clean($tax_code_rate['tax_rate']);
$tax_code_row['rounding_code'] = $this->xss_clean($tax_code_rate['rounding_code']);
$tax_rate_row = array();
$tax_rate_row['rate_tax_category_id'] = $this->xss_clean($tax_code_rate['rate_tax_category_id']);
$tax_rate_row['tax_category'] = $this->xss_clean($tax_code_rate['tax_category']);
$tax_rate_row['tax_rate'] = $this->xss_clean($tax_code_rate['tax_rate']);
$tax_rate_row['rounding_code'] = $this->xss_clean($tax_code_rate['rounding_code']);
$tax_code_rates[] = $tax_code_row;
$tax_rates[] = $tax_rate_row;
}
$data['tax_code_rates'] = $tax_code_rates;
$data['tax_rates'] = $tax_rates;
$this->load->view("taxes/form", $data);
$this->load->view('taxes/tax_code_form', $data);
}
public function view($tax_rate_id = -1)
{
$tax_rate_info = $this->Tax->get_info($tax_rate_id);
$data['tax_rate_id'] = $tax_rate_id;
$data['rounding_options'] = Rounding_mode::get_rounding_options();
$data['tax_code_options'] = $this->tax_lib->get_tax_code_options();
$data['tax_category_options'] = $this->tax_lib->get_tax_category_options();
$data['tax_jurisdiction_options'] = $this->tax_lib->get_tax_jurisdiction_options();
if($tax_rate_id == -1)
{
$data['rate_tax_code_id'] = $this->config->item('default_tax_code');
$data['rate_tax_category_id'] = $this->config->item('default_tax_category');
$data['rate_jurisdiction_id'] = $this->config->item('default_tax_jurisdiction');
$data['tax_rounding_code'] = Rounding_mode::HALF_UP;
$data['tax_rate'] = '0.0000';
}
else
{
$data['rate_tax_code_id'] = $tax_rate_info->rate_tax_code_id;
$data['rate_tax_code'] = $tax_rate_info->tax_code;
$data['rate_tax_category_id'] = $tax_rate_info->rate_tax_category_id;
$data['rate_jurisdiction_id'] = $tax_rate_info->rate_jurisdiction_id;
$data['tax_rounding_code'] = $tax_rate_info->tax_rounding_code;
$data['tax_rate'] = $tax_rate_info->tax_rate;
}
$data = $this->xss_clean($data);
$this->load->view('taxes/tax_rates_form', $data);
}
public function view_tax_categories($tax_code = -1)
{
$tax_code_info = $this->Tax->get_info($tax_code);
$default_tax_category_id = 1; // Tax category id is always the default tax category
$default_tax_category = $this->Tax->get_tax_category($default_tax_category_id);
$tax_rate_info = $this->Tax->get_rate_info($tax_code, $default_tax_category_id);
$data['rounding_options'] = Rounding_mode::get_rounding_options();
$data['html_rounding_options'] = $this->get_html_rounding_options();
if($this->config->item('tax_included') == '1')
{
$data['default_tax_type'] = Tax_lib::TAX_TYPE_INCLUDED;
}
else
{
$data['default_tax_type'] = Tax_lib::TAX_TYPE_EXCLUDED;
}
if($tax_code == -1)
{
$data['tax_code'] = '';
$data['tax_code_name'] = '';
$data['tax_code_type'] = '0';
$data['city'] = '';
$data['state'] = '';
$data['tax_rate'] = '0.0000';
$data['rate_tax_code'] = '';
$data['rate_tax_category_id'] = 1;
$data['tax_category'] = '';
$data['add_tax_category'] = '';
$data['rounding_code'] = '0';
}
else
{
$data['tax_code'] = $tax_code;
$data['tax_code_name'] = $tax_code_info->tax_code_name;
$data['tax_code_type'] = $tax_code_info->tax_code_type;
$data['city'] = $tax_code_info->city;
$data['state'] = $tax_code_info->state;
$data['rate_tax_code'] = $tax_code_info->rate_tax_code;
$data['rate_tax_category_id'] = $tax_code_info->rate_tax_category_id;
$data['tax_category'] = $tax_code_info->tax_category;
$data['add_tax_category'] = '';
$data['tax_rate'] = $tax_rate_info->tax_rate;
$data['rounding_code'] = $tax_rate_info->rounding_code;
}
$data = $this->xss_clean($data);
$tax_rates = array();
foreach($this->Tax->get_tax_code_rate_exceptions($tax_code) as $tax_code_rate)
{
$tax_rate_row = array();
$tax_rate_row['rate_tax_category_id'] = $this->xss_clean($tax_code_rate['rate_tax_category_id']);
$tax_rate_row['tax_category'] = $this->xss_clean($tax_code_rate['tax_category']);
$tax_rate_row['tax_rate'] = $this->xss_clean($tax_code_rate['tax_rate']);
$tax_rate_row['rounding_code'] = $this->xss_clean($tax_code_rate['rounding_code']);
$tax_rates[] = $tax_rate_row;
}
$data['tax_rates'] = $tax_rates;
$this->load->view('taxes/tax_category_form', $data);
}
public function view_tax_jurisdictions($tax_code = -1)
{
$tax_code_info = $this->Tax->get_info($tax_code);
$default_tax_category_id = 1; // Tax category id is always the default tax category
$default_tax_category = $this->Tax->get_tax_category($default_tax_category_id);
$tax_rate_info = $this->Tax->get_rate_info($tax_code, $default_tax_category_id);
$data['rounding_options'] = Rounding_mode::get_rounding_options();
$data['html_rounding_options'] = $this->get_html_rounding_options();
if($this->config->item('tax_included') == '1')
{
$data['default_tax_type'] = Tax_lib::TAX_TYPE_INCLUDED;
}
else
{
$data['default_tax_type'] = Tax_lib::TAX_TYPE_EXCLUDED;
}
if($tax_code == -1)
{
$data['tax_code'] = '';
$data['tax_code_name'] = '';
$data['tax_code_type'] = '0';
$data['city'] = '';
$data['state'] = '';
$data['tax_rate'] = '0.0000';
$data['rate_tax_code'] = '';
$data['rate_tax_category_id'] = 1;
$data['tax_category'] = '';
$data['add_tax_category'] = '';
$data['rounding_code'] = '0';
}
else
{
$data['tax_code'] = $tax_code;
$data['tax_code_name'] = $tax_code_info->tax_code_name;
$data['tax_code_type'] = $tax_code_info->tax_code_type;
$data['city'] = $tax_code_info->city;
$data['state'] = $tax_code_info->state;
$data['rate_tax_code'] = $tax_code_info->rate_tax_code;
$data['rate_tax_category_id'] = $tax_code_info->rate_tax_category_id;
$data['tax_category'] = $tax_code_info->tax_category;
$data['add_tax_category'] = '';
$data['tax_rate'] = $tax_rate_info->tax_rate;
$data['rounding_code'] = $tax_rate_info->rounding_code;
}
$data = $this->xss_clean($data);
$tax_rates = array();
foreach($this->Tax->get_tax_code_rate_exceptions($tax_code) as $tax_code_rate)
{
$tax_rate_row = array();
$tax_rate_row['rate_tax_category_id'] = $this->xss_clean($tax_code_rate['rate_tax_category_id']);
$tax_rate_row['tax_category'] = $this->xss_clean($tax_code_rate['tax_category']);
$tax_rate_row['tax_rate'] = $this->xss_clean($tax_code_rate['tax_rate']);
$tax_rate_row['rounding_code'] = $this->xss_clean($tax_code_rate['rounding_code']);
$tax_rates[] = $tax_rate_row;
}
$data['tax_rates'] = $tax_rates;
$this->load->view('taxes/tax_jurisdiction_form', $data);
}
public static function get_html_rounding_options()
@@ -136,63 +351,37 @@ class Taxes extends Secure_Controller
return Rounding_mode::get_html_rounding_options();
}
public function save($tax_code = -1)
public function save($tax_rate_id = -1)
{
$entered_tax_code = $this->xss_clean($this->input->post('tax_code'));
$tax_code_data = array(
'tax_code' => strtoupper($this->input->post('tax_code')),
'tax_code_name' => $this->input->post('tax_code_name'),
'tax_code_type' => $this->input->post('tax_code_type'),
'city' => $this->input->post('city'),
'state' => $this->input->post('state'));
$tax_category_id = $this->input->post('rate_tax_category_id');
$tax_rate = parse_decimals($this->input->post('tax_rate'));
if ($tax_rate == 0) {
$tax_category_info = $this->Tax_category->get_info($tax_category_id);
}
$tax_rate_data = array(
'rate_tax_code' => $this->input->post('tax_code'),
'rate_tax_category_id' => 1,
'tax_rate' => parse_decimals($this->input->post('tax_rate')),
'rounding_code' => $this->input->post('rounding_code')
'rate_tax_code_id' => $this->input->post('rate_tax_code_id'),
'rate_tax_category_id' => $this->input->post('rate_tax_category_id'),
'rate_jurisdiction_id' => $this->input->post('rate_jurisdiction_id'),
'tax_rate' => $tax_rate,
'tax_rounding_code' => $this->input->post('tax_rounding_code')
);
if($this->Tax->save($tax_code_data, $tax_rate_data, $tax_code))
if($this->Tax->save($tax_rate_data, $tax_rate_id))
{
$tax_code_rate_exceptions = array();
if(!empty($this->input->post('exception_tax_rate')))
if($tax_rate_id == -1)
{
foreach($this->input->post('exception_tax_rate') as $tax_category_id => $exception_tax_rate)
{
$exception_rounding_code = $this->input->post('exception_rounding_code[' . $tax_category_id . ']');
$tax_code_rate_exceptions[] = array(
'rate_tax_code' => $entered_tax_code,
'rate_tax_category_id' => $tax_category_id,
'tax_rate' => $exception_tax_rate,
'rounding_code' => $exception_rounding_code
);
}
}
if(!empty($tax_code_rate_exceptions))
{
$success = $this->Tax->save_tax_rate_exceptions($tax_code_rate_exceptions, $entered_tax_code);
}
$tax_code_data = $this->xss_clean($tax_code_data);
//New tax_code record
if($tax_code == -1)
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_tax_code_successfully_added') . ' ' . $entered_tax_code));
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_tax_rate_successfully_added')));
}
else //Existing tax_code
{
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_tax_code_successful_updated') . ' ' . $entered_tax_code));
echo json_encode(array('success' => TRUE, 'message' => $this->lang->line('taxes_tax_rate_successful_updated')));
}
}
else //failure
else
{
$tax_code_data = $this->xss_clean($tax_code_data);
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('taxes_tax_code_error_adding_updating') . ' ' .
$entered_tax_code));
echo json_encode(array('success' => FALSE, 'message' => $this->lang->line('taxes_tax_rate_error_adding_updating')));
}
}
@@ -209,12 +398,130 @@ class Taxes extends Secure_Controller
}
}
public function suggest_sales_tax_codes()
public function suggest_tax_codes()
{
$suggestions = $this->xss_clean($this->Tax->get_sales_tax_codes_search_suggestions($this->input->post_get('term')));
$suggestions = $this->xss_clean($this->Tax_code->get_tax_codes_search_suggestions($this->input->post_get('term')));
echo json_encode($suggestions);
}
public function save_tax_codes()
{
$tax_code_id = $this->input->post('tax_code_id');
$tax_code = $this->input->post('tax_code');
$tax_code_name = $this->input->post('tax_code_name');
$tax_code_id = $this->input->post('tax_code_id');
$city = $this->input->post('city');
$state = $this->input->post('state');
$array_save = array();
foreach($tax_code_id as $key=>$val)
{
$array_save[] = array('tax_code_id'=>$this->xss_clean($val), 'tax_code'=>$this->xss_clean($tax_code[$key]),
'tax_code_name'=>$this->xss_clean($tax_code_name[$key]), 'tax_code_id'=>$this->xss_clean($tax_code_id[$key]),
'city'=>$this->xss_clean($city[$key]), 'state'=>$this->xss_clean($state[$key]));
}
$success = $this->Tax_code->save_tax_codes($array_save);
echo json_encode(array(
'success' => $success,
'message' => $this->lang->line('taxes_tax_codes_saved_' . ($success ? '' : 'un') . 'successfully')
));
}
public function save_tax_jurisdictions()
{
$jurisdiction_id = $this->input->post('jurisdiction_id');
$jurisdiction_name = $this->input->post('jurisdiction_name');
$tax_group = $this->input->post('tax_group');
$tax_type = $this->input->post('tax_type');
$reporting_authority = $this->input->post('reporting_authority');
$tax_group_sequence = $this->input->post('tax_group_sequence');
$cascade_sequence = $this->input->post('cascade_sequence');
$array_save = array();
foreach($jurisdiction_id as $key => $val)
{
$array_save[] = array(
'jurisdiction_id'=>$this->xss_clean($val),
'jurisdiction_name'=>$this->xss_clean($jurisdiction_name[$key]),
'tax_group'=>$this->xss_clean($tax_group[$key]),
'tax_type'=>$this->xss_clean($tax_type[$key]),
'reporting_authority'=>$this->xss_clean($reporting_authority[$key]),
'tax_group_sequence'=>$this->xss_clean($tax_group_sequence[$key]),
'cascade_sequence'=>$this->xss_clean($cascade_sequence[$key]));
}
$success = $this->Tax_jurisdiction->save_jurisdictions($array_save);
echo json_encode(array(
'success' => $success,
'message' => $this->lang->line('taxes_tax_jurisdictions_saved_' . ($success ? '' : 'un') . 'successfully')
));
}
public function save_tax_categories()
{
$tax_category_id = $this->input->post('tax_category_id');
$tax_category = $this->input->post('tax_category');
$tax_group_sequence = $this->input->post('tax_group_sequence');
$array_save= array();
foreach($tax_category_id as $key => $val)
{
$array_save[] = array(
'tax_category_id'=>$this->xss_clean($val),
'tax_category'=>$this->xss_clean($tax_category[$key]),
'tax_group_sequence'=>$this->xss_clean($tax_group_sequence[$key]));
}
$success = $this->Tax_category->save_categories($array_save);
echo json_encode(array(
'success' => $success,
'message' => $this->lang->line('taxes_tax_categories_saved_' . ($success ? '' : 'un') . 'successfully')
));
}
public function ajax_tax_codes()
{
$tax_codes = $this->Tax_code->get_all()->result_array();
$tax_codes = $this->xss_clean($tax_codes);
$this->load->view('partial/tax_codes', array('tax_codes' => $tax_codes));
}
public function ajax_tax_categories()
{
$tax_categories = $this->Tax_category->get_all()->result_array();
$tax_categories = $this->xss_clean($tax_categories);
$this->load->view('partial/tax_categories', array('tax_categories' => $tax_categories));
}
public function ajax_tax_jurisdictions()
{
$tax_jurisdictions = $this->Tax_jurisdiction->get_all()->result_array();
if($this->config->item('tax_included') == '1')
{
$default_tax_type = Tax_lib::TAX_TYPE_INCLUDED;
}
else
{
$default_tax_type = Tax_lib::TAX_TYPE_EXCLUDED;
}
$tax_jurisdictions = $this->xss_clean($tax_jurisdictions);
$tax_types = $this->tax_lib->get_tax_types();
$this->load->view('partial/tax_jurisdictions', array('tax_jurisdictions' => $tax_jurisdictions, 'tax_types' => $tax_types, 'default_tax_type' => $default_tax_type));
}
}
?>
+98 -17
View File
@@ -1,35 +1,49 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
const DEFAULT_LANGUAGE = 'english';
const DEFAULT_LANGUAGE_CODE = 'en-US';
define('DEFAULT_DATETIME', mktime(0, 0, 0, 1, 1, 2010));
/**
* Currency locale helper
*/
function current_language_code($load_system_language = FALSE)
{
$employee = get_instance()->Employee;
// Returns the language code of the employee if set or system language code if not
if(get_instance()->Employee->is_logged_in() && $load_system_language != TRUE)
if($employee->is_logged_in() && $load_system_language != TRUE)
{
$employee_language_code = get_instance()->Employee->get_logged_in_employee_info()->language_code;
if($employee_language_code != NULL && $employee_language_code != '')
$employee_info = $employee->get_logged_in_employee_info();
if(property_exists($employee_info, 'language_code') && !empty($employee_info->language_code))
{
return $employee_language_code;
return $employee_info->language_code;
}
}
return get_instance()->config->item('language_code');
$language_code = get_instance()->config->item('language_code');
return empty($language_code) ? DEFAULT_LANGUAGE_CODE : $language_code;
}
function current_language($load_system_language = FALSE)
{
$employee = get_instance()->Employee;
// Returns the language of the employee if set or system language if not
if(get_instance()->Employee->is_logged_in() && $load_system_language != TRUE)
if($employee->is_logged_in() && $load_system_language != TRUE)
{
$employee_language = get_instance()->Employee->get_logged_in_employee_info()->language;
if($employee_language != NULL && $employee_language != '')
$employee_info = $employee->get_logged_in_employee_info();
if(property_exists($employee_info, 'language') && !empty($employee_info->language))
{
return $employee_language;
return $employee_info->language;
}
}
return get_instance()->config->item('language');
$language = get_instance()->config->item('language');
return empty($language) ? DEFAULT_LANGUAGE : $language;
}
function get_languages()
@@ -57,24 +71,27 @@ function get_languages()
'th:thai' => 'Thai',
'tr:turkish' => 'Turkish',
'vi:vietnamese' => 'Vietnamese',
'zh:simplified-chinese' => 'Chinese'
'zh-Hans:simplified-chinese' => 'Chinese Simplified Script',
'zh-Hant:traditional-chinese' => 'Chinese Traditional Script'
);
}
function load_language($load_system_language = FALSE, array $lang_array)
{
$lang = get_instance()->lang;
if($load_system_language = TRUE)
{
foreach($lang_array as $language_file)
{
get_instance()->lang->load($language_file,current_language_code(TRUE));
$lang->load($language_file, current_language_code(TRUE));
}
}
else
{
foreach($lang_array as $language_file)
{
get_instance()->lang->load($language_file,current_language_code());
$lang->load($language_file, current_language_code());
}
}
}
@@ -95,10 +112,11 @@ function get_timezones()
'America/Chihuahua' => '(GMT-07:00) Chihuahua, La Paz, Mazatlan',
'America/Dawson_Creek' => '(GMT-07:00) Arizona',
'America/Belize' => '(GMT-06:00) Saskatchewan, Central America',
'America/Cancun' => '(GMT-06:00) Guadalajara, Mexico City, Monterrey',
'America/Mexico_City' => '(GMT-06:00) Guadalajara, Mexico City, Monterrey',
'Chile/EasterIsland' => '(GMT-06:00) Easter Island',
'America/Chicago' => '(GMT-06:00) Central Time (US & Canada)',
'America/New_York' => '(GMT-05:00) Eastern Time (US & Canada)',
'America/Cancun' => '(GMT-05:00) Cancun',
'America/Havana' => '(GMT-05:00) Cuba',
'America/Bogota' => '(GMT-05:00) Bogota, Lima, Quito, Rio Branco',
'America/Caracas' => '(GMT-04:30) Caracas',
@@ -198,6 +216,62 @@ function get_timeformats()
);
}
/*
Gets the payment options
*/
function get_payment_options()
{
$config = get_instance()->config;
$lang = get_instance()->lang;
$payments = array();
if($config->item('payment_options_order') == 'debitcreditcash')
{
$payments[$lang->line('sales_debit')] = $lang->line('sales_debit');
$payments[$lang->line('sales_credit')] = $lang->line('sales_credit');
$payments[$lang->line('sales_cash')] = $lang->line('sales_cash');
}
elseif($config->item('payment_options_order') == 'debitcashcredit')
{
$payments[$lang->line('sales_debit')] = $lang->line('sales_debit');
$payments[$lang->line('sales_cash')] = $lang->line('sales_cash');
$payments[$lang->line('sales_credit')] = $lang->line('sales_credit');
}
elseif($config->item('payment_options_order') == 'creditdebitcash')
{
$payments[$lang->line('sales_credit')] = $lang->line('sales_credit');
$payments[$lang->line('sales_debit')] = $lang->line('sales_debit');
$payments[$lang->line('sales_cash')] = $lang->line('sales_cash');
}
elseif($config->item('payment_options_order') == 'creditcashdebit')
{
$payments[$lang->line('sales_credit')] = $lang->line('sales_credit');
$payments[$lang->line('sales_cash')] = $lang->line('sales_cash');
$payments[$lang->line('sales_debit')] = $lang->line('sales_debit');
}
else // default: if($config->item('payment_options_order') == 'cashdebitcredit')
{
$payments[$lang->line('sales_cash')] = $lang->line('sales_cash');
$payments[$lang->line('sales_debit')] = $lang->line('sales_debit');
$payments[$lang->line('sales_credit')] = $lang->line('sales_credit');
}
$payments[$lang->line('sales_due')] = $lang->line('sales_due');
$payments[$lang->line('sales_check')] = $lang->line('sales_check');
// If India (list of country codes include India) then include Unified Payment Interface
if (stripos(get_instance()->config->item('country_codes'), 'IN') !== false)
{
$payments[$lang->line('sales_upi')] = $lang->line('sales_upi');
}
return $payments;
}
function currency_side()
{
$config = get_instance()->config;
@@ -236,6 +310,13 @@ function tax_decimals()
return $config->item('tax_decimals') ? $config->item('tax_decimals') : 0;
}
function to_datetime($datetime)
{
$config = get_instance()->config;
return date($config->item('dateformat') . ' ' . $config->item('timeformat'), $datetime);
}
function to_currency($number)
{
return to_decimals($number, 'currency_decimals', \NumberFormatter::CURRENCY);
@@ -250,13 +331,13 @@ function to_currency_tax($number)
{
$config = get_instance()->config;
if($config->item('customer_sales_tax_support') == '1')
if($config->item('tax_included') == '1')
{
return to_decimals($number, 'currency_decimals', \NumberFormatter::CURRENCY);
return to_decimals($number, 'tax_decimals', \NumberFormatter::CURRENCY);
}
else
{
return to_decimals($number, 'tax_decimals', \NumberFormatter::CURRENCY);
return to_decimals($number, 'currency_decimals', \NumberFormatter::CURRENCY);
}
}
+182 -62
View File
@@ -274,6 +274,7 @@ function get_suppliers_manage_table_headers()
array('people.person_id' => $CI->lang->line('common_id')),
array('company_name' => $CI->lang->line('suppliers_company_name')),
array('agency_name' => $CI->lang->line('suppliers_agency_name')),
array('category' => $CI->lang->line('suppliers_category')),
array('last_name' => $CI->lang->line('common_last_name')),
array('first_name' => $CI->lang->line('common_first_name')),
array('email' => $CI->lang->line('common_email')),
@@ -300,6 +301,7 @@ function get_supplier_data_row($supplier)
'people.person_id' => $supplier->person_id,
'company_name' => $supplier->company_name,
'agency_name' => $supplier->agency_name,
'category' => $supplier->category,
'last_name' => $supplier->last_name,
'first_name' => $supplier->first_name,
'email' => empty($supplier->email) ? '' : mailto($supplier->email, $supplier->email),
@@ -319,6 +321,8 @@ function get_items_manage_table_headers()
{
$CI =& get_instance();
$definition_names = $CI->Attribute->get_definitions_by_flags(Attribute::SHOW_IN_ITEMS);
$headers = array(
array('items.item_id' => $CI->lang->line('common_id')),
array('item_number' => $CI->lang->line('items_item_number')),
@@ -327,12 +331,27 @@ function get_items_manage_table_headers()
array('company_name' => $CI->lang->line('suppliers_company_name')),
array('cost_price' => $CI->lang->line('items_cost_price')),
array('unit_price' => $CI->lang->line('items_unit_price')),
array('quantity' => $CI->lang->line('items_quantity')),
array('tax_percents' => $CI->lang->line('items_tax_percents'), 'sortable' => FALSE),
array('item_pic' => $CI->lang->line('items_image'), 'sortable' => FALSE),
array('inventory' => ''),
array('stock' => '')
array('quantity' => $CI->lang->line('items_quantity'))
);
if ($CI->config->item('use_destination_based_tax') == '1')
{
$headers[] = array('tax_percents' => $CI->lang->line('items_tax_category'), 'sortable' => FALSE);
}
else
{
$headers[] = array('tax_percents' => $CI->lang->line('items_tax_percents'), 'sortable' => FALSE);
}
$headers[] = array('item_pic' => $CI->lang->line('items_image'), 'sortable' => FALSE);
foreach($definition_names as $definition_id => $definition_name)
{
$headers[] = array($definition_id => $definition_name);
}
$headers[] = array('inventory' => '');
$headers[] = array('stock' => '');
return transform_headers($headers);
}
@@ -343,14 +362,32 @@ Get the html data row for the item
function get_item_data_row($item)
{
$CI =& get_instance();
$item_tax_info = $CI->Item_taxes->get_info($item->item_id);
$tax_percents = '';
foreach($item_tax_info as $tax_info)
if ($CI->config->item('use_destination_based_tax') == '1')
{
$tax_percents .= to_tax_decimals($tax_info['percent']) . '%, ';
if ($item->tax_category_id == NULL)
{
$tax_percents = '-';
}
else
{
$tax_category_info = $CI->Tax_category->get_info($item->tax_category_id);
$tax_percents = $tax_category_info->tax_category;
}
}
// remove ', ' from last item
$tax_percents = substr($tax_percents, 0, -2);
else
{
$item_tax_info = $CI->Item_taxes->get_info($item->item_id);
$tax_percents = '';
foreach($item_tax_info as $tax_info)
{
$tax_percents .= to_tax_decimals($tax_info['percent']) . '%, ';
}
// remove ', ' from last item
$tax_percents = substr($tax_percents, 0, -2);
$tax_percents = !$tax_percents ? '-' : $tax_percents;
}
$controller_name = strtolower(get_class($CI));
$image = NULL;
@@ -374,7 +411,14 @@ function get_item_data_row($item)
}
}
return array (
if ($CI->config->item('multi_pack_enabled') == '1')
{
$item->name .= NAME_SEPARATOR . $item->pack_name;
}
$definition_names = $CI->Attribute->get_definitions_by_flags(Attribute::SHOW_IN_ITEMS);
$columns = array (
'items.item_id' => $item->item_id,
'item_number' => $item->item_number,
'name' => $item->name,
@@ -384,7 +428,10 @@ function get_item_data_row($item)
'unit_price' => to_currency($item->unit_price),
'quantity' => to_quantity_decimals($item->quantity),
'tax_percents' => !$tax_percents ? '-' : $tax_percents,
'item_pic' => $image,
'item_pic' => $image
);
$icons = array(
'inventory' => anchor($controller_name."/inventory/$item->item_id", '<span class="glyphicon glyphicon-pushpin"></span>',
array('class' => 'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'title' => $CI->lang->line($controller_name.'_count'))
),
@@ -393,7 +440,11 @@ function get_item_data_row($item)
),
'edit' => anchor($controller_name."/view/$item->item_id", '<span class="glyphicon glyphicon-edit"></span>',
array('class' => 'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'title' => $CI->lang->line($controller_name.'_update'))
));
)
);
$attribute_values = (property_exists($item, 'attribute_values')) ? $item->attribute_values : "";
return $columns + expand_attribute_values($definition_names, $attribute_values) + $icons;
}
@@ -434,51 +485,6 @@ function get_giftcard_data_row($giftcard)
));
}
/*
Get the header for the taxes tabular view
*/
function get_taxes_manage_table_headers()
{
$CI =& get_instance();
$headers = array(
array('tax_code' => $CI->lang->line('taxes_tax_code')),
array('tax_code_name' => $CI->lang->line('taxes_tax_code_name')),
array('tax_code_type_name' => $CI->lang->line('taxes_tax_code_type')),
array('tax_rate' => $CI->lang->line('taxes_tax_rate')),
array('rounding_code_name' => $CI->lang->line('taxes_rounding_code')),
array('city' => $CI->lang->line('common_city')),
array('state' => $CI->lang->line('common_state'))
);
return transform_headers($headers);
}
/*
Get the html data row for the tax
*/
function get_tax_data_row($tax_code_row)
{
$CI =& get_instance();
$controller_name=strtolower(get_class($CI));
return array (
'tax_code' => $tax_code_row->tax_code,
'tax_code_name' => $tax_code_row->tax_code_name,
'tax_code_type' => $tax_code_row->tax_code_type,
'tax_rate' => $tax_code_row->tax_rate,
'rounding_code' =>$tax_code_row->rounding_code,
'tax_code_type_name' => $CI->Tax->get_tax_code_type_name($tax_code_row->tax_code_type),
'rounding_code_name' => Rounding_mode::get_rounding_code_name($tax_code_row->rounding_code),
'city' => $tax_code_row->city,
'state' => $tax_code_row->state,
'edit' => anchor($controller_name."/view/$tax_code_row->tax_code", '<span class="glyphicon glyphicon-edit"></span>',
array('class'=>'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'title'=>$CI->lang->line($controller_name.'_update'))
));
}
/*
Get the header for the item kits tabular view
*/
@@ -516,6 +522,69 @@ function get_item_kit_data_row($item_kit)
));
}
function expand_attribute_values($definition_names, $attribute_values)
{
$values = explode('|', $attribute_values);
$indexed_values = array();
foreach($values as $attribute_value)
{
$exploded_value = explode(':', $attribute_value);
$indexed_values[$exploded_value[0]] = isset($exploded_value[1]) ? $exploded_value[1] : '-';
}
$attribute_values = array();
foreach($definition_names as $definition_id => $definition_name)
{
$attribute_value = isset($indexed_values[$definition_id]) ? $indexed_values[$definition_id] : '-';
$attribute_values["$definition_id"] = $attribute_value;
}
return $attribute_values;
}
function get_attribute_definition_manage_table_headers()
{
$CI =& get_instance();
$headers = array(
array('definition_id' => $CI->lang->line('attributes_definition_id')),
array('definition_name' => $CI->lang->line('attributes_definition_name')),
array('definition_type' => $CI->lang->line('attributes_definition_type')),
array('definition_flags' => $CI->lang->line('attributes_definition_flags')),
array('definition_group' => $CI->lang->line('attributes_definition_group')),
);
return transform_headers($headers);
}
function get_attribute_definition_data_row($attribute)
{
$CI =& get_instance();
$controller_name=strtolower(get_class($CI));
if (count($attribute->definition_flags) == 0)
{
$definition_flags = $CI->lang->line('common_none_selected_text');
}
else if ($attribute->definition_type == GROUP)
{
$definition_flags = "-";
}
else
{
$definition_flags = implode(', ', $attribute->definition_flags);
}
return array (
'definition_id' => $attribute->definition_id,
'definition_name' => $attribute->definition_name,
'definition_type' => $attribute->definition_type,
'definition_group' => $attribute->definition_group,
'definition_flags' => $definition_flags,
'edit' => anchor("$controller_name/view/$attribute->definition_id", '<span class="glyphicon glyphicon-edit"></span>',
array('class'=>'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'title'=>$CI->lang->line($controller_name.'_update'))
));
}
/*
Get the header for the expense categories tabular view
@@ -567,14 +636,14 @@ function get_expenses_manage_table_headers()
array('payment_type' => $CI->lang->line('expenses_payment')),
array('category_name' => $CI->lang->line('expenses_categories_name')),
array('description' => $CI->lang->line('expenses_description')),
array('createdBy' => $CI->lang->line('expenses_employee'))
array('created_by' => $CI->lang->line('expenses_employee'))
);
return transform_headers($headers);
}
/*
Gets the html data row for the expenses.
Gets the html data row for the expenses
*/
function get_expenses_data_row($expense)
{
@@ -590,7 +659,7 @@ function get_expenses_data_row($expense)
'payment_type' => $expense->payment_type,
'category_name' => $expense->category_name,
'description' => $expense->description,
'createdBy' => $expense->first_name.' '. $expense->last_name,
'created_by' => $expense->first_name.' '. $expense->last_name,
'edit' => anchor($controller_name."/view/$expense->expense_id", '<span class="glyphicon glyphicon-edit"></span>',
array('class'=>'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'title'=>$CI->lang->line($controller_name.'_update'))
));
@@ -638,4 +707,55 @@ function get_expenses_manage_payments_summary($payments, $expenses)
return $table;
}
/*
Get the header for the cashup tabular view
*/
function get_cashups_manage_table_headers()
{
$CI =& get_instance();
$headers = array(
array('cashup_id' => $CI->lang->line('cashups_id')),
array('open_date' => $CI->lang->line('cashups_opened_date')),
array('open_employee_id' => $CI->lang->line('cashups_open_employee')),
array('open_amount_cash' => $CI->lang->line('cashups_open_amount_cash')),
array('transfer_amount_cash' => $CI->lang->line('cashups_transfer_amount_cash')),
array('close_date' => $CI->lang->line('cashups_closed_date')),
array('close_employee_id' => $CI->lang->line('cashups_close_employee')),
array('closed_amount_cash' => $CI->lang->line('cashups_closed_amount_cash')),
array('note' => $CI->lang->line('cashups_note')),
array('closed_amount_due' => $CI->lang->line('cashups_closed_amount_due')),
array('closed_amount_card' => $CI->lang->line('cashups_closed_amount_card')),
array('closed_amount_check' => $CI->lang->line('cashups_closed_amount_check')),
array('closed_amount_total' => $CI->lang->line('cashups_closed_amount_total'))
);
return transform_headers($headers);
}
/*
Gets the html data row for the cashups
*/
function get_cash_up_data_row($cash_up)
{
$CI =& get_instance();
$controller_name = strtolower(get_class($CI));
return array (
'cashup_id' => $cash_up->cashup_id,
'open_date' => date($CI->config->item('dateformat') . ' ' . $CI->config->item('timeformat'), strtotime($cash_up->open_date)),
'open_employee_id' => $cash_up->open_first_name . ' ' . $cash_up->open_last_name,
'open_amount_cash' => to_currency($cash_up->open_amount_cash),
'transfer_amount_cash' => to_currency($cash_up->transfer_amount_cash),
'close_date' => date($CI->config->item('dateformat') . ' ' . $CI->config->item('timeformat'), strtotime($cash_up->close_date)),
'close_employee_id' => $cash_up->close_first_name . ' ' . $cash_up->close_last_name,
'closed_amount_cash' => to_currency($cash_up->closed_amount_cash),
'note' => $cash_up->note ? '<span class="glyphicon glyphicon-ok"></span>' : '<span class="glyphicon glyphicon-remove"></span>',
'closed_amount_due' => to_currency($cash_up->closed_amount_due),
'closed_amount_card' => to_currency($cash_up->closed_amount_card),
'closed_amount_check' => to_currency($cash_up->closed_amount_check),
'closed_amount_total' => to_currency($cash_up->closed_amount_total),
'edit' => anchor($controller_name."/view/$cash_up->cashup_id", '<span class="glyphicon glyphicon-edit"></span>',
array('class'=>'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'title'=>$CI->lang->line($controller_name.'_update'))
));
}
?>
+151
View File
@@ -0,0 +1,151 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Tax Configuration tabular helpers
*/
/*
Get the header for the taxes tabular view
*/
function get_tax_code_table_headers()
{
$CI =& get_instance();
$headers = array(
array('tax_code' => $CI->lang->line('taxes_tax_code')),
array('tax_code_name' => $CI->lang->line('taxes_tax_code_name')),
array('city' => $CI->lang->line('common_city')),
array('state' => $CI->lang->line('common_state'))
);
return transform_headers($headers);
}
/*
Get the html data row for the tax
*/
function get_tax_code_data_row($tax_code_row)
{
$CI =& get_instance();
$controller_name='tax_codes';
return array (
'tax_code' => $tax_code_row->tax_code,
'tax_code_name' => $tax_code_row->tax_code_name,
'tax_code_type' => $tax_code_row->tax_code_type,
'city' => $tax_code_row->city,
'state' => $tax_code_row->state,
'edit' => anchor($controller_name."/view_tax_codes/$tax_code_row->tax_code", '<span class="glyphicon glyphicon-edit"></span>',
array('class'=>'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'title'=>$CI->lang->line($controller_name.'_update_tax_codes'))
));
}
/*
Get the header for the taxes tabular view
*/
function get_tax_categories_table_headers()
{
$CI =& get_instance();
$headers = array(
array('tax_category' => $CI->lang->line('taxes_tax_category_name')),
array('tax_category_code' => $CI->lang->line('taxes_tax_category_code')),
array('tax_group_sequence' => $CI->lang->line('taxes_tax_group_sequence')),
);
return transform_headers($headers);
}
/*
Get the html data row for the tax
*/
function get_tax_categories_data_row($tax_categories_row)
{
$CI =& get_instance();
$controller_name='tax_categories';
return array (
'tax_category_id' => $tax_categories_row->tax_category_id,
'tax_category' => $tax_categories_row->tax_category,
'tax_category_code' => $tax_categories_row->tax_category_code,
'tax_group_sequence' => $tax_categories_row->tax_group_sequence,
'edit' => anchor($controller_name."/view/$tax_categories_row->tax_category_id", '<span class="glyphicon glyphicon-edit"></span>',
array('class'=>'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'title'=>$CI->lang->line($controller_name.'_update'))
));
}
/*
Get the header for the taxes tabular view
*/
function get_tax_jurisdictions_table_headers()
{
$CI =& get_instance();
$headers = array(
array('jurisdiction_id' => $CI->lang->line('taxes_jurisdiction_id')),
array('jurisdiction_name' => $CI->lang->line('taxes_jurisdiction_name')),
array('reporting_authority' => $CI->lang->line('taxes_reporting_authority'))
);
return transform_headers($headers);
}
/*
Get the html data row for the tax
*/
function get_tax_jurisdictions_data_row($tax_jurisdiction_row)
{
$CI =& get_instance();
$controller_name='tax_jurisdictions';
return array (
'jurisdiction_id' => $tax_jurisdiction_row->jurisdiction_id,
'jurisdiction_name' => $tax_jurisdiction_row->jurisdiction_name,
'reporting_authority' => $tax_jurisdiction_row->reporting_authority,
'edit' => anchor($controller_name."/view/$tax_jurisdiction_row->jurisdiction_id", '<span class="glyphicon glyphicon-edit"></span>',
array('class'=>'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'title'=>$CI->lang->line($controller_name.'_update'))
));
}
/*
Get the header for the taxes tabular view
*/
function get_tax_rates_manage_table_headers()
{
$CI =& get_instance();
$headers = array(
array('tax_code' => $CI->lang->line('taxes_tax_code')),
array('tax_code_name' => $CI->lang->line('taxes_tax_code_name')),
array('jurisdiction_name' => $CI->lang->line('taxes_jurisdiction_name')),
array('tax_category' => $CI->lang->line('taxes_tax_category')),
array('tax_rate' => $CI->lang->line('taxes_tax_rate')),
array('rounding_code_name' => $CI->lang->line('taxes_rounding_code'))
);
return transform_headers($headers);
}
/*
Get the html data row for the tax
*/
function get_tax_rates_data_row($tax_rates_row)
{
$CI =& get_instance();
$controller_name=strtolower(get_class($CI));
return array (
'tax_rate_id' => $tax_rates_row->tax_rate_id,
'tax_code' => $tax_rates_row->tax_code,
'tax_code_name' => $tax_rates_row->tax_code_name,
'tax_category' => $tax_rates_row->tax_category,
'tax_rate' => $tax_rates_row->tax_rate,
'jurisdiction_name' => $tax_rates_row->jurisdiction_name,
'tax_rounding_code' =>$tax_rates_row->tax_rounding_code,
'rounding_code_name' => Rounding_mode::get_rounding_code_name($tax_rates_row->tax_rounding_code),
'edit' => anchor($controller_name."/view/$tax_rates_row->tax_rate_id", '<span class="glyphicon glyphicon-edit"></span>',
array('class'=>'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'title'=>$CI->lang->line($controller_name.'_update'))
));
}
?>
+16 -13
View File
@@ -7,25 +7,28 @@ function load_config()
{
$CI =& get_instance();
$migration = $CI->load->library('migration');
if (!$CI->migration->is_latest())
{
$CI->session->sess_destroy();
}
foreach($CI->Appconfig->get_all()->result() as $app_config)
{
$CI->config->set_item($CI->security->xss_clean($app_config->key), $CI->security->xss_clean($app_config->value));
}
//Loads all the language files from the language directory
if(!empty(current_language()))
{
// fallback to English if language folder does not exist
if(!file_exists('../application/language/' . current_language_code()))
{
$CI->config->set_item('language', 'english');
$CI->config->set_item('language_code', 'en-US');
}
_load_language_files($CI, '../vendor/codeigniter/framework/system/language', current_language());
_load_language_files($CI, '../application/language', current_language_code());
// fallback to English if language settings are not correct
$file_exists = !file_exists('../application/language/' . current_language_code());
if(current_language_code() == null || current_language() == null || $file_exists)
{
$CI->config->set_item('language', 'english');
$CI->config->set_item('language_code', 'en-US');
}
_load_language_files($CI, '../vendor/codeigniter/framework/system/language', current_language());
_load_language_files($CI, '../application/language', current_language_code());
//Set timezone from config database
if($CI->config->item('timezone'))
{
@@ -235,6 +235,8 @@ xh Xhosa
xh-ZA Xhosa (South Africa)
zh Chinese
zh-CN Chinese (S)
zh-Hans Chinese in the simplified scrip
zh-Hant Chinese in the traditional script
zh-HK Chinese (Hong Kong)
zh-MO Chinese (Macau)
zh-SG Chinese (Singapore)
@@ -0,0 +1,28 @@
<?php
$lang["attributes_attribute_value_invalid_chars"] = "الميزات لا يمكن أن تحتوي على ':' أو'|'";
$lang["attributes_confirm_delete"] = "هل أنت متأكد من أنك تريد حذف الميزات المحددة ؟";
$lang["attributes_definition_cannot_be_deleted"] = "لا يمكن حذف السمات المحددة";
$lang["attributes_definition_flags"] = "رؤية الميزات";
$lang["attributes_definition_group"] = "المجموعة";
$lang["attributes_definition_id"] = "كود";
$lang["attributes_definition_name"] = "إضافة ميزة";
$lang["attributes_definition_name_required"] = "اسم الميزة هي خانة اجبارية";
$lang["attributes_definition_one_or_multiple"] = "ميزة/ميزات";
$lang["attributes_definition_successful_adding"] = "لقد تم إضافة صنف بنجاح";
$lang["attributes_definition_successful_deleted"] = "لقد تم حذف ميزة بنجاح";
$lang["attributes_definition_successful_updating"] = "تم تعديل الميزة بنجاح";
$lang["attributes_definition_type"] = "نوع الميزة";
$lang["attributes_definition_type_required"] = "نوع الميزة هي خانة إجبارية";
$lang["attributes_definition_values"] = "قيمة الميزة";
$lang["attributes_new"] = "اضافة ميزة جديده";
$lang["attributes_no_attributes_to_display"] = "لا يوجد اصناف للعرض";
$lang["attributes_receipt_visibility"] = "وصل";
$lang["attributes_show_in_items"] = "اظهار في الصنف";
$lang["attributes_show_in_items_visibility"] = "الصنف";
$lang["attributes_show_in_receipt"] = "اظهار على الوصل";
$lang["attributes_show_in_receivings"] = "اظهار في استلام البضائع";
$lang["attributes_show_in_receivings_visibility"] = "استلام البضائع";
$lang["attributes_show_in_sales"] = "اظهار خلال البيع";
$lang["attributes_show_in_sales_visibility"] = "البيع";
$lang["attributes_update"] = "تحديث الميزات";
@@ -3,7 +3,7 @@
$lang["tables_all"] = "الجميع";
$lang["tables_columns"] = "أعمدة";
$lang["tables_hide_show_pagination"] = "عرض/إخفاء أرقام الصفحات";
$lang["tables_loading"] = "جارى التحميل، برجاء الإنتظار";
$lang["tables_loading"] = "جارى التحميل، برجاء الإنتظار ...";
$lang["tables_page_from_to"] = "عرض {0} إلى {1} من {2} صفوف";
$lang["tables_refresh"] = "إعادة تحميل";
$lang["tables_rows_per_page"] = "{0} صف بالصفحة";
@@ -0,0 +1,38 @@
<?php
$lang["cashups_amount"] = "قيمة المبلغ";
$lang["cashups_amount_number"] = "قيمة المبلغ يجب ان تتكون من ارقام";
$lang["cashups_amount_required"] = "قيمة المبلغ هي خانة إجبارية.";
$lang["cashups_cannot_be_deleted"] = "لا يمكن حذف الصندوق النقدي";
$lang["cashups_close_date"] = "تاريخ تسكير الصندوق";
$lang["cashups_close_employee"] = "تم التسكير من قبل";
$lang["cashups_closed_amount_card"] = "بطاقات ائتمان";
$lang["cashups_closed_amount_cash"] = "الصندوق النقدي";
$lang["cashups_closed_amount_check"] = "شيكات";
$lang["cashups_closed_amount_due"] = "الديون";
$lang["cashups_closed_amount_total"] = "المجموع";
$lang["cashups_closed_date"] = "تاريخ تسكير الصندوق";
$lang["cashups_confirm_delete"] = "هل انت متأكد من حذف الصندوق النقدي؟";
$lang["cashups_confirm_restore"] = "هل انت متأكد من استعادة الصندوق النقدي؟";
$lang["cashups_date_number"] = "التاريخ يجب ان يكون مكون من ارقام";
$lang["cashups_date_required"] = "التاريخ هي خانة اجبارية";
$lang["cashups_description"] = "الوصف";
$lang["cashups_error_adding_updating"] = "خطأ في تعديل او اضافة صندوق نقدي";
$lang["cashups_id"] = "كود";
$lang["cashups_info"] = "معلومات عن الصندوق النقدي";
$lang["cashups_is_deleted"] = "محذوف";
$lang["cashups_new"] = "صندوق نقدي جديد";
$lang["cashups_no_cashups_to_display"] = "لا يوجد صناديق نقدية للاظهار";
$lang["cashups_none_selected"] = "لم يتم اختيار اي صندوق نقدي";
$lang["cashups_note"] = "ملاحظات";
$lang["cashups_one_or_multiple"] = "صندوق او صناديق نقدية";
$lang["cashups_open_amount_cash"] = "بداية صندوق نقدي";
$lang["cashups_open_date"] = "تاريخ بداية الصندوق النقدي";
$lang["cashups_open_employee"] = "تمت بداية الصندوق النقدي من قبل";
$lang["cashups_opened_date"] = "تاريخ بداية الصندوق النقدي";
$lang["cashups_successful_adding"] = "تمت إضافة الصندوق النقدي بنجاح";
$lang["cashups_successful_deleted"] = "تم حذف الصندوق النقدي بنجاح";
$lang["cashups_successful_updating"] = "تم تعديل الصندوق النقدي بنجاح";
$lang["cashups_total"] = "المجموع";
$lang["cashups_transfer_amount_cash"] = "حركة الصندوق";
$lang["cashups_update"] = "تعديل/تحديث الصندوق النقدي";
+3 -1
View File
@@ -7,6 +7,7 @@ $lang["common_close"] = "إغلاق";
$lang["common_comments"] = "تعليقات";
$lang["common_common"] = "عام";
$lang["common_confirm_search"] = "لقد قمت اختيار أكتر من سجل، سوف تفقد هذه الاختيارات عند إرسال البحث، موافق؟";
$lang["common_correct_errors"] = "";
$lang["common_country"] = "البلد";
$lang["common_date"] = "التاريخ";
$lang["common_delete"] = "حذف";
@@ -39,9 +40,10 @@ $lang["common_last_page"] = "الأخيرة";
$lang["common_learn_about_project"] = "للتعرف على أخر المعلومات حول المشروع.";
$lang["common_list_of"] = "قائمة بـ";
$lang["common_logout"] = "خروج";
$lang["common_migration_needed"] = "";
$lang["common_new"] = "جديد";
$lang["common_no_persons_to_display"] = "لا يوجد اناس لعرضهم.";
$lang["common_none_selected_text"] = "لم يتم اختيار شيء.";
$lang["common_none_selected_text"] = "[إختيار]";
$lang["common_or"] = "أو";
$lang["common_phone_number"] = "رقم التليفون";
$lang["common_phone_number_required"] = "رقم التليفون مطلوب";
+28 -11
View File
@@ -46,16 +46,6 @@ $lang["config_country_codes"] = "أكواد الدولة";
$lang["config_country_codes_tooltip"] = "قائمة مفصولة بفاصلة لاسماء الدول للبحث.";
$lang["config_currency_decimals"] = "العلامة العشرية للعملة";
$lang["config_currency_symbol"] = "رمز العملة";
$lang["config_custom1"] = "حقل مخصص 1";
$lang["config_custom10"] = "حقل مخصص 10";
$lang["config_custom2"] = "حقل مخصص 2";
$lang["config_custom3"] = "حقل مخصص 3";
$lang["config_custom4"] = "حقل مخصص 4";
$lang["config_custom5"] = "حقل مخصص 5";
$lang["config_custom6"] = "حقل مخصص 6";
$lang["config_custom7"] = "حقل مخصص 7";
$lang["config_custom8"] = "حقل مخصص 8";
$lang["config_custom9"] = "حقل مخصص 9";
$lang["config_customer_reward"] = "المكافآت";
$lang["config_customer_reward_duplicate"] = "المكافئة يجب ان تكون فريدة.";
$lang["config_customer_reward_enable"] = "تمكين مكافآت العميل";
@@ -77,10 +67,17 @@ $lang["config_default_barcode_page_width_number"] = "عرض الصفحة الا
$lang["config_default_barcode_page_width_required"] = "عرض الصفحة الافتراضي للباركود مطلوب.";
$lang["config_default_barcode_width_number"] = "العرض الافتراضي للباركود لابد ان يكون رقم.";
$lang["config_default_barcode_width_required"] = "العرض الافتراضي للباركود مطلوب.";
$lang["config_default_item_columns"] = "الخانات المراد إظهارها";
$lang["config_default_origin_tax_code"] = "كود الضريبة الاساسي الافتراضي";
$lang["config_default_sales_discount"] = "نسبة الخصم الافتراضية %";
$lang["config_default_receivings_discount"] = "";
$lang["config_default_receivings_discount_number"] = "";
$lang["config_default_receivings_discount_required"] = "";
$lang["config_default_sales_discount"] = "نسبة الخصم الافتراضية";
$lang["config_default_sales_discount_number"] = "نسبة الخصم الافتراضية لابد ان تكون رقم.";
$lang["config_default_sales_discount_required"] = "نسبة الخصم الافتراضية مطلوبة.";
$lang["config_default_tax_category"] = "";
$lang["config_default_tax_code"] = "";
$lang["config_default_tax_jurisdiction"] = "";
$lang["config_default_tax_name_number"] = "يجب أن يكون الاسم الافتراضي للضريبة سلسلة.";
$lang["config_default_tax_name_required"] = "اسم الضريبة الافتراضية مطلوب.";
$lang["config_default_tax_rate"] = "معدل الضريبة الافتراضي %";
@@ -100,12 +97,18 @@ $lang["config_email"] = "البريد الإلكتروني";
$lang["config_email_configuration"] = "إعدادات البريد الإلكتروني";
$lang["config_email_mailpath"] = "مسار ارسال البريد";
$lang["config_email_protocol"] = "بروتوكول";
$lang["config_email_receipt_check_behaviour"] = "ارسال رسائل الكترونية";
$lang["config_email_receipt_check_behaviour_always"] = "مختار دائما";
$lang["config_email_receipt_check_behaviour_last"] = "تذكر آخر إختيار";
$lang["config_email_receipt_check_behaviour_never"] = "دائما غير مختار";
$lang["config_email_smtp_crypto"] = "تشفير SMTP";
$lang["config_email_smtp_host"] = "خادم SMTP";
$lang["config_email_smtp_pass"] = "كلمة سر SMTP";
$lang["config_email_smtp_port"] = "رقم منفذ SMTP";
$lang["config_email_smtp_timeout"] = "وقت فشل المحاولة (ثوانى) لـ SMTP";
$lang["config_email_smtp_user"] = "اسم مستخدم SMTP";
$lang["config_enforce_privacy"] = "فرض نظام الخصوصية";
$lang["config_enforce_privacy_tooltip"] = "حماية ملفات ومعلومات المستخدم عند الحذف";
$lang["config_fax"] = "الفاكس";
$lang["config_financial_year"] = "بداية السنة المالية";
$lang["config_financial_year_apr"] = "1 أبريل";
@@ -131,14 +134,17 @@ $lang["config_general_configuration"] = "إعدادات عامة";
$lang["config_giftcard_number"] = "رقم كارت الهدية";
$lang["config_giftcard_random"] = "توليد عشوائي";
$lang["config_giftcard_series"] = "توليد في السلسلة";
$lang["config_include_hsn"] = "";
$lang["config_info"] = "معلومات";
$lang["config_info_configuration"] = "معلومات الشركة";
$lang["config_integrations"] = "";
$lang["config_invoice"] = "الفاتورة";
$lang["config_invoice_configuration"] = "إعدادات طباعة الفاتورة";
$lang["config_invoice_default_comments"] = "التعليق الافتراضي على الفاتورة";
$lang["config_invoice_email_message"] = "قالب البريد الإلكتروني للفاتورة";
$lang["config_invoice_enable"] = "تفعيل الفوترة";
$lang["config_invoice_printer"] = "طابعة الفواتير";
$lang["config_invoice_type"] = "";
$lang["config_jsprintsetup_required"] = "تحذير! هذه الخاصية غير المفعلة سوف تعمل فقط مع وجود الاضافة jsPrintSetup على متصفح فايرفوكس. حفظ على أى حال؟";
$lang["config_language"] = "اللغة";
$lang["config_last_used_invoice_number"] = "اخر رقم مستخدم للفاتورة";
@@ -175,6 +181,7 @@ $lang["config_msg_src"] = "SMS-API كود المرسل لـ";
$lang["config_msg_src_required"] = "مطلوب SMS-API كود المرسل لـ";
$lang["config_msg_uid"] = "SMS-API اسم المستخدم لـ";
$lang["config_msg_uid_required"] = "مطلوب SMS-API اسم المستخدم لـ";
$lang["config_multi_pack_enabled"] = "رزم متعددة لكل صنف";
$lang["config_none"] = "لايوجد";
$lang["config_notify_alignment"] = "مكان عرض رسائل المعلومات";
$lang["config_number_format"] = "شكل الرقم";
@@ -188,11 +195,18 @@ $lang["config_phone_required"] = "هاتف الشركة مطلوب.";
$lang["config_print_bottom_margin"] = "الهامش السفلي";
$lang["config_print_bottom_margin_number"] = "الهامش السفلي يجب أن يكون رقم.";
$lang["config_print_bottom_margin_required"] = "الهامش السفلي مطلوب.";
$lang["config_print_delay_autoreturn"] = "العودة الى عمليات البيع تلقائيا ( عدد الثواني )";
$lang["config_print_delay_autoreturn_number"] = "الزمن المحدد للعودة الى عمليات البيع هو خانة اجبارية.";
$lang["config_print_delay_autoreturn_required"] = "الزمن المحدد للعودة الى عمليات البيع يجب ان يكون رقم.";
$lang["config_print_footer"] = "طباعة تذييل المتصفح";
$lang["config_print_header"] = "طباعة ترويسة المتصفح";
$lang["config_print_left_margin"] = "الهامش الأيسر";
$lang["config_print_left_margin_number"] = "الهامش الأيسر يجب ان يكون رقم.";
$lang["config_print_left_margin_required"] = "الهامش الأيسر مطلوب.";
$lang["config_print_receipt_check_behaviour"] = "خانة طباعة الفواتير";
$lang["config_print_receipt_check_behaviour_always"] = "دائما مختار";
$lang["config_print_receipt_check_behaviour_last"] = "تذكر آخر اختيار";
$lang["config_print_receipt_check_behaviour_never"] = "دائما ليس مختار";
$lang["config_print_right_margin"] = "الهامش الأيمن";
$lang["config_print_right_margin_number"] = "الهامش الأيمن يجب أن يكون رقم.";
$lang["config_print_right_margin_required"] = "الهامش الأيمن مطلوب.";
@@ -201,6 +215,7 @@ $lang["config_print_top_margin"] = "الهامش العلوى";
$lang["config_print_top_margin_number"] = "الهامش العلوى يجب أن يكون رقم.";
$lang["config_print_top_margin_required"] = "الهامش العلوى مطلوب.";
$lang["config_quantity_decimals"] = "العلامة العشرية للكمية";
$lang["config_quote_default_comments"] = "ملاحظات طلبات العمل الثابتة";
$lang["config_receipt"] = "الإيصال";
$lang["config_receipt_configuration"] = "إعدادات طباعة الايصالات";
$lang["config_receipt_default"] = "افتراضى";
@@ -249,11 +264,13 @@ $lang["config_tax_category_required"] = "الفئة الضريبية مطلوب
$lang["config_tax_category_used"] = "الفئة الضريبية اللتي تم تحديدها لا يمكن حذفها لانها قيد الاستعمال.";
$lang["config_tax_configuration"] = "إعدادات الضريبة";
$lang["config_tax_decimals"] = "العلامة العشرية للضريبة";
$lang["config_tax_id"] = "";
$lang["config_tax_included"] = "شامل الضريبة";
$lang["config_theme"] = "السمة";
$lang["config_thousands_separator"] = "فاصل الاف";
$lang["config_timezone"] = "المنطقة الزمنية";
$lang["config_top"] = "علوى";
$lang["config_use_destination_based_tax"] = "";
$lang["config_website"] = "موقع الشركة";
$lang["config_work_order_enable"] = "تفعيل طلبات العمل";
$lang["config_work_order_format"] = "شكل طلبات العمل";
@@ -10,9 +10,16 @@ $lang["customers_cannot_be_deleted"] = "لايمكن حذف هؤلاء العم
$lang["customers_company_name"] = "اسم الشركة";
$lang["customers_confirm_delete"] = "هل تريد حذف هؤلاء العملاء حقاً؟";
$lang["customers_confirm_restore"] = "هل انت متأكد من إستعادة قاعدة بيانات الزبائن ؟";
$lang["customers_consent"] = "موافقة التسجيل";
$lang["customers_consent_required"] = "موافقة التسجيل هي خانة اجبارية.";
$lang["customers_customer"] = "العميل";
$lang["customers_date"] = "التاريخ";
$lang["customers_discount"] = "نسبة الخصم";
$lang["customers_discount_fixed"] = "حسم ثابت";
$lang["customers_discount_percent"] = "نسبة الحبم";
$lang["customers_discount_type"] = "نوع الحسم";
$lang["customers_email_duplicate"] = "البريد الالكتروني مكرر.";
$lang["customers_employee"] = "الموظف";
$lang["customers_error_adding_updating"] = "خطاء فى إضافة أو تحديث العميل.";
$lang["customers_excel_import_failed"] = "فشل الإستيراد من اكسل";
$lang["customers_excel_import_nodata_wrongformat"] = "الملف الذى رفعته إما فارغ أو أنه مختلف البنية.";
@@ -40,6 +47,7 @@ $lang["customers_successful_adding"] = "لقد أضفت عميل بنجاح";
$lang["customers_successful_deleted"] = "لقد قمت بالحذف بنجاح";
$lang["customers_successful_updating"] = "لقد قمت بتحديث بيانات العميل بنجاح";
$lang["customers_tax_code"] = "كود الضريبة";
$lang["customers_tax_id"] = "";
$lang["customers_taxable"] = "خاضع للضريبة";
$lang["customers_total"] = "المجموع";
$lang["customers_update"] = "تحديث بيانات عميل";
@@ -7,13 +7,14 @@ $lang["datepicker_custom"] = "مخصص";
$lang["datepicker_from"] = "من";
$lang["datepicker_last_30"] = "أخر 30 يوم";
$lang["datepicker_last_7"] = "أخر سبعة أيام";
$lang["datepicker_last_financial_year"] = "";
$lang["datepicker_last_financial_year"] = "السنة المالية الماضية";
$lang["datepicker_last_month"] = "أخر شهر";
$lang["datepicker_last_year"] = "السنة الماضية";
$lang["datepicker_same_month_last_year"] = "نفس الشهر من العام الماضي";
$lang["datepicker_same_month_to_same_day_last_year"] = "نفس الشهر حتى اليوم من السنة الماضية";
$lang["datepicker_this_financial_year"] = "";
$lang["datepicker_this_financial_year"] = "السنة المالية الحالية";
$lang["datepicker_this_month"] = "هذا الشهر";
$lang["datepicker_this_month_last_year"] = "";
$lang["datepicker_this_year"] = "السنة الحالية";
$lang["datepicker_to"] = "إلى";
$lang["datepicker_today"] = "اليوم";
@@ -5,6 +5,7 @@ $lang["expenses_categories_add_item"] = "إضافة نوع";
$lang["expenses_categories_cannot_be_deleted"] = "فشلت عملية مسح نوع المصاريف";
$lang["expenses_categories_category_id"] = "الكود";
$lang["expenses_categories_confirm_delete"] = "هل أنت متأكد من مسح نوع المصاريف الذي أخترته؟";
$lang["expenses_categories_confirm_restore"] = "هل أنت متأكد من أنك تريد استعادة فئة المصاريف المحددة؟";
$lang["expenses_categories_description"] = "وصف النوع";
$lang["expenses_categories_error_adding_updating"] = "مشكلة أثناء أضافة أو تعديل نوع المصاريف";
$lang["expenses_categories_info"] = "معلومات عن نوع المصاريف";
@@ -36,6 +36,7 @@ $lang["expenses_no_expenses_to_display"] = "لا يوجد مصاريف في ال
$lang["expenses_none_selected"] = "لم يتم تحديد اي خيار";
$lang["expenses_one_or_multiple"] = "واحد او أكثر";
$lang["expenses_payment"] = "الدفع";
$lang["expenses_start_typing_supplier_name"] = "ابدا بكتابة اسم المورد...";
$lang["expenses_successful_adding"] = "تم إضافة المصاريف بنجاح";
$lang["expenses_successful_deleted"] = "تم مسح المصاريف بنجاح";
$lang["expenses_successful_updating"] = "تم تعديل المصاريف بنجاح";
@@ -6,7 +6,10 @@ $lang["item_kits_cannot_be_deleted"] = "لايمكن حذف مجموعة/مجم
$lang["item_kits_confirm_delete"] = "هل أنت متأكد أنك تريد حذف المجموعة؟";
$lang["item_kits_confirm_restore"] = "هل أنت متأكد أنك تريد استعادة المجموعة المحددة؟";
$lang["item_kits_description"] = "وصف المجموعة";
$lang["item_kits_discount"] = "الخصم";
$lang["item_kits_discount_fixed"] = "خصم قابل للتعديل";
$lang["item_kits_discount_percent"] = "نسبة الخصم";
$lang["item_kits_discount_type"] = "نوع الخصم";
$lang["item_kits_error_adding_updating"] = "خطاء فى إضافة/تحديث المجموعة.";
$lang["item_kits_find_kit_item"] = "صنف لمجموعة";
$lang["item_kits_info"] = "معلومات المجموعة";
+9 -2
View File
@@ -24,6 +24,7 @@ $lang["items_cost_price_number"] = "سعر التكلفة يجب أن يكون
$lang["items_cost_price_required"] = "سعر التكلفة مطلوب.";
$lang["items_count"] = "تحديث المخزون";
$lang["items_current_quantity"] = "الكمية الحالية";
$lang["items_default_pack_name"] = "كل";
$lang["items_description"] = "الوصف";
$lang["items_details_count"] = "حركة الصنف";
$lang["items_do_nothing"] = "لاتفعل شئ";
@@ -37,6 +38,7 @@ $lang["items_excel_import_nodata_wrongformat"] = "الملف الذى رفعته
$lang["items_excel_import_partially_failed"] = "تم استيراد معظم الأصناف. البعض لم يتم استيرادهم ، وهذه هى القائمة:";
$lang["items_excel_import_success"] = "تم استيراد الأصناف بنجاح.";
$lang["items_generate_barcodes"] = "توليد أكواد الباركود";
$lang["items_hsn_code"] = "";
$lang["items_image"] = "صورة";
$lang["items_import_items_excel"] = "استيراد من اكسل";
$lang["items_info_provided_by"] = "المعلومات مقدمة بواسطة";
@@ -45,7 +47,7 @@ $lang["items_inventory_comments"] = "تعليقات";
$lang["items_inventory_data_tracking"] = "تتبع بيانات المخزون";
$lang["items_inventory_date"] = "التاريخ";
$lang["items_inventory_employee"] = "الموظف";
$lang["items_inventory_in_out_quantity"] = "+\- كمية";
$lang["items_inventory_in_out_quantity"] = "+- كمية";
$lang["items_inventory_remarks"] = "ملاحظات";
$lang["items_is_deleted"] = "حذفت";
$lang["items_is_serialized"] = "الصنف له رقم مسلسل";
@@ -55,6 +57,7 @@ $lang["items_item_number_duplicate"] = "رقم الصنف موجود فى قاع
$lang["items_kit"] = "مجموعة اصناف";
$lang["items_location"] = "مكان";
$lang["items_low_inventory_items"] = "الأصناف التى لا يوجد لها مخزون";
$lang["items_low_sell_item"] = "الصنف المركب";
$lang["items_manually_editing_of_quantity"] = "تحرير الكمية يدوياً";
$lang["items_name"] = "اسم الصنف";
$lang["items_name_required"] = "اسم الصنف مطلوب.";
@@ -67,6 +70,8 @@ $lang["items_nonstock"] = "غير مخزنة";
$lang["items_number_information"] = "رقم الصنف";
$lang["items_number_required"] = "مطلوب UPC/EAN/ISBN رقم الباركود.";
$lang["items_one_or_multiple"] = "صنف/أصناف";
$lang["items_pack_name"] = "اسم الحزمة";
$lang["items_qty_per_pack"] = "العدد بكل الحزمة";
$lang["items_quantity"] = "الكمية";
$lang["items_quantity_number"] = "الكمية يجب أن تكون رقم.";
$lang["items_quantity_required"] = "الكمية مطلوبة.";
@@ -79,7 +84,7 @@ $lang["items_retrive_item_info"] = "استرجاع بيانات الصنف";
$lang["items_sales_tax_1"] = "ضريبة المبيعات";
$lang["items_sales_tax_2"] = "ضريبة المبيعات 2";
$lang["items_search_attributes"] = "بحث الحقول المخصصة";
$lang["items_search_custom_items"] = "بحث الاصناف المخصصة";
$lang["items_search_custom_items"] = "";
$lang["items_select_image"] = "اختار صورة";
$lang["items_serialized_items"] = "أصناف مسلسلة";
$lang["items_standard"] = "اساسي";
@@ -93,10 +98,12 @@ $lang["items_successful_updating"] = "لقد تم تحديث بيانات صنف
$lang["items_supplier"] = "المورد";
$lang["items_tax_1"] = "الضريبة 1";
$lang["items_tax_2"] = "الضريبة 2";
$lang["items_tax_category"] = "";
$lang["items_tax_percent"] = "نسبة الضريبة";
$lang["items_tax_percent_number"] = "نسبة الضريبة يجب ان تكون رقم";
$lang["items_tax_percent_required"] = "نسبة الضريبة مطلوبة.";
$lang["items_tax_percents"] = "نسبة/نسب الضريبة";
$lang["items_temp"] = "مؤقت";
$lang["items_type"] = "نوع الصنف";
$lang["items_unit_price"] = "السعر";
$lang["items_unit_price_number"] = "السعر يجب أن يكون رقم.";
+4 -4
View File
@@ -1,10 +1,10 @@
<?php
$lang["login_gcaptcha"] = "";
$lang["login_gcaptcha"] = "أنا لست بوت.";
$lang["login_go"] = "البدء";
$lang["login_invalid_gcaptcha"] = "";
$lang["login_invalid_installation"] = "";
$lang["login_invalid_username_and_password"] = "اسم مستخدم/كلمة سر غير صحيح";
$lang["login_invalid_gcaptcha"] = "رمز التحقق غير صحيح.";
$lang["login_invalid_installation"] = "يوجد مشكلة بالتنصيب, الرجاء التحقق من ملف php.ini.";
$lang["login_invalid_username_and_password"] = "اسم مستخدم/كلمة سر غير صحيح.";
$lang["login_login"] = "دخول";
$lang["login_password"] = "كلمة السر";
$lang["login_username"] = "اسم المستخدم";
+1 -1
View File
@@ -5,7 +5,7 @@ $lang["messages_last_name"] = "الأسم الأخير";
$lang["messages_message"] = "الرسالة";
$lang["messages_message_placeholder"] = "رسالتك هنا...";
$lang["messages_message_required"] = "الرسالة مطلوبة";
$lang["messages_multiple_phones"] = " فى حالة إرسال الرسالة لأكثر من شخص قم بفصل الأرقام بعلامة الفاصلة";
$lang["messages_multiple_phones"] = "فى حالة إرسال الرسالة لأكثر من شخص قم بفصل الأرقام بعلامة الفاصلة";
$lang["messages_phone"] = "رقم المحمول";
$lang["messages_phone_number_required"] = "رقم المحمول مطلوب";
$lang["messages_phone_placeholder"] = "رقم/أرقام المحمول هنا...";
@@ -1,6 +1,10 @@
<?php
$lang["module_attributes"] = "ميزات/مميزات";
$lang["module_attributes_desc"] = "إضافة، تعديل، حذف، وبحث بالميزات.";
$lang["module_both"] = "الاثنين";
$lang["module_cashups"] = "الصندوق النقدي";
$lang["module_cashups_desc"] = "إضافة، تعديل، حذف، وبحث بالصندوق النقدي.";
$lang["module_config"] = "إعدادات الشركة";
$lang["module_config_desc"] = "تغيير إعدادات الشركة.";
$lang["module_customers"] = "العملاء";
@@ -35,6 +35,7 @@ $lang["receivings_register"] = "استلام الأصناف";
$lang["receivings_requisition"] = "طلب شراء";
$lang["receivings_return"] = "إرتجاع لمورد";
$lang["receivings_select_supplier"] = "اختار المورد (اختيارى)";
$lang["receivings_ship_pack"] = "حزمة توصيل";
$lang["receivings_start_typing_supplier_name"] = "ابداء بكتابة اسم المورد....";
$lang["receivings_stock"] = "المخزون";
$lang["receivings_stock_destination"] = "المخزون المحول له";
+13 -2
View File
@@ -1,12 +1,14 @@
<?php
$lang["reports_all"] = "الكل";
$lang["reports_authority"] = "";
$lang["reports_canceled"] = "ملغى";
$lang["reports_categories"] = "التصنيفات";
$lang["reports_categories_summary_report"] = "تقرير ملخص التصنيفات";
$lang["reports_category"] = "تصنيف";
$lang["reports_code_canceled"] = "كود العمليات الملغية";
$lang["reports_code_invoice"] = "كود الفواتير الرسمية";
$lang["reports_code_pos"] = "نقطة بيع";
$lang["reports_code_quote"] = "كود عروض الاسعار";
$lang["reports_code_return"] = "كود عمليات المرتجع";
$lang["reports_code_type"] = "النوع";
@@ -30,7 +32,9 @@ $lang["reports_detailed_reports"] = "التقارير التفصيلية";
$lang["reports_detailed_requisition_report"] = "تقرير مفصل لطلبات الشراء";
$lang["reports_detailed_sales_report"] = "تقرير مفصل للمبيعات";
$lang["reports_discount"] = "الخصم";
$lang["reports_discount_fixed"] = "حسم ثابت";
$lang["reports_discount_percent"] = "نسبة الخصم";
$lang["reports_discount_type"] = "نوع الحسم";
$lang["reports_discounts"] = "الخصومات";
$lang["reports_discounts_summary_report"] = "تقرير ملخص الخصومات";
$lang["reports_earned"] = "النقاط المحصلة";
@@ -60,8 +64,10 @@ $lang["reports_items"] = "الأصناف";
$lang["reports_items_purchased"] = "الأصناف مشتراه";
$lang["reports_items_received"] = "الأصناف مستلمة";
$lang["reports_items_summary_report"] = "تقرير ملخص الأصناف";
$lang["reports_jurisdiction"] = "";
$lang["reports_low_inventory"] = "النواقص";
$lang["reports_low_inventory_report"] = "تقرير نواقص المخزون";
$lang["reports_low_sell_quantity"] = "كميات حسب الصنف الاولي";
$lang["reports_more_than_zero"] = "أكثر من صفر";
$lang["reports_name"] = "الاسم";
$lang["reports_no_reports_to_display"] = "لايوجد أصناف لعرضها.";
@@ -96,6 +102,8 @@ $lang["reports_sale_type"] = "طريقة البيع";
$lang["reports_sales"] = "بيع";
$lang["reports_sales_amount"] = "كمية المبيعات";
$lang["reports_sales_summary_report"] = "تقرير ملخص المبيعات";
$lang["reports_sales_taxes"] = "";
$lang["reports_sales_taxes_summary_report"] = "";
$lang["reports_serial_number"] = "مسلسل";
$lang["reports_sold_by"] = "البائع";
$lang["reports_sold_to"] = "مباع الى";
@@ -108,15 +116,18 @@ $lang["reports_supplier"] = "المورد";
$lang["reports_suppliers"] = "الموردين";
$lang["reports_suppliers_summary_report"] = "تقرير ملخص الموردين";
$lang["reports_tax"] = "الضريبة";
$lang["reports_tax_category"] = "";
$lang["reports_tax_percent"] = "نسبة الضريبة";
$lang["reports_tax_rate"] = "";
$lang["reports_taxes"] = "الضرائب";
$lang["reports_taxes_summary_report"] = "تقرير ملخص الضرائب";
$lang["reports_total"] = "الإجمالى";
$lang["reports_total_inventory_value"] = "إجمالى قيمة المخزن";
$lang["reports_total_low_sell_quantity"] = "مجموع الكميات حسب الصنف الاولي";
$lang["reports_total_quantity"] = "الكمية/العدد";
$lang["reports_total_retail"] = "قيمة المبيع";
$lang["reports_type"] = "النوع";
$lang["reports_unit_price"] = "السعر";
$lang["reports_used"] = "النقاط المستخدمة";
$lang["reports_work_orders"] = "طلبات عمل";
$lang["reports_zero_and_less"] = "صفر و أقل";
$lang["reports_total_retail"] = "قيمة المبيع";
$lang["reports_total_quantity"] = "الكمية/العدد";
+16 -2
View File
@@ -3,9 +3,11 @@
$lang["customers_available_points"] = "النقاط المتاحة";
$lang["rewards_package"] = "مكافآت";
$lang["rewards_remaining_balance"] = "رصيد النقاط المتبقي هو ";
$lang["sales_account_number"] = "حساب";
$lang["sales_add_payment"] = "إضافة دفع";
$lang["sales_amount_due"] = "المبلغ المطلوب";
$lang["sales_amount_tendered"] = "المبلغ المدفوع";
$lang["sales_authorized_signature"] = "توقيع معتمد";
$lang["sales_cancel_sale"] = "الغاء عملية البيع";
$lang["sales_cash"] = "نقدى";
$lang["sales_cash_deposit"] = "ايداع نقدي";
@@ -28,6 +30,8 @@ $lang["sales_customer_discount"] = "الخصم";
$lang["sales_customer_email"] = "البريد الإلكترونى";
$lang["sales_customer_location"] = "المكان";
$lang["sales_customer_mailchimp_status"] = "حالة ميل تشيمب";
$lang["sales_customer_optional"] = "(اختياري)";
$lang["sales_customer_required"] = "(اجباري)";
$lang["sales_customer_total"] = "المجموع";
$lang["sales_date"] = "تاريخ البيع";
$lang["sales_date_range"] = "الفترة الزمنية";
@@ -42,7 +46,7 @@ $lang["sales_delete_unsuccessful"] = "لقد فشل حذف عملية البيع
$lang["sales_description_abbrv"] = "الوصف.";
$lang["sales_discard"] = "الغاء";
$lang["sales_discard_quote"] = "";
$lang["sales_discount"] = "خصم %";
$lang["sales_discount"] = "خصم";
$lang["sales_discount_included"] = "% خصم";
$lang["sales_discount_short"] = "%";
$lang["sales_due"] = "مستحق";
@@ -61,6 +65,7 @@ $lang["sales_giftcard_balance"] = "رصيد بطاقة الهدية";
$lang["sales_giftcard_number"] = "رقم بطاقة الهدية";
$lang["sales_group_by_category"] = "تصفية حسب الفئة";
$lang["sales_group_by_type"] = "تجميع حسب النوع";
$lang["sales_hsn"] = "";
$lang["sales_id"] = "كود عملية البيع";
$lang["sales_include_prices"] = "يشمل الاسعار؟";
$lang["sales_invoice"] = "فاتورة";
@@ -71,6 +76,11 @@ $lang["sales_invoice_no_email"] = "هذا العميل ليس لدية بريد
$lang["sales_invoice_number"] = "فاتورة رقم #";
$lang["sales_invoice_number_duplicate"] = "من فضلك أدخل رقم فاتورة غير مكرر.";
$lang["sales_invoice_sent"] = "تم إرسال الفاتورة إلى";
$lang["sales_invoice_total"] = "";
$lang["sales_invoice_type_custom_invoice"] = "";
$lang["sales_invoice_type_custom_tax_invoice"] = "";
$lang["sales_invoice_type_invoice"] = "";
$lang["sales_invoice_type_tax_invoice"] = "";
$lang["sales_invoice_unsent"] = "فشل إرسال الفاتورة إلى";
$lang["sales_invoice_update"] = "إعادة العد";
$lang["sales_item_insufficient_of_stock"] = "لايوجد مخزون كافى من الصنف.";
@@ -82,7 +92,7 @@ $lang["sales_must_enter_numeric"] = "يجب إدخال رقم للمبلغ ال
$lang["sales_must_enter_numeric_giftcard"] = "رقم بطاقة الهدية يجب أن يكون رقم.";
$lang["sales_new_customer"] = "عميل جديد";
$lang["sales_new_item"] = "صنف جديد";
$lang["sales_no_description"] = "لايوجد";
$lang["sales_no_description"] = "بدون وصف";
$lang["sales_no_filter"] = "الكل";
$lang["sales_no_items_in_cart"] = "لايوجد أصناف فى السلة.";
$lang["sales_no_sales_to_display"] = "لاتوجد عمليات بيع لعرضها.";
@@ -106,6 +116,7 @@ $lang["sales_quote_number_duplicate"] = "رقم عرض الاسعار يجب ا
$lang["sales_quote_sent"] = "عرض الاسعار ارسل الى";
$lang["sales_quote_unsent"] = "لم يتم ارسال عرض الاسعار الى";
$lang["sales_receipt"] = "عملية بيع #";
$lang["sales_receipt_no_email"] = "هذا العميل ليس له اي بريد الكتروني صحيح.";
$lang["sales_receipt_number"] = "إيصال بيع";
$lang["sales_receipt_sent"] = "تم إرسال الإيصال إلى";
$lang["sales_receipt_unsent"] = "فشل إرسال الإيصال إلى";
@@ -143,6 +154,8 @@ $lang["sales_suspended_sales"] = "المبيعات المعلقة";
$lang["sales_table"] = "طاولة";
$lang["sales_takings"] = "المبيع اليومي";
$lang["sales_tax"] = "ضريبة";
$lang["sales_tax_id"] = "";
$lang["sales_tax_invoice"] = "";
$lang["sales_tax_percent"] = "ضريبة %";
$lang["sales_total"] = "المجموع";
$lang["sales_total_tax_exclusive"] = "الإجمالى بدون الضرائب";
@@ -155,6 +168,7 @@ $lang["sales_unsuccessfully_updated"] = "فشل تحديث عملية البيع
$lang["sales_unsuspend"] = "إلغاء تعليق";
$lang["sales_unsuspend_and_delete"] = "إلغاء تعليق وحذف";
$lang["sales_update"] = "تحديث";
$lang["sales_upi"] = "";
$lang["sales_work_order"] = "طلب عمل";
$lang["sales_work_order_number"] = "رقم طلب العمل";
$lang["sales_work_order_number_duplicate"] = "رقم طلب العمل يجب ان يكون فريد.";
@@ -3,11 +3,14 @@
$lang["suppliers_account_number"] = "رقم الحساب";
$lang["suppliers_agency_name"] = "اسم الوكالة";
$lang["suppliers_cannot_be_deleted"] = "لايمكن حذف المورد/الموردين لوجود مبيعات مرتبطة بهم.";
$lang["suppliers_category"] = "الفئة";
$lang["suppliers_company_name"] = "اسم الشركة";
$lang["suppliers_company_name_required"] = "اسم الشركة مطلوب.";
$lang["suppliers_confirm_delete"] = "هل تريد حقا حذف هؤلاء الموردين؟";
$lang["suppliers_confirm_restore"] = "هل تريد بالتأكيد استعادة المورد (الموردين) المحددين؟";
$lang["suppliers_cost"] = "مورد كلفة";
$lang["suppliers_error_adding_updating"] = "خطاء فى إضافة/تحديث المورد.";
$lang["suppliers_goods"] = "مورد بضائع";
$lang["suppliers_new"] = "مورد جديد";
$lang["suppliers_none_selected"] = "لم تختار موردين لحذفهم.";
$lang["suppliers_one_or_multiple"] = "مورد/موردين";
@@ -16,4 +19,5 @@ $lang["suppliers_successful_deleted"] = "لقد تم حذف المورد بنج
$lang["suppliers_successful_updating"] = "لقد تم تحديث بيانات المورد بنجاح";
$lang["suppliers_supplier"] = "مورد";
$lang["suppliers_supplier_id"] = "كود المورد";
$lang["suppliers_tax_id"] = "";
$lang["suppliers_update"] = "تحديث بيانات المورد";
+51 -4
View File
@@ -1,23 +1,46 @@
<?php
$lang["taxes_add_exception"] = "أضافة أستثناء";
$lang["taxes_cascade"] = "";
$lang["taxes_cascade_sequence"] = "";
$lang["taxes_city"] = "مدينة";
$lang["taxes_code"] = "الشفرة";
$lang["taxes_confirm_delete"] = "هل أنت متأكد من تغيير الكود الضريبي؟ هذا الأجراء غير قابل للرجوع.";
$lang["taxes_confirm_restore"] = "هل أنت متأكد من أستعادة الأكواد الضريبية؟";
$lang["taxes_default_tax_category"] = "التصنيف الضريبي الأفتراضي";
$lang["taxes_default_tax_rate"] = "معدل الضريبة الافتراضي";
$lang["taxes_error_adding_updating"] = "فشل إضافة أو تغيير الكود الضريبي.";
$lang["taxes_group_seq"] = "تسلسل المجموعة";
$lang["taxes_jurisdiction_name"] = "اسم الولاية القضائية";
$lang["taxes_name"] = "الاسم";
$lang["taxes_new"] = "كود ضريبي جديد";
$lang["taxes_no_taxes_to_display"] = "لا يوجد أكواد ضريبية للعرض.";
$lang["taxes_round_half_down"] = "تقريب Half Down";
$lang["taxes_round_half_even"] = "تقريب Half Even";
$lang["taxes_round_half_odd"] = "تقريب Half Odd";
$lang["taxes_round_half_up"] = "تقريب Half Up";
$lang["taxes_reporting_authority"] = "سلطة التقارير";
$lang["taxes_round_half_down"] = "نصف الاسفل";
$lang["taxes_round_half_even"] = "تقريب للنصف";
$lang["taxes_round_half_odd"] = "تقريب غريب";
$lang["taxes_round_half_up"] = "تقريب للاعلى";
$lang["taxes_rounding_code"] = "كود التقريب";
$lang["taxes_sales_tax"] = "ضريبة المبيعات";
$lang["taxes_sales_tax_by_invoice"] = "ضريبة المبيعات بالفاتورة";
$lang["taxes_sequence"] = "تسلسل";
$lang["taxes_state"] = "حالة";
$lang["taxes_successful_deleted"] = "تم المسح بنجاح";
$lang["taxes_tax_categories"] = "";
$lang["taxes_tax_categories_configuration"] = "";
$lang["taxes_tax_categories_saved_successfully"] = "";
$lang["taxes_tax_categories_saved_unsuccessfully"] = "";
$lang["taxes_tax_category"] = "نوع الضريبة";
$lang["taxes_tax_category_code"] = "";
$lang["taxes_tax_category_duplicate"] = "";
$lang["taxes_tax_category_invalid_chars"] = "";
$lang["taxes_tax_category_name"] = "";
$lang["taxes_tax_category_new"] = "";
$lang["taxes_tax_category_required"] = "";
$lang["taxes_tax_code"] = "كود الضريبة";
$lang["taxes_tax_code_cannot_be_deleted"] = "فشل مسح الكود الضريبي.";
$lang["taxes_tax_code_duplicate"] = "";
$lang["taxes_tax_code_invalid_chars"] = "";
$lang["taxes_tax_code_name"] = "اسم الكود الضريبي";
$lang["taxes_tax_code_required"] = "حقل الكود الضريبي مطلوب.";
$lang["taxes_tax_code_successful_deleted"] = "تم مسح الكود الضريبي";
@@ -25,8 +48,32 @@ $lang["taxes_tax_code_successful_updated"] = "تم التعديل بنجاح";
$lang["taxes_tax_code_successful_updating"] = "تم تعديل الكود الضريبي بنجاح";
$lang["taxes_tax_code_successfully_added"] = "لقد تم إضافة المورد بنجاح";
$lang["taxes_tax_code_type"] = "نوع كود الضريبة";
$lang["taxes_tax_codes"] = "";
$lang["taxes_tax_codes_configuration"] = "";
$lang["taxes_tax_codes_saved_successfully"] = "";
$lang["taxes_tax_codes_saved_unsuccessfully"] = "";
$lang["taxes_tax_excluded"] = "";
$lang["taxes_tax_group"] = "";
$lang["taxes_tax_group_sequence"] = "";
$lang["taxes_tax_included"] = "";
$lang["taxes_tax_jurisdiction"] = "";
$lang["taxes_tax_jurisdiction_duplicate"] = "";
$lang["taxes_tax_jurisdiction_invalid_chars"] = "";
$lang["taxes_tax_jurisdiction_required"] = "";
$lang["taxes_tax_jurisdictions"] = "";
$lang["taxes_tax_jurisdictions_configuration"] = "";
$lang["taxes_tax_jurisdictions_saved_successfully"] = "";
$lang["taxes_tax_jurisdictions_saved_unsuccessfully"] = "";
$lang["taxes_tax_rate"] = "معدل الضريبة الافتراضي %";
$lang["taxes_tax_rate_configuration"] = "";
$lang["taxes_tax_rate_error_adding_updating"] = "";
$lang["taxes_tax_rate_numeric"] = "معدل الضريبة الافتراضي يجب أن يكون رقم.";
$lang["taxes_tax_rate_required"] = "معدل الضريبة الافتراضي مطلوب.";
$lang["taxes_tax_rate_successful_updated"] = "";
$lang["taxes_tax_rate_successfully_added"] = "";
$lang["taxes_tax_rates"] = "";
$lang["taxes_tax_rates_configuration"] = "";
$lang["taxes_tax_rounding"] = "";
$lang["taxes_tax_type"] = "";
$lang["taxes_update"] = "تعديل نوع ضريبة المبيعات";
$lang["taxes_vat_tax"] = "ضريبة القيمة المضافة";
@@ -0,0 +1,28 @@
<?php
$lang["attributes_attribute_value_invalid_chars"] = "Atribut dəyəri bu \\":\\" və ya \\"|\\" olmaz";
$lang["attributes_confirm_delete"] = "Seçilmiş Atributları silmək istədiyinizdən əminsinizmi?";
$lang["attributes_definition_cannot_be_deleted"] = "Seçilmiş xüsusiyyətləri silmək olmadı";
$lang["attributes_definition_flags"] = "Atribut görünüşü";
$lang["attributes_definition_group"] = "Qrup";
$lang["attributes_definition_id"] = "Id";
$lang["attributes_definition_name"] = "Atribut əlavə et";
$lang["attributes_definition_name_required"] = "Atribut adı zəruri bir sahədir";
$lang["attributes_definition_one_or_multiple"] = "atribut (lar)";
$lang["attributes_definition_successful_adding"] = "Malı uğurla əlavə etdiniz";
$lang["attributes_definition_successful_deleted"] = "Siz uğurla sildiniz";
$lang["attributes_definition_successful_updating"] = "Atributunuzu müvəffəqiyyətlə yenilədiniz";
$lang["attributes_definition_type"] = "Atribut Tipi";
$lang["attributes_definition_type_required"] = "Atribut növü tələb olunan sahədir";
$lang["attributes_definition_values"] = "Atribut dəyərləri";
$lang["attributes_new"] = "Yeni atributlar";
$lang["attributes_no_attributes_to_display"] = "Göstərmək üçün heç bir element yoxdur";
$lang["attributes_receipt_visibility"] = "Qəbz";
$lang["attributes_show_in_items"] = "Malları göstər";
$lang["attributes_show_in_items_visibility"] = "Mallar";
$lang["attributes_show_in_receipt"] = "Qəbzi göstərin";
$lang["attributes_show_in_receivings"] = "Alacaqlarda göstərin";
$lang["attributes_show_in_receivings_visibility"] = "Alınanlar";
$lang["attributes_show_in_sales"] = "Satışda göstərin";
$lang["attributes_show_in_sales_visibility"] = "Satışlar";
$lang["attributes_update"] = "Atributları yenilə";
@@ -1,10 +1,10 @@
<?php
$lang["tables_all"] = "";
$lang["tables_columns"] = "";
$lang["tables_hide_show_pagination"] = "";
$lang["tables_loading"] = "";
$lang["tables_page_from_to"] = "";
$lang["tables_refresh"] = "";
$lang["tables_rows_per_page"] = "";
$lang["tables_toggle"] = "";
$lang["tables_all"] = "Hamısı";
$lang["tables_columns"] = "Sütunlar";
$lang["tables_hide_show_pagination"] = "Gizlət/Göstər səhifənin nömrələnməsin";
$lang["tables_loading"] = "Lütfən gözləyin, səhifə yüklənir...";
$lang["tables_page_from_to"] = "Göstər {0} bundan {1} buna {2} kimi";
$lang["tables_refresh"] = "Yenilə";
$lang["tables_rows_per_page"] = "{0} yazı səhifədə";
$lang["tables_toggle"] = "Keçid";
@@ -0,0 +1,38 @@
<?php
$lang["cashups_amount"] = "Məbləğ";
$lang["cashups_amount_number"] = "Məbləğ rəqəmlə olmalıdır";
$lang["cashups_amount_required"] = "Məbləğ zəruri sahədir.";
$lang["cashups_cannot_be_deleted"] = "Pul vahidi silinməsi mümkün deyil";
$lang["cashups_close_date"] = "Bağlanma Tarixi";
$lang["cashups_close_employee"] = "Bağlıdır";
$lang["cashups_closed_amount_card"] = "Kartlar";
$lang["cashups_closed_amount_cash"] = "Kassanın Bağlanması";
$lang["cashups_closed_amount_check"] = "Çeklər";
$lang["cashups_closed_amount_due"] = "Rüsum";
$lang["cashups_closed_amount_total"] = "Cəmi";
$lang["cashups_closed_date"] = "Bağlanma tarixi";
$lang["cashups_confirm_delete"] = "Seçilmiş Pul vahidi silmək istədiyinizə əminsinizmi?";
$lang["cashups_confirm_restore"] = "Seçilmiş Pul vahidi bərpa etmək istədiyinizə əminsinizmi?";
$lang["cashups_date_number"] = "Tarix rəqəmlə olmalıdır";
$lang["cashups_date_required"] = "Tarixi tələb olunan bir sahədir";
$lang["cashups_description"] = "Təsvir";
$lang["cashups_error_adding_updating"] = "XƏTA Pul vahidi Əvavə/yenilənmədə";
$lang["cashups_id"] = "İD";
$lang["cashups_info"] = "Pul vahidi məlumatı";
$lang["cashups_is_deleted"] = "Silindi";
$lang["cashups_new"] = "Yeni Pul vahidi";
$lang["cashups_no_cashups_to_display"] = "Göstərmək üçün heç nağd pul yoxdur";
$lang["cashups_none_selected"] = "Siz pul seçmədiniz";
$lang["cashups_note"] = "Qeydlər";
$lang["cashups_one_or_multiple"] = "Pul Vahidləri";
$lang["cashups_open_amount_cash"] = "Kassanı aç";
$lang["cashups_open_date"] = "Tarixi aç";
$lang["cashups_open_employee"] = "Açıqdır";
$lang["cashups_opened_date"] = "Açılma Tarixi";
$lang["cashups_successful_adding"] = "Pul vahidi əlavə edildi";
$lang["cashups_successful_deleted"] = "Pul vahidi silindi";
$lang["cashups_successful_updating"] = "Pul vahidi yeniləndi";
$lang["cashups_total"] = "Cəmi";
$lang["cashups_transfer_amount_cash"] = "Pul vahidi Giriş/Çıxışları";
$lang["cashups_update"] = "Pul vahidi Yeniləndi";
+19 -17
View File
@@ -1,17 +1,18 @@
<?php
$lang["common_address_1"] = "Ünvan 1 ";
$lang["common_address_1"] = "Ünvan 1";
$lang["common_address_2"] = "Ünvan 2";
$lang["common_city"] = "Şəhər";
$lang["common_close"] = "Bağlı";
$lang["common_comments"] = "Rəylər";
$lang["common_common"] = "ortaq";
$lang["common_confirm_search"] = "Bir və ya bir neçə sətir seçdiniz, bunlar axtarışınızdan sonra artıq seçilməyəcək. Bu axtarışı göndərmək istədiyinizə əminsinizmi?";
$lang["common_correct_errors"] = "Xahiş edirik təsdiqlə-dən əvvəl səhvləri düzəldin";
$lang["common_country"] = "Ölkə";
$lang["common_date"] = "Təqvim";
$lang["common_delete"] = "Sil";
$lang["common_det"] = "detallar";
$lang["common_download_import_template"] = "İdxal Excel Şablonunu Yüklə";
$lang["common_download_import_template"] = "İdxal Excel Şablonunu Yüklə (CSV)";
$lang["common_edit"] = "Redaktə Et";
$lang["common_email"] = "elektron adres";
$lang["common_email_invalid_format"] = "E-poçt ünvanı düzgün formatda deyil.";
@@ -20,49 +21,50 @@ $lang["common_export_excel_no"] = "Xeyir";
$lang["common_export_excel_yes"] = "Bəli";
$lang["common_fields_required_message"] = "Qırmızı sahələr tələb olunur";
$lang["common_first_name"] = "Ad";
$lang["common_first_name_required"] = "Ad yazmağınız tələb olunur";
$lang["common_first_name_required"] = "Ad yazmağınız tələb olunur.";
$lang["common_first_page"] = "Birinci";
$lang["common_gender"] = "Cins";
$lang["common_gender_female"] = "F";
$lang["common_gender_male"] = "M";
$lang["common_id"] = "Kimlik";
$lang["common_import"] = "İmport etmək";
$lang["common_import"] = "İmport";
$lang["common_import_change_file"] = "Dəyiş";
$lang["common_import_excel"] = "Excel Import";
$lang["common_import_full_path"] = "Excel faylına tam yol tələb olunur";
$lang["common_import_remove_file"] = "Sil";
$lang["common_import_select_file"] = "Fayl Seç";
$lang["common_inv"] = "familiya və mütləq məsafə ";
$lang["common_inv"] = "Soyad və mütləq məsafə";
$lang["common_last_name"] = "Soyad";
$lang["common_last_name_required"] = "Soyad tələb olunur";
$lang["common_last_name_required"] = "Soyad tələb olunur.";
$lang["common_last_page"] = "Son";
$lang["common_learn_about_project"] = "Proyekt haqqında ən son məlumatı öyrənmək";
$lang["common_learn_about_project"] = "Proyekt haqqında ən son məlumatı öyrənmək.";
$lang["common_list_of"] = "Siyahısı";
$lang["common_logout"] = "Çıxış";
$lang["common_new"] = "Təzə";
$lang["common_no_persons_to_display"] = "Göstəriləcək insanlar yoxdur";
$lang["common_none_selected_text"] = "Heçnə seçilməyib";
$lang["common_migration_needed"] = "Girişdən sonra bazaya %1 köçməsi başlayacaq.";
$lang["common_new"] = "Yenisi";
$lang["common_no_persons_to_display"] = "Göstərmək üçün heç kim yoxdur.";
$lang["common_none_selected_text"] = "Seçin";
$lang["common_or"] = "Və Ya";
$lang["common_phone_number"] = "Telefon Nömrəsi";
$lang["common_phone_number"] = "Telefon";
$lang["common_phone_number_required"] = "çıxarış ";
$lang["common_please_visit_my"] = "Xahiş edirik ziyarət edin";
$lang["common_powered_by"] = "Tərəfindən Dəstəklənir";
$lang["common_powered_by"] = "Yaradıcı";
$lang["common_price"] = "Qiymət";
$lang["common_print"] = "Çap";
$lang["common_remove"] = "Silmək";
$lang["common_required"] = "Tələb olunan";
$lang["common_required"] = "Vacib";
$lang["common_restore"] = "Bərpa Etmək";
$lang["common_return_policy"] = "Geri qaytarmaq haqqında nizamnamə";
$lang["common_return_policy"] = "Qaytarma siyasəti";
$lang["common_search"] = "Axtarış";
$lang["common_search_options"] = "Axtarış variantları";
$lang["common_searched_for"] = "Axtarıldı";
$lang["common_state"] = "Ştat";
$lang["common_submit"] = "Təqdim";
$lang["common_submit"] = "Təsdiqlə";
$lang["common_total_spent"] = "Cəmi Xərclənmiş";
$lang["common_unknown"] = "Naməlum";
$lang["common_view_recent_sales"] = "Son Satışları Göstər";
$lang["common_website"] = "Web-adres";
$lang["common_website"] = "Veb Sayt";
$lang["common_welcome"] = "Xoş Gəlmisiniz";
$lang["common_welcome_message"] = "OSPOS-a Xoş gəlmisiniz, başlamaq üçün bir modula basın.";
$lang["common_you_are_using_ospos"] = "Open Source Point Of Sale versiyasını istifadə edirsiniz";
$lang["common_you_are_using_ospos"] = "Open Source Point Of Sale versiya";
$lang["common_zip"] = "Poçt Kodu";
+28 -11
View File
@@ -46,16 +46,6 @@ $lang["config_country_codes"] = "Ölkə Kodları";
$lang["config_country_codes_tooltip"] = "Vergüllə ayrılmış ölkə kodları üçün nominantim adres axtarışı.";
$lang["config_currency_decimals"] = "Məzənnə Rəqəmləri";
$lang["config_currency_symbol"] = "Valyuta Simvolu";
$lang["config_custom1"] = "Xüsusi Sahə 1";
$lang["config_custom10"] = "Xüsusi Sahə 10";
$lang["config_custom2"] = "Xüsusi Sahə 2";
$lang["config_custom3"] = "Xüsusi Sahə 3";
$lang["config_custom4"] = "Xususi Sahə 4";
$lang["config_custom5"] = "Hazir. məsafə 5";
$lang["config_custom6"] = "Özəl Sahə 6";
$lang["config_custom7"] = "Xüsusi Sahə 7";
$lang["config_custom8"] = "Xüsusi Sahə 8";
$lang["config_custom9"] = "Xususi Sahə 9";
$lang["config_customer_reward"] = "Mükafat";
$lang["config_customer_reward_duplicate"] = "Mükafat unikal olmalıdir.";
$lang["config_customer_reward_enable"] = "Müştəri mükafatlarını aktivləşdirin";
@@ -77,10 +67,17 @@ $lang["config_default_barcode_page_width_number"] = "Standart Barkod Sahifə gen
$lang["config_default_barcode_page_width_required"] = "Standart Barkod Səhifə Genişliyi olan sahə boş qala bilməz.";
$lang["config_default_barcode_width_number"] = "Standart Barkod Genişliyi rəqəm ilə olmalıdır.";
$lang["config_default_barcode_width_required"] = "Standart Barkod Genişliyi olan sahə boş qala bilməz.";
$lang["config_default_item_columns"] = "Sabit Görünür Malların Sütunları";
$lang["config_default_origin_tax_code"] = "Vergi Kodunun Standart Mənbəyi";
$lang["config_default_sales_discount"] = "Standart Satış Endirimi %";
$lang["config_default_receivings_discount"] = "Alışdan sonra standart endirim";
$lang["config_default_receivings_discount_number"] = "Sabit alacaqlar endirimi bir nömrə olmalıdır.";
$lang["config_default_receivings_discount_required"] = "Standart alış endirimi tələb olunan sahədir.";
$lang["config_default_sales_discount"] = "Standart Satış Endirimi";
$lang["config_default_sales_discount_number"] = "Standart Satış Endirimi rəqəm ilə olmalıdır.";
$lang["config_default_sales_discount_required"] = "Standart Satış Endirimi tələb olunan sahədi.";
$lang["config_default_tax_category"] = "Standart Vergi Bölməsi";
$lang["config_default_tax_code"] = "Standart Vergo kodu";
$lang["config_default_tax_jurisdiction"] = "Standart Vergi Yurisdiksiyası";
$lang["config_default_tax_name_number"] = "Standart Vergi Adı uzun adlı olmalıdır .";
$lang["config_default_tax_name_required"] = "Adi vergi mütləq rəqəmlə olmalıdır.";
$lang["config_default_tax_rate"] = "Adi vergi dərəcəsi %";
@@ -100,12 +97,18 @@ $lang["config_email"] = "Elektron Adres";
$lang["config_email_configuration"] = "Elektron Adres Konfiqurasiyası";
$lang["config_email_mailpath"] = "Email Göndətməyə qısa yol";
$lang["config_email_protocol"] = "Protokol";
$lang["config_email_receipt_check_behaviour"] = "E-poçt qəbzi qutusu";
$lang["config_email_receipt_check_behaviour_always"] = "Həmişə yoxlanılır";
$lang["config_email_receipt_check_behaviour_last"] = "Son seçimi yadda saxla";
$lang["config_email_receipt_check_behaviour_never"] = "Həmişə aktiv deyil";
$lang["config_email_smtp_crypto"] = "SMTP Şifrələmə";
$lang["config_email_smtp_host"] = "SMTP Serveri";
$lang["config_email_smtp_pass"] = "Faks";
$lang["config_email_smtp_port"] = "SMTP Portu";
$lang["config_email_smtp_timeout"] = "STMTP vaxt bitimi (lər)";
$lang["config_email_smtp_user"] = "SMTP İstifadəçi Adı";
$lang["config_enforce_privacy"] = "Məxvilik Təmin edin";
$lang["config_enforce_privacy_tooltip"] = "Müştərilərin gizliliyini qorumaq, silmək halında məlumat şifrələməsini təmin etmək";
$lang["config_fax"] = "Faks";
$lang["config_financial_year"] = "Maliyyə İli Başlancığı";
$lang["config_financial_year_apr"] = "1 Aprel";
@@ -131,14 +134,17 @@ $lang["config_general_configuration"] = "Ümumi Konfiqurasiya";
$lang["config_giftcard_number"] = "Hədiyyə Kartı Nömrəsi";
$lang["config_giftcard_random"] = "Təsadüfən Yarat";
$lang["config_giftcard_series"] = "Bölümlərə görə Yarat";
$lang["config_include_hsn"] = "HSN Kodlarına dəstək verin";
$lang["config_info"] = "Məlumat";
$lang["config_info_configuration"] = "Dükan İnformasiyası";
$lang["config_integrations"] = "";
$lang["config_invoice"] = "Faktura";
$lang["config_invoice_configuration"] = "Faktura Çap Parametrləri";
$lang["config_invoice_default_comments"] = "Standart Faktura Şərhləri";
$lang["config_invoice_email_message"] = "Dil";
$lang["config_invoice_enable"] = "Fakturanı Aktivləşdir";
$lang["config_invoice_printer"] = "Faktura Printeri";
$lang["config_invoice_type"] = "Qaimənin Tipi";
$lang["config_jsprintsetup_required"] = "Xəbərdarlıq: Bu funksiya yalnız FireFox jsPrintSetup addon quraşdırıldığı halda işləyəcəkdir. Yadda saxlanılsın?";
$lang["config_language"] = "Dil";
$lang["config_last_used_invoice_number"] = "Son istifadə edilmiş Faktura nömrəsi";
@@ -175,6 +181,7 @@ $lang["config_msg_src"] = "SMS-API Göndərici ID";
$lang["config_msg_src_required"] = "SMS-API Göndərici ID tələb olunan sahədir";
$lang["config_msg_uid"] = "SMS-API İstifadəçi adı";
$lang["config_msg_uid_required"] = "SMS-API İstifadəçi adı tələb olunan sahədir";
$lang["config_multi_pack_enabled"] = "Hər bir elementə birdən çox paket";
$lang["config_none"] = "Heç biri";
$lang["config_notify_alignment"] = "Bildiriş Pəncərə Mövqeyi";
$lang["config_number_format"] = "Nömrə Formatı";
@@ -188,11 +195,18 @@ $lang["config_phone_required"] = "Şirkət Telefonu tələb olunan bir sahədir.
$lang["config_print_bottom_margin"] = "Çərçivədki aşağı Sərhəd";
$lang["config_print_bottom_margin_number"] = "Aşağıdaki Sərhəd rəqəm ilə olmalıdır.";
$lang["config_print_bottom_margin_required"] = "Aşağıdakı Sərhəd boş qala bilməz.";
$lang["config_print_delay_autoreturn"] = "Gecikmiş satışa Avto qaytarılma";
$lang["config_print_delay_autoreturn_number"] = "Satışı dayandırmaq üçün autoqaytarılma zəruri bir sahədir.";
$lang["config_print_delay_autoreturn_required"] = "Satışı dayandırmaq üçün autoqaytarılma bir sıra olmalıdır.";
$lang["config_print_footer"] = "Brauzer Altlığını Çap Et";
$lang["config_print_header"] = "Brauzer Başlığını çap et";
$lang["config_print_left_margin"] = "Soldaki Künc";
$lang["config_print_left_margin_number"] = "Soldaki Künc rəqəm ilə olmalıdır.";
$lang["config_print_left_margin_required"] = "Soldaki Künc olan sahə boş qala bilməz.";
$lang["config_print_receipt_check_behaviour"] = "Qəbzin çapını təsdiqləyin";
$lang["config_print_receipt_check_behaviour_always"] = "Həmişə yoxlanılır";
$lang["config_print_receipt_check_behaviour_last"] = "Son seçimi yadda saxla";
$lang["config_print_receipt_check_behaviour_never"] = "Həmişə təsdiqləsin";
$lang["config_print_right_margin"] = "Sağdaki Künc";
$lang["config_print_right_margin_number"] = "Sağdakı Künc rəqəm ilə olmalıdır.";
$lang["config_print_right_margin_required"] = "Sağdakı Künc olan sahə boş qala bilməz.";
@@ -201,6 +215,7 @@ $lang["config_print_top_margin"] = "Üstdəki Künc";
$lang["config_print_top_margin_number"] = "Üstdəki Künc rəqəm ilə olmalıdır.";
$lang["config_print_top_margin_required"] = "Üstdəki Sahə Boş qala bilməz.";
$lang["config_quantity_decimals"] = "Ondalıqların Miqdarı";
$lang["config_quote_default_comments"] = "Standart şərhlər";
$lang["config_receipt"] = "Çek";
$lang["config_receipt_configuration"] = "Çek Cap Parametirləri";
$lang["config_receipt_default"] = "Adi";
@@ -249,11 +264,13 @@ $lang["config_tax_category_required"] = "Vergi Kategoriyası tələb olunur.";
$lang["config_tax_category_used"] = "Vergi kateqoriyası istifadə olunduğu üçün silinə bilməz.";
$lang["config_tax_configuration"] = "Vergi Konfiqurasiyası";
$lang["config_tax_decimals"] = "Vaxt";
$lang["config_tax_id"] = "Vergi İD";
$lang["config_tax_included"] = "Vergi Daxildir";
$lang["config_theme"] = "Vebsayt";
$lang["config_thousands_separator"] = "Minliklər Ayıran";
$lang["config_timezone"] = "Vaxt Zonası";
$lang["config_top"] = "Yuxarı";
$lang["config_use_destination_based_tax"] = "Təyinatından vergi istifadə edin";
$lang["config_website"] = "Vebsayt";
$lang["config_work_order_enable"] = "İş Sifariş Dəstəyi";
$lang["config_work_order_format"] = "İş Sifarş Farmatı";
+24 -15
View File
@@ -1,26 +1,30 @@
<?php
$lang["customers_account_number"] = "hesab nömrəsi";
$lang["customers_account_number_duplicate"] = "";
$lang["customers_available_points"] = "";
$lang["customers_average"] = "";
$lang["customers_account_number"] = "hesab nömrəsi";
$lang["customers_account_number_duplicate"] = "";
$lang["customers_available_points"] = "";
$lang["customers_average"] = "";
$lang["customers_account_number_duplicate"] = "Hesab nömrəsi artıq verilənlər bazasında mövcuddur.";
$lang["customers_available_points"] = "Mövcud ballar";
$lang["customers_average"] = "Orta xərclənən";
$lang["customers_avg_discount"] = "Orta endirim";
$lang["customers_basic_information"] = "Məlumat";
$lang["customers_cannot_be_deleted"] = "Seçilmiş müştərilər silinə bilməz, bir və ya birdən çox müştərilərin satışları var";
$lang["customers_cannot_be_deleted"] = "Seçilmiş müştərilər silinə bilməz, bir və ya birdən çox müştərilərin satışları var.";
$lang["customers_company_name"] = "Şirkət";
$lang["customers_confirm_delete"] = "Siz seçilmiş müştərini (lər) silməyə əminsinizmi?";
$lang["customers_confirm_restore"] = "Seçilmiş müştəriləri bərpa etmək istədiyinizə əminsinizmi?";
$lang["customers_consent"] = "Qeydiyyatın razılığı";
$lang["customers_consent_required"] = "Qeydiyyatın razılığı tələb olunan bir sahədir.";
$lang["customers_customer"] = "Müştəri";
$lang["customers_date"] = "Tarix";
$lang["customers_discount"] = "Endirim";
$lang["customers_email_duplicate"] = "Məlumat bazasında artıq elektron poçt adresi var";
$lang["customers_error_adding_updating"] = "Müştəri əlavəsində ya da yenilənməsində səhv";
$lang["customers_discount_fixed"] = "Sabit endirim";
$lang["customers_discount_percent"] = "Faiz dərəcəsi";
$lang["customers_discount_type"] = "Endirim növü";
$lang["customers_email_duplicate"] = "Məlumat bazasında artıq bu e-poçt ünvanı var.";
$lang["customers_employee"] = "Əməkdaş";
$lang["customers_error_adding_updating"] = "Müştəri əlavəsində ya da yenilənməsində XƏTA.";
$lang["customers_excel_import_failed"] = "Excel idxalı alınmadı";
$lang["customers_excel_import_nodata_wrongformat"] = "Yüklənmiş faylda heç bir məlumat yoxdur ya da səhv farmat edilib";
$lang["customers_excel_import_partially_failed"] = "Müştəri əlavəsi bəzi səhvlər olmaqla uğurla alındı";
$lang["customers_excel_import_success"] = "Müştəri Əlavəsi uğurla alındı";
$lang["customers_excel_import_nodata_wrongformat"] = "Yüklənmiş faylda məlumat yoxdur və ya düzgün formatda deyil.";
$lang["customers_excel_import_partially_failed"] = "Müştəri əlavəsi bəzi səhvlər olmaqla uğurla alındı:";
$lang["customers_excel_import_success"] = "Müştəri Əlavəsi uğurla alındı.";
$lang["customers_import_items_excel"] = "Exceldən müştəri əlavə et";
$lang["customers_mailchimp_activity_click"] = "Elektron poçt düyməsi";
$lang["customers_mailchimp_activity_lastopen"] = "Son açılan məktub";
@@ -28,14 +32,14 @@ $lang["customers_mailchimp_activity_open"] = "Açıq məktub";
$lang["customers_mailchimp_activity_total"] = "Məktub göndərildi";
$lang["customers_mailchimp_activity_unopen"] = "Açılmamış məktub";
$lang["customers_mailchimp_email_client"] = "Müştəriyə Məktub Göndər";
$lang["customers_mailchimp_info"] = "Mailchimp";
$lang["customers_mailchimp_info"] = "Mailchimp-də";
$lang["customers_mailchimp_member_rating"] = "Reytinq";
$lang["customers_mailchimp_status"] = "Status";
$lang["customers_mailchimp_vip"] = "siz silmək üçün heç bir müştəri seçməmisiniz";
$lang["customers_max"] = "Ən çox xərclənən";
$lang["customers_min"] = "Ən az xərclənən";
$lang["customers_new"] = "Yeni Müştəri";
$lang["customers_none_selected"] = "Siz silmək üçün müştəri seçməmisiniz";
$lang["customers_none_selected"] = "Siz silmək üçün müştəri seçməmisiniz.";
$lang["customers_one_or_multiple"] = "müştəri (lər)";
$lang["customers_quantity"] = "Miqdarı";
$lang["customers_stats_info"] = "Statistikalar";
@@ -43,3 +47,8 @@ $lang["customers_successful_adding"] = "Siz uğurla müştəri əlavə etdiniz";
$lang["customers_successful_deleted"] = "Siz uğurla sildiniz";
$lang["customers_successful_updating"] = "Siz uğurla müştərini sildiniz";
$lang["customers_tax_code"] = "Vergi Kodu";
$lang["customers_tax_id"] = "Vergi İD";
$lang["customers_taxable"] = "Vergi ödəyirlər";
$lang["customers_total"] = "Toplam xərcləndi";
$lang["customers_update"] = "Müştərini yeniləyin";
$lang["rewards_package"] = "Mükafatlar Paketi";
+22 -22
View File
@@ -1,22 +1,22 @@
<?php
$lang["datepicker_all_time"] = "";
$lang["datepicker_apply"] = "";
$lang["datepicker_cancel"] = "";
$lang["datepicker_custom"] = "";
$lang["datepicker_from"] = "";
$lang["datepicker_last_30"] = "";
$lang["datepicker_last_7"] = "";
$lang["datepicker_last_financial_year"] = "Last Financial Year";
$lang["datepicker_last_month"] = "ast Month";
$lang["datepicker_last_year"] = "";
$lang["datepicker_same_month_last_year"] = "";
$lang["datepicker_same_month_to_same_day_last_year"] = "";
$lang["datepicker_this_financial_year"] = "This Financial Year";
$lang["datepicker_this_month"] = "This Month";
$lang["datepicker_this_year"] = "This Year";
$lang["datepicker_to"] = "";
$lang["datepicker_today"] = "";
$lang["datepicker_today_last_year"] = "";
$lang["datepicker_weekstart"] = "";
$lang["datepicker_yesterday"] = "";
<?php
$lang["datepicker_all_time"] = "Bütün vaxta";
$lang["datepicker_apply"] = "Uygula";
$lang["datepicker_cancel"] = "İmtina";
$lang["datepicker_custom"] = "Fərqli";
$lang["datepicker_from"] = "Bundan";
$lang["datepicker_last_30"] = "Son 30 gün";
$lang["datepicker_last_7"] = "Son 7 Gün";
$lang["datepicker_last_financial_year"] = "Son Maliyyə ili";
$lang["datepicker_last_month"] = "Ötən ay";
$lang["datepicker_last_year"] = "Ötən il";
$lang["datepicker_same_month_last_year"] = "Ötən il eyni ay";
$lang["datepicker_same_month_to_same_day_last_year"] = "Ötən ilin eyni ayindan";
$lang["datepicker_this_financial_year"] = "Cari maliyyə ili";
$lang["datepicker_this_month"] = "Bu ay";
$lang["datepicker_this_month_last_year"] = "";
$lang["datepicker_this_year"] = "Bu il";
$lang["datepicker_to"] = "Buna";
$lang["datepicker_today"] = "Bugün";
$lang["datepicker_today_last_year"] = "Keçən il bu gün";
$lang["datepicker_weekstart"] = "0";
$lang["datepicker_yesterday"] = "Dünən";
@@ -1,12 +1,12 @@
<?php
$lang["employees_basic_information"] = "Məlumat";
$lang["employees_cannot_be_deleted"] = "Seçilmiş əməkdaş (lar) silinə bilməz, bir və ya birdən çox əməkdaş satışlar edib, əks halda siz öz heasabınızı silməyə çalışırsiz";
$lang["employees_cannot_be_deleted"] = "Seçilmiş əməkdaş (lar) silinə bilməz, bir və ya birdən çox əməkdaş satışlar edib, əks halda siz öz heasabınızı silməyə çalışırsiz.";
$lang["employees_change_password"] = "Şifrəni Dəyiş";
$lang["employees_confirm_delete"] = "Siz əminsiniz ki seçilmiş əməkdaşları silmək istəyirsiniz?";
$lang["employees_confirm_restore"] = "Seçilmiş əməkdaşı (lar) yenidən bərpa etməyinizə əminsinizmi?";
$lang["employees_current_password"] = "İndiki Şifrə";
$lang["employees_current_password_invalid"] = "Hazirki Şifrə düzgün deyil";
$lang["employees_current_password_invalid"] = "Hazirki Şifrə düzgün deyil.";
$lang["employees_employee"] = "Əməkdaş";
$lang["employees_error_adding_updating"] = "Əməkdaş əlavə etməsk və ya yeniləməsi baş vermədi.";
$lang["employees_error_deleting_demo_admin"] = "Demo administrator istifadəçisini silə bilməzsiniz.";
@@ -20,13 +20,13 @@ $lang["employees_password"] = "Şifrə";
$lang["employees_password_minlength"] = "Şifrə ən azı 8 simvol olmalıdır.";
$lang["employees_password_must_match"] = "Şifrələr uyğun gəlmir.";
$lang["employees_password_not_must_match"] = "Hazırki şifrə və yeni şifrə unikal olmalıdır.";
$lang["employees_password_required"] = "Şifrə tələb olunur";
$lang["employees_password_required"] = "Şifrə tələb olunur.";
$lang["employees_permission_desc"] = "Modullara giriş imkanı vermək üçün aşağıdakı qutuları yoxlayın.";
$lang["employees_permission_info"] = "İcazələr";
$lang["employees_repeat_password"] = "Şifrəni yenidən təkrar edin";
$lang["employees_subpermission_required"] = "Hər bir modul üçün ən azı bir qrant əlavə edin.";
$lang["employees_successful_adding"] = "Əməkdaş müvəffəqiyyətə əlavə olundu";
$lang["employees_successful_change_password"] = "Şifrə müvəffəqiyyətlə dəyişildi";
$lang["employees_successful_adding"] = "Əməkdaş müvəffəqiyyətə əlavə olundu.";
$lang["employees_successful_change_password"] = "Şifrə müvəffəqiyyətlə dəyişildi.";
$lang["employees_successful_deleted"] = "Siz uğurla sildiniz";
$lang["employees_successful_updating"] = "Siz uğurla əməkdaşı yenilədiniz";
$lang["employees_system_language"] = "Sistem Dili";
@@ -34,4 +34,4 @@ $lang["employees_unsuccessful_change_password"] = "Şifrə dəyişməsi uğursuz
$lang["employees_update"] = "İşçini yeniləyin";
$lang["employees_username"] = "İstifadəçi Adı";
$lang["employees_username_minlength"] = "İstifadəçi adı ən azı 5 simvol olmalıdır.";
$lang["employees_username_required"] = "İstifadəçi adı tələb olunan sahədir";
$lang["employees_username_required"] = "İstifadəçi adı tələb olunan sahədir.";
+7 -7
View File
@@ -1,9 +1,9 @@
<?php
$lang["enum_half_down"] = "Half Down";
$lang["enum_half_even"] = "Half Even";
$lang["enum_half_five"] = "Half Five";
$lang["enum_half_odd"] = "Half Odd";
$lang["enum_half_up"] = "Half Up";
$lang["enum_round_down"] = "Round Down";
$lang["enum_round_up"] = "Round Up";
$lang["enum_half_down"] = "Yarım aşağı";
$lang["enum_half_even"] = "Yarım hətta";
$lang["enum_half_five"] = "Yarısı";
$lang["enum_half_odd"] = "Yarım təkliklərdə";
$lang["enum_half_up"] = "Yarım yuxarı";
$lang["enum_round_down"] = "Yuvarla aşağı";
$lang["enum_round_up"] = "Yuvarla yuxarı";
@@ -5,6 +5,7 @@ $lang["expenses_categories_add_item"] = "Kategoriya əlavə et";
$lang["expenses_categories_cannot_be_deleted"] = "Kategoriya Xərcləri silinmədi";
$lang["expenses_categories_category_id"] = "Kimlik";
$lang["expenses_categories_confirm_delete"] = "Seçilmiş xərc kateqoriyasını silmək istədiyinizə əminsinizmi?";
$lang["expenses_categories_confirm_restore"] = "Seçilmiş xərc bölməsini bərpa etmək istədiyinizə əminsiniz?";
$lang["expenses_categories_description"] = "Kateqoriya təsviri";
$lang["expenses_categories_error_adding_updating"] = "Əlavədə Səhv/Xərcl Kategotiyasi yenilənir";
$lang["expenses_categories_info"] = "Xərc Kategoriyası Məlumatı";
+2 -1
View File
@@ -17,7 +17,7 @@ $lang["expenses_confirm_restore"] = "Seçilmiş xərci (lər) bərpa etmək ist
$lang["expenses_credit"] = "Kredit Kartı";
$lang["expenses_credit_filter"] = "Kredit Kartı";
$lang["expenses_date"] = "Tarix";
$lang["expenses_date_number"] = "Tarix rəqəm ilə olmalıdır.";
$lang["expenses_date_number"] = "Tarix rəqəm ilə olmalıdır";
$lang["expenses_date_required"] = "Tarix qeyd edilməlidir";
$lang["expenses_debit"] = "Debit Kartı";
$lang["expenses_debit_filter"] = "Debit Kard";
@@ -36,6 +36,7 @@ $lang["expenses_no_expenses_to_display"] = "Heç bir Xərclər göstərilmir";
$lang["expenses_none_selected"] = "Siz heç bir xərc seçməmisiniz";
$lang["expenses_one_or_multiple"] = "Xərc (lər)";
$lang["expenses_payment"] = "Ödəmə Növü";
$lang["expenses_start_typing_supplier_name"] = "Təchizatçıın adını yazmağa başlayın ...";
$lang["expenses_successful_adding"] = "Xərc uğurla əlavə edildi";
$lang["expenses_successful_deleted"] = "Xərc uğurla silindi";
$lang["expenses_successful_updating"] = "Xərc Uğurla Yeniləndi";
+11 -11
View File
@@ -5,11 +5,11 @@ $lang["giftcards_allow_alt_description"] = "Alternativ Təsvirə Icazə Verin";
$lang["giftcards_bulk_edit"] = "Kütləvi Redaktə";
$lang["giftcards_cannot_be_deleted"] = "Seçilmiş Hədiyyə Kartlarını silmək mümkün deyil, seçilmiş Hədiyyə Kartlarının bir və ya bir neçəsi satışa sahibdir.";
$lang["giftcards_cannot_find_giftcard"] = "Hədiyyə kartı tapılmadı.";
$lang["giftcards_cannot_use"] = "Bu satış üçün 1% Hədiyyə kartı istifadə edilə bilməz: Müştəri Etibarsızdır";
$lang["giftcards_cannot_use"] = "Bu satış üçün %1 Hədiyyə kartı istifadə edilə bilməz: Müştəri Etibarsızdır.";
$lang["giftcards_card_value"] = "Dəyəri";
$lang["giftcards_category"] = "Kategoriya";
$lang["giftcards_change_all_to_allow_alt_desc"] = "Hamısı üçün Alternativ təsvirə icazə ver";
$lang["giftcards_change_all_to_not_allow_allow_desc"] = "Hamısı üçün alternativ təsvirə icazə vermə";
$lang["giftcards_change_all_to_allow_alt_desc"] = "Hamısı üçün Alternativ təsvirə icazə ver.";
$lang["giftcards_change_all_to_not_allow_allow_desc"] = "Hamısı üçün alternativ təsvirə icazə vermə.";
$lang["giftcards_change_all_to_serialized"] = "Tamamını Serialara Görə Dəyiş";
$lang["giftcards_change_all_to_unserialized"] = "Hamısını qeyri seriyalara görə dəyiş";
$lang["giftcards_confirm_bulk_edit"] = "Seçilmiş Hədiyyə Kartlarını redaktə etmək istədiyinizə əminsinizmi?";
@@ -22,10 +22,10 @@ $lang["giftcards_description"] = "Təsvir";
$lang["giftcards_details_count"] = "İnventarlaşdırma Sayının Detalları";
$lang["giftcards_do_nothing"] = "Heç nə etmə";
$lang["giftcards_edit_fields_you_want_to_update"] = "Seçilmiş Hədiyyə Kartları üçün istədiyiniz sahələri redaktə edin.";
$lang["giftcards_edit_multiple_giftcards"] = "Birdən çox Hədiyyə Kartını redaktə et";
$lang["giftcards_error_adding_updating"] = "Hədiyyə Kartı əlavəsində və yenilənməsində səhv var";
$lang["giftcards_edit_multiple_giftcards"] = "Birneçə Hədiyyə Kartını redaktə et.";
$lang["giftcards_error_adding_updating"] = "Hədiyyə Kartı əlavə və ya yenilənməsində XƏTA.";
$lang["giftcards_error_updating_multiple"] = "Hədiyyə kartlarının yeniləməsi uğursuz oldu.";
$lang["giftcards_excel_import_failed"] = "Excel idxalı uğursuz oldu";
$lang["giftcards_excel_import_failed"] = "Excel idxalı uğursuz oldu.";
$lang["giftcards_generate_barcodes"] = "Barkodlar Yarat";
$lang["giftcards_giftcard"] = "Hədiyyə Kartı";
$lang["giftcards_giftcard_number"] = "Hədiyyə Kartı Nömrəsi";
@@ -36,11 +36,11 @@ $lang["giftcards_low_inventory_giftcards"] = "Aşağı İnvertizasiyalı Hədiyy
$lang["giftcards_manually_editing_of_quantity"] = "Sayı əl ilə redaktə edilməsi";
$lang["giftcards_must_select_giftcard_for_barcode"] = "Barkod yaratmaq üçün ən az bir 1 Hədiyyə Kartı seçməlisiniz.";
$lang["giftcards_new"] = "Yeni Hədiyyə Kartı";
$lang["giftcards_no_description_giftcards"] = "Hədiyyə Kartının heç bir təsviri yoxdur.";
$lang["giftcards_no_giftcards_to_display"] = "Heç bir Hədiyyə Kartı göstərilmir";
$lang["giftcards_no_description_giftcards"] = "Hədiyyə Kartının heç bir təsviri yoxdur";
$lang["giftcards_no_giftcards_to_display"] = "Heç bir Hədiyyə Kartı göstərilmir.";
$lang["giftcards_none"] = "Heç Biri";
$lang["giftcards_none_selected"] = "Redaktə etmək üçün Hədiyyə Kartları yoxdu.";
$lang["giftcards_number"] = "Hədiyyə Kartı Nömrəsi rəqəm ilə olmalıdır";
$lang["giftcards_number"] = "Hədiyyə Kartı Nömrəsi rəqəm ilə olmalıdır.";
$lang["giftcards_number_information"] = "Hədiyyə Karti Nömrəsi";
$lang["giftcards_number_required"] = "Hədiyyə kartı nömrəsi tələb olunan sahədir.";
$lang["giftcards_one_or_multiple"] = "Hədiyyə Kartı (lar)";
@@ -53,7 +53,7 @@ $lang["giftcards_retrive_giftcard_info"] = "siz uğurla hədiyyə kartı əlavə
$lang["giftcards_sales_tax_1"] = "Satış Vergisi";
$lang["giftcards_sales_tax_2"] = "Satış Vergisi 2";
$lang["giftcards_serialized_giftcards"] = "Serialara görə Hədiyyə Kartları";
$lang["giftcards_successful_adding"] = "Siz uğurla Hədiyyə Kartını əlavə etdiniz.";
$lang["giftcards_successful_adding"] = "Siz uğurla Hədiyyə Kartını əlavə etdiniz";
$lang["giftcards_successful_bulk_edit"] = "Seçdiyiniz Gift Card (lar) ı uğurla yenilədiniz";
$lang["giftcards_successful_deleted"] = "Siz Uğurla Sildiniz";
$lang["giftcards_successful_updating"] = "Hədiyyə Kartını müvəffəqiyyətlə yenilədiniz";
@@ -66,5 +66,5 @@ $lang["giftcards_unit_price"] = "Pərakəndə Dəyəri";
$lang["giftcards_upc_database"] = "Barkod Məlumat Bazası";
$lang["giftcards_update"] = "Hədiyyə kartını Yeniləyin";
$lang["giftcards_use_inventory_menu"] = "İnventarlaşdırma menyusundan istifadə edin";
$lang["giftcards_value"] = "Hədiyyə Kartı Dəyəri rəqəm ilə olmalıdır";
$lang["giftcards_value"] = "Hədiyyə Kartı Dəyəri rəqəm ilə olmalıdır.";
$lang["giftcards_value_required"] = "Hədiyyə kartı dəyəri zəruri bir sahədir.";
@@ -6,7 +6,10 @@ $lang["item_kits_cannot_be_deleted"] = "Dəst Mal (lar) silinə bilməz.";
$lang["item_kits_confirm_delete"] = "Siz əminsiniz ki seçilmiş mallar dəstlərini silmək istəyirsiniz?";
$lang["item_kits_confirm_restore"] = "Seçilən Mal dəstini (lər) bərpa etmək istədiyinizə əminsiniz?";
$lang["item_kits_description"] = "Mal Dəstinin Təsviri";
$lang["item_kits_discount"] = "Endirim";
$lang["item_kits_discount_fixed"] = "Sabit Endirim";
$lang["item_kits_discount_percent"] = "Endirim Faizi";
$lang["item_kits_discount_type"] = "Endirim növü";
$lang["item_kits_error_adding_updating"] = "Malı yeniləməkdə və ya əlavə etməkdə səhv var.";
$lang["item_kits_find_kit_item"] = "Mal Dəsti";
$lang["item_kits_info"] = "Mal Dəsti haqqında informasiya";
+32 -25
View File
@@ -1,45 +1,47 @@
<?php
$lang["items_add_minus"] = "inventor toplama və çixma üçün";
$lang["items_add_minus"] = "İnventar + Topla və ya - Çıx.";
$lang["items_allow_alt_desciption"] = "";
$lang["items_allow_alt_description"] = "Alternativ təsvirə icazə verin";
$lang["items_amount_entry"] = "Məbləğ Əlavəsi";
$lang["items_bulk_edit"] = "Kütləvi Redaktə";
$lang["items_buy_price_required"] = "Satınalma qiyməti olan sahə boş qala bilməz";
$lang["items_buy_price_required"] = "Alış qiyməti tələb olunan sahədir.";
$lang["items_cannot_be_deleted"] = "Seçilmiş Mal (lar) silmək mükün deyil, bir və ya birdən çox Mallarda Satışlar var.";
$lang["items_cannot_find_item"] = "Mal Tapılmadı";
$lang["items_cannot_find_item"] = "Mal Tapılmadı.";
$lang["items_category"] = "kateqoriya";
$lang["items_category_required"] = "Kategoriya olan sahə boş qala bilməz";
$lang["items_change_all_to_allow_alt_desc"] = "Hamısı üçün Alternativ Təsvirə İcazə Verin";
$lang["items_change_all_to_not_allow_allow_desc"] = "Hamısı üçün Alternativ Təsvirə İcazə Verməyin";
$lang["items_category_required"] = "Bölmə sahəsi boş qala bilməz.";
$lang["items_change_all_to_allow_alt_desc"] = "Hamısı üçün Alternativ Təsvirə İcazə Verin.";
$lang["items_change_all_to_not_allow_allow_desc"] = "Hamısı üçün Alternativ Təsvirə İcazə Verməyin.";
$lang["items_change_all_to_serialized"] = "Hamısını Seriyalaşdırılmışa görə dəyişin";
$lang["items_change_all_to_unserialized"] = "Qeyri Seriyalara görə dəyiş";
$lang["items_change_image"] = "Şəkili Dəyiş";
$lang["items_confirm_bulk_edit"] = "Siz əminsinizmi ki işarələnmiş butun malları redaktə etmək istəyirsiniz?";
$lang["items_confirm_bulk_edit_wipe_taxes"] = "Bütün Vergi haqqında olan Məlumatların yerləri dəyişəcək";
$lang["items_confirm_bulk_edit_wipe_taxes"] = "Bütün Vergi haqqında olan Məlumatların yerləri dəyişəcək.";
$lang["items_confirm_delete"] = "siz əminsiniz ki seçilmiş malları silmək istəyirsiniz?";
$lang["items_confirm_restore"] = "Seçilmiş element (lər) bərpa etmək istədiyinizə əminsinizmi?";
$lang["items_cost_price"] = "topdan satış qiyməti";
$lang["items_cost_price_number"] = "topdan satış rəqəmlə olmalıdır";
$lang["items_cost_price_required"] = "topdan satiış və mütləq məsafə";
$lang["items_cost_price_number"] = "Topdan satış rəqəmlə olmalıdır.";
$lang["items_cost_price_required"] = "Topdan satiış - yazılması vacib sahə.";
$lang["items_count"] = "inventorun yenilənməsi";
$lang["items_current_quantity"] = "indiki say";
$lang["items_default_pack_name"] = "Hər biri";
$lang["items_description"] = "təsvir";
$lang["items_details_count"] = "detallı inventor sayı";
$lang["items_do_nothing"] = "heç nə etməmək";
$lang["items_edit_fields_you_want_to_update"] = "siz butun seçillən malları dəyişmək istəyirsiniz";
$lang["items_edit_fields_you_want_to_update"] = "Seçilmiş məhsullar üçün tələb olunan sahələri redaktə edin.";
$lang["items_edit_multiple_items"] = "bir neçə malın redaktəsi";
$lang["items_empty_upc_items"] = "Boş Barkod Malları";
$lang["items_error_adding_updating"] = "mal əlavə etməkdə və ya yeniləməkdə səhv var";
$lang["items_error_updating_multiple"] = "malların yenilənməsində səhv var";
$lang["items_excel_import_failed"] = "səhv excel import";
$lang["items_excel_import_nodata_wrongformat"] = "Yüklənmiş faylda məlumat yoxdur və ya düzgün formatlanmır.";
$lang["items_excel_import_partially_failed"] = "Çox sayda Mallar Uğurla İdxal Edildi, Bəziləri edilə bilmədi";
$lang["items_excel_import_success"] = "Malların İdxalı Uğurla Həyata Keçdi";
$lang["items_excel_import_partially_failed"] = "Bəzi uğursuzluqlarla idxal idarəsi müvəffəq olub:";
$lang["items_excel_import_success"] = "Malların İdxalı Uğurla Həyata Keçdi.";
$lang["items_generate_barcodes"] = "şifrə yarat";
$lang["items_hsn_code"] = "Harmonize Sistem Nomenklaturası";
$lang["items_image"] = "Avatar";
$lang["items_import_items_excel"] = "Exceldən Malları İdxal Et";
$lang["items_info_provided_by"] = "məlumat təqdim olundu ";
$lang["items_info_provided_by"] = "Məlumat təqdim olundu";
$lang["items_inventory"] = "inventor";
$lang["items_inventory_comments"] = "komentariyalar";
$lang["items_inventory_data_tracking"] = "İnventarlaşdırma Üçün Məlumat İzləmə";
@@ -51,35 +53,38 @@ $lang["items_is_deleted"] = "Silindi";
$lang["items_is_serialized"] = "Malın Seriya Nömrəsi var";
$lang["items_item"] = "Mal";
$lang["items_item_number"] = "Barkod";
$lang["items_item_number_duplicate"] = "Malın Nömrəsi artiq Məlumat bazasında var";
$lang["items_item_number_duplicate"] = "Malın Nömrəsi artiq Məlumat bazasında var.";
$lang["items_kit"] = "Dəst";
$lang["items_location"] = "Yer";
$lang["items_low_inventory_items"] = "Bitmış Mallar";
$lang["items_low_sell_item"] = "Malların aşağı qiy. satışı";
$lang["items_manually_editing_of_quantity"] = "Sayı Əl ilə Redeaktə Etmək";
$lang["items_name"] = "Malın Adı";
$lang["items_name_required"] = "Malın adı olan sahə boş qala bilməz";
$lang["items_name_required"] = "Malın adı olan sahə boş qala bilməz.";
$lang["items_new"] = "Yeni Mal";
$lang["items_no_description_items"] = "Mallar haqqında Təsvir Yoxdur";
$lang["items_no_items_to_display"] = "Mallar Göstərilmir";
$lang["items_no_items_to_display"] = "Mallar Göstərilmir.";
$lang["items_none"] = "Heçnə";
$lang["items_none_selected"] = "Siz redaktə etmək üçün hər hansı bir mal seçməmisiniz";
$lang["items_nonstock"] = "Əldə Olmayan";
$lang["items_number_information"] = "Malın Nömrəsi";
$lang["items_number_required"] = "Barkod olan sahə boş qala bilməz";
$lang["items_number_required"] = "Barkod sahəsi boş qala bilməz.";
$lang["items_one_or_multiple"] = "Mal (lar)";
$lang["items_pack_name"] = "Paket Adı";
$lang["items_qty_per_pack"] = "Paketin miqdarı";
$lang["items_quantity"] = "Sayı";
$lang["items_quantity_number"] = "Miqdarı mütləq rəqəmlə olmalıdır";
$lang["items_quantity_required"] = "Miqdar olan sahə boş qala bilməz";
$lang["items_quantity_number"] = "Miqdarı mütləq rəqəmlə olmalıdır.";
$lang["items_quantity_required"] = "Miqyas tələb olunan sahədir.";
$lang["items_receiving_quantity"] = "Qəbul Olunan Miqdar";
$lang["items_remove_image"] = "Şəkili Sil";
$lang["items_reorder_level"] = "Səviyyani yenidən düzəlt";
$lang["items_reorder_level_number"] = "Səviyyəni Düzəltmək rəqəm ilə olmalıdır";
$lang["items_reorder_level_required"] = "Səviyyəni düzəlt sahəsi boş qalmamalıdır";
$lang["items_reorder_level_number"] = "Yenidən sıralama səviyyəsi rəqəmlə olmalıdır.";
$lang["items_reorder_level_required"] = "Düzəliş Səviyyəsi zəruri bir sahədir.";
$lang["items_retrive_item_info"] = "Mal Haqqında Məlumat";
$lang["items_sales_tax_1"] = "Satış Vergisi";
$lang["items_sales_tax_2"] = "Satış Vergisi 2";
$lang["items_search_attributes"] = "Atributları Axtar";
$lang["items_search_custom_items"] = "Xüsusi Mallar Axtar";
$lang["items_search_custom_items"] = "";
$lang["items_select_image"] = "Şəkil Seç";
$lang["items_serialized_items"] = "Seriyalı Mallar";
$lang["items_standard"] = "Standart";
@@ -93,14 +98,16 @@ $lang["items_successful_updating"] = "Siz uğurla malı yenilədiniz";
$lang["items_supplier"] = "Təchizatcı";
$lang["items_tax_1"] = "Vergi 1";
$lang["items_tax_2"] = "Vergi 2";
$lang["items_tax_category"] = "Vergi Bolməsi";
$lang["items_tax_percent"] = "Vergi Faizi";
$lang["items_tax_percent_number"] = "Vergi Faizi rəqəmli dəyər vahidi olmalıdir";
$lang["items_tax_percent_required"] = "Vergi Faizi olan sahə boş qala bilməz";
$lang["items_tax_percent_required"] = "Vergi Faizi tələb olunan sahədir.";
$lang["items_tax_percents"] = "Vergi Faiz(lər) i";
$lang["items_temp"] = "Müvəqqəti";
$lang["items_type"] = "Malın Növü";
$lang["items_unit_price"] = "Pərakəndə Satış";
$lang["items_unit_price_number"] = "Ədədin qiyməti rəqəm ilə olmalıdır";
$lang["items_unit_price_required"] = "Pərakəndə mal olan yer boş qala bilməz";
$lang["items_unit_price_number"] = "Vahid qiyməti rəqəmlə olmalıdır.";
$lang["items_unit_price_required"] = "Pərakəndə qiymət - vacib sahədir.";
$lang["items_upc_database"] = "Barkod Məlumat Bazası";
$lang["items_update"] = "Malı Yenilə";
$lang["items_use_inventory_menu"] = "İnvertizasiya Menyusundan İstifadə Et";
+4 -4
View File
@@ -1,10 +1,10 @@
<?php
$lang["login_gcaptcha"] = "";
$lang["login_gcaptcha"] = "Mən robot deyiləm.";
$lang["login_go"] = "daxil ol";
$lang["login_invalid_gcaptcha"] = "";
$lang["login_invalid_installation"] = "";
$lang["login_invalid_username_and_password"] = "ad və ya şifrə səhvdir";
$lang["login_invalid_gcaptcha"] = "Yanlış, Mən robot deyiləm.";
$lang["login_invalid_installation"] = "Quraşdırma düzgün deyil, php.ini faylını yoxlayın.";
$lang["login_invalid_username_and_password"] = "Ad və ya şifrə səhvdir.";
$lang["login_login"] = "Giriş";
$lang["login_password"] = "Şifrə";
$lang["login_username"] = "İstifadəçi";
+12 -12
View File
@@ -1,14 +1,14 @@
<?php
$lang["messages_first_name"] = "";
$lang["messages_last_name"] = "";
$lang["messages_message"] = "";
$lang["messages_message_placeholder"] = "";
$lang["messages_message_required"] = "";
$lang["messages_multiple_phones"] = "";
$lang["messages_phone"] = "";
$lang["messages_phone_number_required"] = "";
$lang["messages_phone_placeholder"] = "";
$lang["messages_sms_send"] = "";
$lang["messages_successfully_sent"] = "";
$lang["messages_unsuccessfully_sent"] = "";
$lang["messages_first_name"] = "Adı";
$lang["messages_last_name"] = "Soyadı";
$lang["messages_message"] = "Mesaj";
$lang["messages_message_placeholder"] = "Mesajınız burada...";
$lang["messages_message_required"] = "Mesaj tələb olunur";
$lang["messages_multiple_phones"] = "(Birdən çox alıcı halında, vergüllə ayrılan mobil nömrələri daxil edin)";
$lang["messages_phone"] = "Telefon";
$lang["messages_phone_number_required"] = "Telefon nömrəsi tələb olunur";
$lang["messages_phone_placeholder"] = "Mobil Nömrə(lər) burada...";
$lang["messages_sms_send"] = "SMS Göndər";
$lang["messages_successfully_sent"] = "Mesaj uğurla göndərildi: ";
$lang["messages_unsuccessfully_sent"] = "Mesaj uğursuz olaraq göndərildi: ";
+26 -14
View File
@@ -1,29 +1,41 @@
<?php
$lang["module_attributes"] = "Atributlar";
$lang["module_attributes_desc"] = "Atributları əlavə et, yenilə, sil və ya axtar.";
$lang["module_both"] = "Hər ikizi";
$lang["module_cashups"] = "Qazanclar";
$lang["module_cashups_desc"] = "Əlavə et, Yenilə, Sil və Qazancları axtar.";
$lang["module_config"] = "Konfiqursiya";
$lang["module_config_desc"] = "OSPOS's Konfiqurasiyasını dəyiş";
$lang["module_config_desc"] = "OSPOS Konfiqurasiyasını dəyiş.";
$lang["module_customers"] = "Müştərilər";
$lang["module_customers_desc"] = "Əlavə et,Yenilə,Sil və Müştəriləri axtar";
$lang["module_customers_desc"] = "Əlavə et,Yenilə,Sil və Müştəriləri axtar.";
$lang["module_employees"] = "Əməkdaşlar";
$lang["module_employees_desc"] = "Əlavə et,Yenilə,Sil və Əməkdaşları axtar";
$lang["module_employees_desc"] = "Əlavə et,Yenilə,Sil və Əməkdaşları axtar.";
$lang["module_expenses"] = "Xərclər";
$lang["module_expenses_categories"] = "Xərclər Bölməsi";
$lang["module_expenses_categories_desc"] = "Əlavə et,Yenilə və ya Xərclər bölməsini sil.";
$lang["module_expenses_desc"] = "Əlavə et,Yenilə və ya Xərclər bölməsini axtar.";
$lang["module_giftcards"] = "Hədiyyə kartı";
$lang["module_giftcards_desc"] = "Əlavə et,Yenilə,Sil və Hədiyyə kartlarını axtar";
$lang["module_home"] = "Ev";
$lang["module_giftcards_desc"] = "Əlavə et,Yenilə,Sil və ya Hədiyyə kartlarını axtar.";
$lang["module_home"] = "Əsas";
$lang["module_home_desc"] = "Əsas menyu modullarının siyahısı.";
$lang["module_item_kits"] = "Mal Dəstləri";
$lang["module_item_kits_desc"] = "Əlavə et,Yenilə,Sil və Dəst Malları Axtar";
$lang["module_item_kits_desc"] = "Əlavə et,Yenilə,Sil və ya Mal Dəstini Axtar.";
$lang["module_items"] = "Mallar";
$lang["module_items_desc"] = "Əlavə et,Yenilə,Sil və Malları Axtar";
$lang["module_items_desc"] = "Əlavə et,Yenilə,Sil və ya Malları Axtar.";
$lang["module_messages"] = "Mesajlar";
$lang["module_messages_desc"] = "Müştərilərə, Təchizatçılara və İşçilərə Mesaj göndərin.";
$lang["module_migrate"] = "Köçür";
$lang["module_migrate_desc"] = "OSPOS in Məlumat Bazasıni Yenilə";
$lang["module_receivings"] = "Qəbul Edilənlər.";
$lang["module_receivings_desc"] = "Edilmiş Sifarişləri Başla";
$lang["module_migrate_desc"] = "OSPOS Məlumat Bazasıni Yenilə.";
$lang["module_office"] = "Ofis";
$lang["module_office_desc"] = "Ofis menyusu siyahısı modulları.";
$lang["module_receivings"] = "Qəbul Edilənlər";
$lang["module_receivings_desc"] = "Satınalma sifarişləri işləyin.";
$lang["module_reports"] = "Hesabatlar";
$lang["module_reports_desc"] = "Hesabatları Yarat və Göstər";
$lang["module_reports_desc"] = "Hesabatları Yarat və Göstər.";
$lang["module_sales"] = "Satışlar";
$lang["module_sales_desc"] = "Satış prosesləri və Qaytarılanlar";
$lang["module_sales_desc"] = "Satış prosesləri və Qaytarılanlar.";
$lang["module_suppliers"] = "Təchizatcılar";
$lang["module_suppliers_desc"] = "Əlavə et,Yenilə,Sil və Təchizatçıları Axtar";
$lang["module_suppliers_desc"] = "Əlavə et,Yenilə,Sil və Təchizatçıları Axtar.";
$lang["module_taxes"] = "Vergi";
$lang["module_taxes_desc"] = "Satış üçün Vergiləri Ayarla";
$lang["module_taxes_desc"] = "Satış üçün Vergiləri Ayarla.";
+13 -12
View File
@@ -1,30 +1,30 @@
<?php
$lang["receivings_cancel_receiving"] = "Ləğv";
$lang["receivings_cannot_be_deleted"] = "Qəbul olunanlar silinmədi";
$lang["receivings_cancel_receiving"] = "İmtina";
$lang["receivings_cannot_be_deleted"] = "Qəbul olunanlar silinmədi.";
$lang["receivings_comments"] = "Rəylər";
$lang["receivings_complete_receiving"] = "Bitirmək";
$lang["receivings_confirm_cancel_receiving"] = "Siz əminsinizmi bu qəbul olunanları silməyinizə? Bütün mallar təmizlənəcək";
$lang["receivings_confirm_delete"] = "dəyəri";
$lang["receivings_confirm_cancel_receiving"] = "Siz əminsinizmi bu qəbul olunanları silməyinizə? Bütün mallar təmizlənəcək.";
$lang["receivings_confirm_delete"] = "Bu qəbuldan silmək istədiyinizə əminsiniz? Bu hərəkət geri qaytarıla bilməz.";
$lang["receivings_confirm_finish_receiving"] = "Bu qəbulu təqdim etmək istədiyinizə əminsiniz? Bunu geri qaytarmaq mümkün deyil.";
$lang["receivings_cost"] = "Xərc";
$lang["receivings_date"] = "Qəbul olunma tarixi";
$lang["receivings_date_required"] = "Düzgün Tarix daxil edilməlidir";
$lang["receivings_date_type"] = "endirim %";
$lang["receivings_date_required"] = "Düzgün bir tarix daxil olunmalıdır.";
$lang["receivings_date_type"] = "Tarixi tələb olunan bir sahədir.";
$lang["receivings_delete_entire_sale"] = "red. etmək";
$lang["receivings_discount"] = "Endirim %";
$lang["receivings_edit"] = "Redaktə Et";
$lang["receivings_edit_sale"] = "malın redaktəsi səhvdir";
$lang["receivings_employee"] = "Əməkdaş";
$lang["receivings_error_editing_item"] = "tapmaq və skan etmək malı";
$lang["receivings_error_requisition"] = "malı və ya kvitansiyanı tapmaq skan etmək";
$lang["receivings_error_editing_item"] = "Mal redaktə edilmədi.";
$lang["receivings_error_requisition"] = "İnventarın yerdəyişməsi və ya yerinə qoyulması mümkün olmadı.";
$lang["receivings_find_or_scan_item"] = "alış id";
$lang["receivings_find_or_scan_item_or_receipt"] = "malın adı";
$lang["receivings_id"] = "alınma rejimi";
$lang["receivings_item_name"] = "yeni tədarükçü";
$lang["receivings_mode"] = "Qəbul Rejimi";
$lang["receivings_new_supplier"] = "Yeni Təchizatçı";
$lang["receivings_one_or_multiple"] = "sayı.";
$lang["receivings_one_or_multiple"] = "qəbul (lar)";
$lang["receivings_print_after_sale"] = "alış haqqında kvitansiya";
$lang["receivings_quantity"] = "Sayı";
$lang["receivings_receipt"] = "alış";
@@ -35,7 +35,8 @@ $lang["receivings_register"] = "Qəbul Olunan Mallar";
$lang["receivings_requisition"] = "Rəsmi Tələb";
$lang["receivings_return"] = "Qaytar";
$lang["receivings_select_supplier"] = "Təchizatçını Seç";
$lang["receivings_start_typing_supplier_name"] = "tədarükçü";
$lang["receivings_ship_pack"] = "Paket cəmi";
$lang["receivings_start_typing_supplier_name"] = "Təchizatçıın adını yazmağa başlayın ...";
$lang["receivings_stock"] = "Ehtiyyat";
$lang["receivings_stock_destination"] = "Ehtiyyatın Hədəfi";
$lang["receivings_stock_locaiton"] = "Ehtiyyatın Yeri";
@@ -48,6 +49,6 @@ $lang["receivings_supplier_email"] = "Elektron Ünvanı";
$lang["receivings_supplier_location"] = "Yer";
$lang["receivings_total"] = "Cəm";
$lang["receivings_transaction_failed"] = "Alınan əməliyyatlar uğursuz oldu.";
$lang["receivings_unable_to_add_item"] = "Malı Qəbula olunana daxil etmək mümkün olmadı";
$lang["receivings_unsuccessfully_updated"] = "Qəbul olunanları yeniləmək uğursuz alındı";
$lang["receivings_unable_to_add_item"] = "Qəbul etmək üçün əlavə addım uğursuz oldu.";
$lang["receivings_unsuccessfully_updated"] = "Yeniləmə alınmadı.";
$lang["receivings_update"] = "Yenilə";
+17 -6
View File
@@ -1,12 +1,14 @@
<?php
$lang["reports_all"] = "hamısı";
$lang["reports_authority"] = "Səlahiyyət";
$lang["reports_canceled"] = "Ləğv Edilmiş";
$lang["reports_categories"] = "kateqoriyalar";
$lang["reports_categories_summary_report"] = "komentariyalar";
$lang["reports_category"] = "Kategoriya";
$lang["reports_code_canceled"] = "CNL";
$lang["reports_code_invoice"] = "INV";
$lang["reports_code_pos"] = "POS";
$lang["reports_code_quote"] = "Q";
$lang["reports_code_return"] = "RET";
$lang["reports_code_type"] = "Növ";
@@ -28,9 +30,11 @@ $lang["reports_description"] = "detallı hesabatlar";
$lang["reports_detailed_receivings_report"] = "Ətraflı satınalma hesabatı";
$lang["reports_detailed_reports"] = "etraflı məlumat";
$lang["reports_detailed_requisition_report"] = "endirimler";
$lang["reports_detailed_sales_report"] = " endirim faizi";
$lang["reports_detailed_sales_report"] = "Ətraflı satış hesabatı";
$lang["reports_discount"] = "endirimlər";
$lang["reports_discount_fixed"] = "Sabit endirim";
$lang["reports_discount_percent"] = "endirim hesabları";
$lang["reports_discount_type"] = "Endirim növü";
$lang["reports_discounts"] = "Endirimlər";
$lang["reports_discounts_summary_report"] = "əməkdaş";
$lang["reports_earned"] = "əməkdaş";
@@ -60,11 +64,13 @@ $lang["reports_items"] = "Mallar";
$lang["reports_items_purchased"] = "ad";
$lang["reports_items_received"] = "Qəbul Olunan Mallar";
$lang["reports_items_summary_report"] = "ödəniş tipi";
$lang["reports_jurisdiction"] = "Yurisdiksiya";
$lang["reports_low_inventory"] = "ödənişlər";
$lang["reports_low_inventory_report"] = "inventor hesabatı";
$lang["reports_low_sell_quantity"] = "Satış miqdarı";
$lang["reports_more_than_zero"] = "gəlir";
$lang["reports_name"] = "Qty On Hand";
$lang["reports_no_reports_to_display"] = "alınanların sayı";
$lang["reports_no_reports_to_display"] = "Göstərmək üçün məhsul yoxdur.";
$lang["reports_payment_type"] = "Ödəmə Növü";
$lang["reports_payments"] = "kim tərəfindən";
$lang["reports_payments_summary_report"] = "Ödəmələr Yekun Hesabatı";
@@ -90,12 +96,14 @@ $lang["reports_requisition_related_item_total_quantity"] = "endirim tipi";
$lang["reports_requisition_related_item_unit_quantity"] = "satışlar";
$lang["reports_requisitions"] = "Satış qiyməti";
$lang["reports_returns"] = "endirim hesabatları";
$lang["reports_revenue"] = "seriya ";
$lang["reports_revenue"] = "Gəlir";
$lang["reports_sale_id"] = "satılıb kim tərəfindən";
$lang["reports_sale_type"] = "satılıb kimə";
$lang["reports_sales"] = "Əməliyyatlar";
$lang["reports_sales_amount"] = "Əməliyyatların Məbləği";
$lang["reports_sales_summary_report"] = "toplam";
$lang["reports_sales_taxes"] = "Satışdan Vergi";
$lang["reports_sales_taxes_summary_report"] = "Satışdan vergilərə dair yekun hesabat";
$lang["reports_serial_number"] = "hesabatlar";
$lang["reports_sold_by"] = "kim tərəfindən qoyulub";
$lang["reports_sold_to"] = "təchizatçı";
@@ -108,15 +116,18 @@ $lang["reports_supplier"] = "vergi hesabatı";
$lang["reports_suppliers"] = "toplam";
$lang["reports_suppliers_summary_report"] = "Təchizatçıların Yekun Hesabatı";
$lang["reports_tax"] = "tip";
$lang["reports_tax_category"] = "Vergi Bolməsi";
$lang["reports_tax_percent"] = "Retail Price";
$lang["reports_tax_rate"] = "Vergi dərəcəsi";
$lang["reports_taxes"] = "Vergilər";
$lang["reports_taxes_summary_report"] = "Vergi Yekun Hesabatı";
$lang["reports_total"] = "Cəm";
$lang["reports_total_inventory_value"] = "Ümumi İnvanter Qiyməti";
$lang["reports_total_low_sell_quantity"] = "Ümumi aşağı satışların sayı";
$lang["reports_total_quantity"] = "Ümumi Miqdarı";
$lang["reports_total_retail"] = "Toplam inv. Pərakəndə dəyəri";
$lang["reports_type"] = "Növ";
$lang["reports_unit_price"] = "Pərakəndə Qiyməti";
$lang["reports_used"] = "";
$lang["reports_used"] = "İstifadə edilən ballar";
$lang["reports_work_orders"] = "İstifadə Olunan Ballar";
$lang["reports_zero_and_less"] = "Sıfır və Aşağı";
$lang["reports_total_retail"] = "Total Inv. Retail Value";
$lang["reports_total_quantity"] = "Total Quantity";
+77 -44
View File
@@ -1,43 +1,52 @@
<?php
$lang["customers_available_points"] = "Münasib Ballar";
$lang["customers_available_points"] = "Mövcud ballar";
$lang["rewards_package"] = "Mükafatlar";
$lang["rewards_remaining_balance"] = "Mükafatın yerdə qalan bal dəyəri ";
$lang["sales_account_number"] = "Hesab #";
$lang["sales_add_payment"] = "Ödəniş Əlavə Etmək";
$lang["sales_amount_due"] = "Məbləğə Görə";
$lang["sales_amount_tendered"] = "Təklif olunan Məbləğ";
$lang["sales_cancel_sale"] = "Ləğv";
$lang["sales_authorized_signature"] = "Səlahiyyətli İmza";
$lang["sales_cancel_sale"] = "İmtina";
$lang["sales_cash"] = "Nəğd pullar";
$lang["sales_cash_deposit"] = "Nağd depozit";
$lang["sales_cash_filter"] = "Nəğd Pul";
$lang["sales_change_due"] = "Dəyişikliyə görə";
$lang["sales_check"] = "Çek";
$lang["sales_check_balance"] = "Çek Xatırladan";
$lang["sales_check_filter"] = "Çek";
$lang["sales_comment"] = "Komentariya";
$lang["sales_comments"] = "Komentariyalar";
$lang["sales_complete_sale"] = "Yekunlaşdır";
$lang["sales_comment"] = "Şərh";
$lang["sales_comments"] = "Şərhlər";
$lang["sales_complete_sale"] = "Tamamlayın";
$lang["sales_confirm_cancel_sale"] = "Siz əminsiniz ki,satışı ləğv etmək istəyirsiniz? Bütün detallar silinəcək.";
$lang["sales_confirm_delete"] = "Siz əminsiniz ki seçilmiş satışı (lar) silmək istəyirsiz?";
$lang["sales_confirm_restore"] = "Seçilmiş Satışları bərpa etmək istədiyinizə əminsinizmi?";
$lang["sales_credit"] = "Kredit kartı";
$lang["sales_credit_deposit"] = "Kredit Depoziti";
$lang["sales_customer"] = "Ad";
$lang["sales_customer_address"] = "Ünvan";
$lang["sales_customer_discount"] = "Endirim";
$lang["sales_customer_email"] = "Elektron Ünvan";
$lang["sales_customer_email"] = "E-poçt";
$lang["sales_customer_location"] = "Yer";
$lang["sales_customer_mailchimp_status"] = "Mailchimp Statusu";
$lang["sales_customer_total"] = "Cəm";
$lang["sales_customer_optional"] = "(Vacib deyil)";
$lang["sales_customer_required"] = "(Vacib)";
$lang["sales_customer_total"] = "Cəmi";
$lang["sales_date"] = "Satış Tarixi";
$lang["sales_date_range"] = "Tarix Aralığı";
$lang["sales_date_required"] = "Düzgün tarix daxil edilməlidir";
$lang["sales_date_type"] = "Boşluğa tarix əlavə edilməlidir";
$lang["sales_date_required"] = "Düzgün tarix daxil edilməlidir.";
$lang["sales_date_type"] = "Boşluğa tarix əlavə edilməlidir.";
$lang["sales_debit"] = "Debit kart";
$lang["sales_delete_confirmation"] = "Siz əminsiniz ki bu satışı silmək istəyirsiniz? Bu əməlliyat yenidən bərpa edilə bilməz";
$lang["sales_delete_entire_sale"] = "Bütün satışı silmək";
$lang["sales_delete_successful"] = "siz uğurla satışı sildiniz";
$lang["sales_delete_unsuccessful"] = "Satışın silinməsi uğursuz oldu";
$lang["sales_description_abbrv"] = "Təsvir";
$lang["sales_delete"] = "Silməyə izin ver";
$lang["sales_delete_confirmation"] = "Siz bu satışı silmək istəyinizə əminsiniz? Bu əməlliyat bərpa edilməyəcək.";
$lang["sales_delete_entire_sale"] = "Bütün Satışı Silmək";
$lang["sales_delete_successful"] = "Siz uğurla satışı sildiniz.";
$lang["sales_delete_unsuccessful"] = "Satışın silinməsi uğursuz oldu.";
$lang["sales_description_abbrv"] = "Təsvir.";
$lang["sales_discard"] = "İmtina";
$lang["sales_discard_quote"] = "";
$lang["sales_discount"] = "Endirim %";
$lang["sales_discount"] = "Disk";
$lang["sales_discount_included"] = "% Endirim";
$lang["sales_discount_short"] = "%";
$lang["sales_due"] = "Görə";
@@ -45,42 +54,50 @@ $lang["sales_due_filter"] = "Görə";
$lang["sales_edit"] = "Redaktə";
$lang["sales_edit_item"] = "Malın Redaktəsi";
$lang["sales_edit_sale"] = "Satışın Redaktəsi";
$lang["sales_email_receipt"] = "E-Ünvan daxilolmalar";
$lang["sales_email_receipt"] = "E-poçt Qəbz";
$lang["sales_employee"] = "Əməkdaş";
$lang["sales_entry"] = "Daxil";
$lang["sales_error_editing_item"] = "Malın redaktəsində səhv var";
$lang["sales_find_or_scan_item"] = "Tapmaq və Skan etmək Malı";
$lang["sales_error_editing_item"] = "XƏTA Malın redaktəsində";
$lang["sales_find_or_scan_item"] = "Malın axtarışı";
$lang["sales_find_or_scan_item_or_receipt"] = "Tapmaq skan etmək və ya kvitansiya";
$lang["sales_giftcard"] = "Hədiyyə Kartı";
$lang["sales_giftcard_balance"] = "Hədiyyə Kartı Balansı";
$lang["sales_giftcard_number"] = "Hədiyyə kartının nömrəsi";
$lang["sales_group_by_category"] = "Kategoriyaya görə grup";
$lang["sales_group_by_category"] = "Bölməyə görə grup";
$lang["sales_group_by_type"] = "Növə görə qrup";
$lang["sales_id"] = "Satış Nömrə";
$lang["sales_invoice"] = "Qəbz";
$lang["sales_invoice_confirm"] = "Bu qəbz göndəriləcək";
$lang["sales_invoice_enable"] = "Faktura Yarat";
$lang["sales_invoice_filter"] = "Fakturalar";
$lang["sales_invoice_no_email"] = "Bu müştərinin elektron ünvanı düzgün deyil";
$lang["sales_invoice_number"] = "Faktura №";
$lang["sales_invoice_number_duplicate"] = "Faktura nömrəsi unikal olmalıdır.";
$lang["sales_invoice_sent"] = "Faktura göndərildi";
$lang["sales_invoice_unsent"] = "Faktura göndərilə bilmədi";
$lang["sales_hsn"] = "HSN";
$lang["sales_id"] = "Satış İD";
$lang["sales_include_prices"] = "Qiymətlər daxildir?";
$lang["sales_invoice"] = "Qaimə";
$lang["sales_invoice_confirm"] = "Bu qaimə göndəriləcək";
$lang["sales_invoice_enable"] = "Qaimə Yarat";
$lang["sales_invoice_filter"] = "Qaimələr";
$lang["sales_invoice_no_email"] = "Bu müştərinin elektron ünvanı düzgün deyil.";
$lang["sales_invoice_number"] = "Qaimə #";
$lang["sales_invoice_number_duplicate"] = "Qaimə nömrəsi unikal olmalıdır.";
$lang["sales_invoice_sent"] = "Qaimə göndərildi";
$lang["sales_invoice_total"] = "Qaimə Çəmi";
$lang["sales_invoice_type_custom_invoice"] = "Fərqli Qaimə (custom_invoice.php)";
$lang["sales_invoice_type_custom_tax_invoice"] = "Fərqli Vergi Qaiməsi (custom_tax_invoice.php)";
$lang["sales_invoice_type_invoice"] = "Qaimə (invoice.php)";
$lang["sales_invoice_type_tax_invoice"] = "Vergi Qaiməsi (tax_invoice.php)";
$lang["sales_invoice_unsent"] = "Qaimə göndərilə bilmədi";
$lang["sales_invoice_update"] = "Yeniden say";
$lang["sales_item_insufficient_of_stock"] = "Anbarda kifayət qədər mal yoxdur";
$lang["sales_item_insufficient_of_stock"] = "Anbarda kifayət qədər mal yoxdur.";
$lang["sales_item_name"] = "Malın adı";
$lang["sales_item_number"] = "Mal #";
$lang["sales_item_out_of_stock"] = "Mal satılıb";
$lang["sales_item_out_of_stock"] = "Mal satılıb.";
$lang["sales_mode"] = "Qeydiyyat Rejimi";
$lang["sales_must_enter_numeric"] = "Təklif olunan məbləğ rəqəm ilə olmalıdır";
$lang["sales_must_enter_numeric_giftcard"] = "Hədiyyə Kartın nömrəsi rəqəmlə olmalıdır";
$lang["sales_must_enter_numeric"] = "Təklif olunan məbləğ rəqəm ilə olmalıdır.";
$lang["sales_must_enter_numeric_giftcard"] = "Hədiyyə Kartın nömrəsi rəqəmlə olmalıdır.";
$lang["sales_new_customer"] = "Yeni Müştəri";
$lang["sales_new_item"] = "Yeni Mal";
$lang["sales_no_description"] = "Heç Biri";
$lang["sales_no_filter"] = "Hamısı";
$lang["sales_no_items_in_cart"] = "Səbətdə heç bir mal yoxdur";
$lang["sales_no_sales_to_display"] = "Satış yoxdur";
$lang["sales_no_items_in_cart"] = "Səbətdə heç bir mal yoxdur.";
$lang["sales_no_sales_to_display"] = "Satış yoxdur.";
$lang["sales_none_selected"] = "Silmək üçün hər hansı bir Satış (lar) seçmədiniz.";
$lang["sales_not_authorized"] = "Bu hərəkət səlahiyyətli deyil.";
$lang["sales_one_or_multiple"] = "Satış (lar)";
$lang["sales_payment"] = "Ödəniş Növü";
$lang["sales_payment_amount"] = "Məbləğ";
@@ -92,11 +109,14 @@ $lang["sales_print_after_sale"] = "Satışdan sonra Çap edin";
$lang["sales_quantity"] = "Miqdarı";
$lang["sales_quantity_less_than_reorder_level"] = "Diqqət: İstədiyinizin Miqdarı bu Öhdəlik üçün Yenidən Səviyyə səviyyəsindən aşağıdadır.";
$lang["sales_quantity_less_than_zero"] = "Xəbərdarlıq: İstədiyiniz miqdar kifayət qədər deyil. Siz Hələ satışı emal edə bilərsiniz, ancaq inventarınızı yoxlayın.";
$lang["sales_quantity_of_items"] = "%1 Məhsulların miqdarı";
$lang["sales_quote"] = "Qiymət ver";
$lang["sales_quote_number"] = "Sitat Nömrəsi";
$lang["sales_quote_number_duplicate"] = "Sitatın nömrəsi unikal olmalıdır.";
$lang["sales_quote_sent"] = "Sitat göndərildi";
$lang["sales_quote_unsent"] = "Sitat göndırilə bilmədi";
$lang["sales_receipt"] = "malın çeki";
$lang["sales_receipt_no_email"] = "Bu müştərinin etibarlı bir e-poçt ünvanı yoxdur.";
$lang["sales_receipt_number"] = "Satış №";
$lang["sales_receipt_sent"] = "Çek Göndərildi";
$lang["sales_receipt_unsent"] = "Çek göndərilə Bilmədi";
@@ -107,37 +127,50 @@ $lang["sales_rewards"] = "Mükafat Balları";
$lang["sales_rewards_balance"] = "Mükafat Balları Balansı";
$lang["sales_sale"] = "satış";
$lang["sales_sale_by_invoice"] = "Faktura ilə Satış";
$lang["sales_sale_for_customer"] = "müştəri";
$lang["sales_sale_for_customer"] = "Müştəri:";
$lang["sales_sale_time"] = "Vaxt";
$lang["sales_sales_tax"] = "Satış Vergisi";
$lang["sales_select_customer"] = "müştəri secmək";
$lang["sales_send_invoice"] = "Faktura Göndər";
$lang["sales_send_quote"] = "Sitat Göndər";
$lang["sales_send_receipt"] = "Çek Göndər";
$lang["sales_send_work_order"] = "İş Sifarişini Göndərin";
$lang["sales_serial"] = "seriya nömrəsi";
$lang["sales_show_invoice"] = "Fakturanı Göstər";
$lang["sales_show_receipt"] = "Çek Göstər";
$lang["sales_start_typing_customer_name"] = "müştəri adını çap etməyə başlayın...";
$lang["sales_start_typing_item_name"] = " malın adın başlayın çap etməyə yada skan edin şifrəni...";
$lang["sales_start_typing_item_name"] = "Malın adın başlayın çap etməyə yada skan edin şifrəni...";
$lang["sales_stock"] = "Anbar";
$lang["sales_stock_location"] = "Ehtiyyatın Yeri";
$lang["sales_sub_total"] = "yekun";
$lang["sales_successfully_deleted"] = "satış";
$lang["sales_successfully_suspended_sale"] = "sizin satışınız uğurla dayandırıldı";
$lang["sales_successfully_updated"] = "satış uğurla yeniləndi";
$lang["sales_suspend_sale"] = "satışı dayan.";
$lang["sales_successfully_restored"] = "Siz uğurla bərpa etdimiz";
$lang["sales_successfully_suspended_sale"] = "Sizin satışınız uğurla dayandırıldı.";
$lang["sales_successfully_updated"] = "Satış uğurla yeniləndi.";
$lang["sales_suspend_sale"] = "Dayandırmaq";
$lang["sales_suspended_doc_id"] = "Sənəd";
$lang["sales_suspended_sale_id"] = "Satış dayandırıldı İD";
$lang["sales_suspended_sales"] = "satış dayandırıldı";
$lang["sales_table"] = "Masa";
$lang["sales_takings"] = "Gündəlik Satışlar";
$lang["sales_tax"] = "vergi";
$lang["sales_tax_id"] = "Vergi İD";
$lang["sales_tax_invoice"] = "Vergi Qaimə";
$lang["sales_tax_percent"] = "vergi %";
$lang["sales_total"] = "cəm";
$lang["sales_total_tax_exclusive"] = "Vergi Xaric";
$lang["sales_transaction_failed"] = "transaksiya alınmadı";
$lang["sales_unable_to_add_item"] = "malın əlavə edilməsində səhv var ";
$lang["sales_unsuccessfully_deleted"] = "satış uğursuz oldu silinmədi";
$lang["sales_transaction_failed"] = "Satış əməliyyatı uğursuz oldu.";
$lang["sales_unable_to_add_item"] = "Satışa əlavə edilən məhsul uğursuz oldu";
$lang["sales_unsuccessfully_deleted"] = "Satış (lar) silmək uğursuz oldu.";
$lang["sales_unsuccessfully_restored"] = "Satış (lar) bərpa olunmadı.";
$lang["sales_unsuccessfully_suspended_sale"] = "Satış dayandırıla bilmədi.";
$lang["sales_unsuccessfully_updated"] = "satış uğursuz oldu";
$lang["sales_unsuccessfully_updated"] = "Satış yeniləməsi uğursuz oldu.";
$lang["sales_unsuspend"] = "blok etmək";
$lang["sales_unsuspend_and_delete"] = "blok etmək və silmək";
$lang["sales_update"] = "Yenilə";
$lang["sales_upi"] = "UPI";
$lang["sales_work_order"] = "İş Sifarişi";
$lang["sales_work_order_number"] = "Sifariş nömrəsi";
$lang["sales_work_order_number_duplicate"] = "İş sifarişinin nömrəsi unikal olmalıdır.";
$lang["sales_work_order_sent"] = "İş sifarişi göndərildi";
$lang["sales_work_order_unsent"] = "İş Sifarişi göndərilməmişdi";
@@ -3,11 +3,14 @@
$lang["suppliers_account_number"] = "Hesab №";
$lang["suppliers_agency_name"] = "Agentliyin Adı";
$lang["suppliers_cannot_be_deleted"] = "Seçilmiş Təchizatçı (lar) silinə bilmədi. Bir və ya birdən çox satışlar var.";
$lang["suppliers_category"] = "Bölmə";
$lang["suppliers_company_name"] = "Kompaniyanın Adı";
$lang["suppliers_company_name_required"] = "Şirkətin Adı qeyd edilən sahə boş qala bilməz";
$lang["suppliers_company_name_required"] = "Şirkətin Adı - yazılması vacib sahə.";
$lang["suppliers_confirm_delete"] = "Siz əminsiniz ki seçilmiş təchizatçı (lar) ı silmək istəyirsiniz?";
$lang["suppliers_confirm_restore"] = "Seçilmiş təchizatçı (lar) bərpa etmək istədiyinizə əminsinizmi?";
$lang["suppliers_error_adding_updating"] = "Təchizatçı əlavə etməkdə və ya yenilənməsində səhv var";
$lang["suppliers_cost"] = "Maliyə Təchizatçı";
$lang["suppliers_error_adding_updating"] = "Təchizatçı əlavə et / yenilə XƏTA.";
$lang["suppliers_goods"] = "Məhsullar Təchizatçı";
$lang["suppliers_new"] = "Yeni Təchizatçı";
$lang["suppliers_none_selected"] = "Siz silmək üçün heç bir təchizatçı (lar) seçmədiniz.";
$lang["suppliers_one_or_multiple"] = "Təchizatçı (lar)";
@@ -16,4 +19,5 @@ $lang["suppliers_successful_deleted"] = "Siz uğurla sildiniz";
$lang["suppliers_successful_updating"] = "Siz uğurla Təchizatçını yenilədiniz";
$lang["suppliers_supplier"] = "Təchizatçı";
$lang["suppliers_supplier_id"] = "Kimlik";
$lang["suppliers_tax_id"] = "Vergi İD";
$lang["suppliers_update"] = "Təchizatçı Yenilənməsi";
+59 -12
View File
@@ -1,12 +1,21 @@
<?php
$lang["taxes_add_exception"] = "İstisna Əlavə Et";
$lang["taxes_confirm_delete"] = "Siz Vergi Məcəlləsini silməyə əminsinizmi? Bu əməliyyat yenidən bərpa edilə bilməz";
$lang["taxes_cascade"] = "Çağlayan";
$lang["taxes_cascade_sequence"] = "Çağlayan sırası";
$lang["taxes_city"] = "Şəhər";
$lang["taxes_code"] = "Kod";
$lang["taxes_confirm_delete"] = "Vergi Məcəlləsini silmək istədiyinizə əminsinizmi? Bu hərəkət geri qaytarıla bilməz";
$lang["taxes_confirm_restore"] = "Seçilmiş Vergi Məcəlləsini (lər) bərpa etmək istədiyinizə əminsinizmi?";
$lang["taxes_default_tax_category"] = "Cari Vergi Kategoriyası";
$lang["taxes_error_adding_updating"] = "Vergi Məcəlləsi Əlavəsi ya da uğursuz yeniləmə";
$lang["taxes_new"] = "Yeni Vergi Məcəlləsi";
$lang["taxes_no_taxes_to_display"] = "Göstərmək Üçün uyğun Vergi Kodu yoxdur.";
$lang["taxes_default_tax_rate"] = "Sabit Vergi dərəcəsi";
$lang["taxes_error_adding_updating"] = "Vergi kodu Əlavə ya yeniləmə uğursuzdur";
$lang["taxes_group_seq"] = "Qrup seq";
$lang["taxes_jurisdiction_name"] = "Yurisdiksiya Adı";
$lang["taxes_name"] = "Ad";
$lang["taxes_new"] = "Yeni Vergi";
$lang["taxes_no_taxes_to_display"] = "Göstərməyə Vergi Kodu yoxdur";
$lang["taxes_reporting_authority"] = "Hesabat orqanı";
$lang["taxes_round_half_down"] = "Yarı Aşağı";
$lang["taxes_round_half_even"] = "Cüt Rəqəm";
$lang["taxes_round_half_odd"] = "Tək Rəqəm";
@@ -14,19 +23,57 @@ $lang["taxes_round_half_up"] = "Yarı Rəqəmdən Yuxarı";
$lang["taxes_rounding_code"] = "Yuvarlama Kodu";
$lang["taxes_sales_tax"] = "Satış Vergisi";
$lang["taxes_sales_tax_by_invoice"] = "Satış Vergisi Faktura ilə";
$lang["taxes_sequence"] = "Ardı.";
$lang["taxes_state"] = "Bölgə";
$lang["taxes_successful_deleted"] = "Siz uğurla sildiniz";
$lang["taxes_tax_category"] = "Vergi Kategoriyası";
$lang["taxes_tax_code"] = "Vergi Məcəlləsi";
$lang["taxes_tax_code_cannot_be_deleted"] = "Seçilmiş vergi kodu silinə bilmədi";
$lang["taxes_tax_code_name"] = "Vergi Məcəlləsi adı";
$lang["taxes_tax_code_required"] = "Vergi kodu tələb olunan bir sahədir";
$lang["taxes_tax_categories"] = "Vergi bölməsi";
$lang["taxes_tax_categories_configuration"] = "Vergi Bölmələrinin Konfiqurasiyası";
$lang["taxes_tax_categories_saved_successfully"] = "Vergi bölmələrində dəyişikliklər edildi";
$lang["taxes_tax_categories_saved_unsuccessfully"] = "Vergi bölmələrində dəyişikliklər edilməmişdir";
$lang["taxes_tax_category"] = "Vergi Bölməsi";
$lang["taxes_tax_category_code"] = "Vergi bölmə kodu";
$lang["taxes_tax_category_duplicate"] = "Vergi bölməsinin dublikatı";
$lang["taxes_tax_category_invalid_chars"] = "Vergi bölmə adında icazə veilməyən simvollar";
$lang["taxes_tax_category_name"] = "Vergi Bölmə Adı";
$lang["taxes_tax_category_new"] = "Yeni vergi Bölməsi";
$lang["taxes_tax_category_required"] = "Vergi Bölməsi tələb olunur";
$lang["taxes_tax_code"] = "Vergi kodu";
$lang["taxes_tax_code_cannot_be_deleted"] = "Vergi kodu silinmədi";
$lang["taxes_tax_code_duplicate"] = "Vergi kodunun dublikatı";
$lang["taxes_tax_code_invalid_chars"] = "Vergi kodunda yararsız simvollar";
$lang["taxes_tax_code_name"] = "Vergi kodu adı";
$lang["taxes_tax_code_required"] = "Vergi kodu zəruri bir sahədir";
$lang["taxes_tax_code_successful_deleted"] = "Vergi kodu müvəffəqiyyətlə silindi";
$lang["taxes_tax_code_successful_updated"] = "Müvəffəqiyyətlə yenilədiniz";
$lang["taxes_tax_code_successful_updating"] = "Vergi kodunuzu uğurla yenilədiniz";
$lang["taxes_tax_code_successfully_added"] = "Siz uğurla əlavə etdiniz";
$lang["taxes_tax_code_type"] = "Vergi Məcəlləsi növü";
$lang["taxes_tax_codes"] = "Vergi kodları";
$lang["taxes_tax_codes_configuration"] = "Vergi kodları konfiqurasiyası";
$lang["taxes_tax_codes_saved_successfully"] = "Vergi kodu dəyişikliyi saxlanıldı";
$lang["taxes_tax_codes_saved_unsuccessfully"] = "Vergi kodu dəyişikliyi saxlanılmadı";
$lang["taxes_tax_excluded"] = "Vergi istisna olunur";
$lang["taxes_tax_group"] = "Vergi qurupu";
$lang["taxes_tax_group_sequence"] = "Vergi Qrupu Sırası";
$lang["taxes_tax_included"] = "Vergi daxildir";
$lang["taxes_tax_jurisdiction"] = "Vergi Yurisdiksiya";
$lang["taxes_tax_jurisdiction_duplicate"] = "Vergi yurisdiksiyasının dublikatı";
$lang["taxes_tax_jurisdiction_invalid_chars"] = "Yurisdiksiyası adına Yanlış simvol";
$lang["taxes_tax_jurisdiction_required"] = "Vergi yurisdiksiyası tələb olunur";
$lang["taxes_tax_jurisdictions"] = "Vergi yurisdiksiyalarda";
$lang["taxes_tax_jurisdictions_configuration"] = "Vergi yurisdiksiyalarda Konfiqurasiya";
$lang["taxes_tax_jurisdictions_saved_successfully"] = "Vergi Yurisdiksiyası dəyişiklikləri saxlanıldı";
$lang["taxes_tax_jurisdictions_saved_unsuccessfully"] = "Vergi Yurisdiksiyası dəyişiklikləri saxlanılmadı";
$lang["taxes_tax_rate"] = "Vergi Dərəcəsi";
$lang["taxes_tax_rate_numeric"] = "Vergi dərəcəsi rəqəm ilə olmalıdır";
$lang["taxes_tax_rate_required"] = "Vergi Dərəcəsi olan sahə boş qala bilməz";
$lang["taxes_update"] = "Satış Vergi Kategoriyasıni Yeniləyin";
$lang["taxes_tax_rate_configuration"] = "Vergi dərəcəsi konfiqurasiyası";
$lang["taxes_tax_rate_error_adding_updating"] = "Vergi dərəcəsi əlavə ya yeniləmə baş verdi";
$lang["taxes_tax_rate_numeric"] = "Vergi dərəcəsi rəqəmlə olmalıdır";
$lang["taxes_tax_rate_required"] = "Vergi Dərəcəsi sahəsi boş qala bilməz";
$lang["taxes_tax_rate_successful_updated"] = "Müvəffəqiyyətlə yenilənmisiniz";
$lang["taxes_tax_rate_successfully_added"] = "Siz uğurla əlavə etdiniz";
$lang["taxes_tax_rates"] = "Vergi dərəcələri";
$lang["taxes_tax_rates_configuration"] = "Vergi məzənnələri konfiqurasiyası";
$lang["taxes_tax_rounding"] = "Vergi yuvarlaqlaşdırması";
$lang["taxes_tax_type"] = "Vergi növü";
$lang["taxes_update"] = "Vergi dərəcəsini yenilənir";
$lang["taxes_vat_tax"] = "ƏDV Vergisi";
@@ -0,0 +1,28 @@
<?php
$lang["attributes_attribute_value_invalid_chars"] = "";
$lang["attributes_confirm_delete"] = "";
$lang["attributes_definition_cannot_be_deleted"] = "";
$lang["attributes_definition_flags"] = "";
$lang["attributes_definition_group"] = "";
$lang["attributes_definition_id"] = "";
$lang["attributes_definition_name"] = "";
$lang["attributes_definition_name_required"] = "";
$lang["attributes_definition_one_or_multiple"] = "";
$lang["attributes_definition_successful_adding"] = "";
$lang["attributes_definition_successful_deleted"] = "";
$lang["attributes_definition_successful_updating"] = "";
$lang["attributes_definition_type"] = "";
$lang["attributes_definition_type_required"] = "";
$lang["attributes_definition_values"] = "";
$lang["attributes_new"] = "";
$lang["attributes_no_attributes_to_display"] = "";
$lang["attributes_receipt_visibility"] = "";
$lang["attributes_show_in_items"] = "";
$lang["attributes_show_in_items_visibility"] = "";
$lang["attributes_show_in_receipt"] = "";
$lang["attributes_show_in_receivings"] = "";
$lang["attributes_show_in_receivings_visibility"] = "";
$lang["attributes_show_in_sales"] = "";
$lang["attributes_show_in_sales_visibility"] = "";
$lang["attributes_update"] = "";
+38
View File
@@ -0,0 +1,38 @@
<?php
$lang["cashups_amount"] = "";
$lang["cashups_amount_number"] = "";
$lang["cashups_amount_required"] = "";
$lang["cashups_cannot_be_deleted"] = "";
$lang["cashups_close_date"] = "";
$lang["cashups_close_employee"] = "";
$lang["cashups_closed_amount_card"] = "";
$lang["cashups_closed_amount_cash"] = "";
$lang["cashups_closed_amount_check"] = "";
$lang["cashups_closed_amount_due"] = "";
$lang["cashups_closed_amount_total"] = "";
$lang["cashups_closed_date"] = "";
$lang["cashups_confirm_delete"] = "";
$lang["cashups_confirm_restore"] = "";
$lang["cashups_date_number"] = "";
$lang["cashups_date_required"] = "";
$lang["cashups_description"] = "";
$lang["cashups_error_adding_updating"] = "";
$lang["cashups_id"] = "";
$lang["cashups_info"] = "";
$lang["cashups_is_deleted"] = "";
$lang["cashups_new"] = "";
$lang["cashups_no_cashups_to_display"] = "";
$lang["cashups_none_selected"] = "";
$lang["cashups_note"] = "";
$lang["cashups_one_or_multiple"] = "";
$lang["cashups_open_amount_cash"] = "";
$lang["cashups_open_date"] = "";
$lang["cashups_open_employee"] = "";
$lang["cashups_opened_date"] = "";
$lang["cashups_successful_adding"] = "";
$lang["cashups_successful_deleted"] = "";
$lang["cashups_successful_updating"] = "";
$lang["cashups_total"] = "";
$lang["cashups_transfer_amount_cash"] = "";
$lang["cashups_update"] = "";
+2
View File
@@ -7,6 +7,7 @@ $lang["common_close"] = "Затвори";
$lang["common_comments"] = "Коментари";
$lang["common_common"] = "Често срещани";
$lang["common_confirm_search"] = "Избрали сте един или повече редове, след търсене няма да бъдат избрани. Наистина ли искате да подадете това търсене?";
$lang["common_correct_errors"] = "";
$lang["common_country"] = "Държава";
$lang["common_date"] = "Дата";
$lang["common_delete"] = "Изтриване";
@@ -39,6 +40,7 @@ $lang["common_last_page"] = "Последна";
$lang["common_learn_about_project"] = "за да научите най-новата информация за проекта.";
$lang["common_list_of"] = "Списък с";
$lang["common_logout"] = "Излизане от профила";
$lang["common_migration_needed"] = "";
$lang["common_new"] = "Нов";
$lang["common_no_persons_to_display"] = "Няма хора за показване.";
$lang["common_none_selected_text"] = "Нищо не е избрано.";
+33 -11
View File
@@ -46,16 +46,6 @@ $lang["config_country_codes"] = "Country Codes";
$lang["config_country_codes_tooltip"] = "Comma separated list of country codes for nominatim address lookup.";
$lang["config_currency_decimals"] = "Currency Decimals";
$lang["config_currency_symbol"] = "Currency Symbol";
$lang["config_custom1"] = "Custom Field 1";
$lang["config_custom10"] = "Custom Field 10";
$lang["config_custom2"] = "Custom Field 2";
$lang["config_custom3"] = "Custom Field 3";
$lang["config_custom4"] = "Custom Field 4";
$lang["config_custom5"] = "Custom Field 5";
$lang["config_custom6"] = "Custom Field 6";
$lang["config_custom7"] = "Custom Field 7";
$lang["config_custom8"] = "Custom Field 8";
$lang["config_custom9"] = "Custom Field 9";
$lang["config_customer_reward"] = "Reward";
$lang["config_customer_reward_duplicate"] = "Reward must be unique.";
$lang["config_customer_reward_enable"] = "Enable Customer Rewards";
@@ -77,10 +67,17 @@ $lang["config_default_barcode_page_width_number"] = "Default Barcode Page Width
$lang["config_default_barcode_page_width_required"] = "Default Barcode Page Width is a required field.";
$lang["config_default_barcode_width_number"] = "Default Barcode Width must be a number.";
$lang["config_default_barcode_width_required"] = "Default Barcode Width is a required field.";
$lang["config_default_item_columns"] = "";
$lang["config_default_origin_tax_code"] = "Default Origin Tax Code";
$lang["config_default_receivings_discount"] = "";
$lang["config_default_receivings_discount_number"] = "";
$lang["config_default_receivings_discount_required"] = "";
$lang["config_default_sales_discount"] = "Default Sales Discount %";
$lang["config_default_sales_discount_number"] = "Default Sales Discount must be a number.";
$lang["config_default_sales_discount_required"] = "Default Sales Discount is a required field.";
$lang["config_default_tax_category"] = "";
$lang["config_default_tax_code"] = "";
$lang["config_default_tax_jurisdiction"] = "";
$lang["config_default_tax_name_number"] = "Default Tax Name must be a string.";
$lang["config_default_tax_name_required"] = "Default Tax Name is a required field.";
$lang["config_default_tax_rate"] = "Default Tax Rate %";
@@ -88,6 +85,8 @@ $lang["config_default_tax_rate_1"] = "Tax 1 Rate";
$lang["config_default_tax_rate_2"] = "Tax 2 Rate";
$lang["config_default_tax_rate_number"] = "Default Tax Rate must be a number.";
$lang["config_default_tax_rate_required"] = "Default Tax Rate is a required field.";
$lang["config_derive_sale_quantity"] = "";
$lang["config_derive_sale_quantity_tooltip"] = "";
$lang["config_dinner_table"] = "Table";
$lang["config_dinner_table_duplicate"] = "Table must be unique.";
$lang["config_dinner_table_enable"] = "Enable Dinner Tables";
@@ -98,12 +97,18 @@ $lang["config_email"] = "Email";
$lang["config_email_configuration"] = "Email Configuration";
$lang["config_email_mailpath"] = "Path to Sendmail";
$lang["config_email_protocol"] = "Protocol";
$lang["config_email_receipt_check_behaviour"] = "";
$lang["config_email_receipt_check_behaviour_always"] = "";
$lang["config_email_receipt_check_behaviour_last"] = "";
$lang["config_email_receipt_check_behaviour_never"] = "";
$lang["config_email_smtp_crypto"] = "SMTP Encryption";
$lang["config_email_smtp_host"] = "SMTP Server";
$lang["config_email_smtp_pass"] = "SMTP Password";
$lang["config_email_smtp_port"] = "SMTP Port";
$lang["config_email_smtp_timeout"] = "SMTP Timeout (s)";
$lang["config_email_smtp_user"] = "SMTP Username";
$lang["config_enforce_privacy"] = "";
$lang["config_enforce_privacy_tooltip"] = "";
$lang["config_fax"] = "Fax";
$lang["config_financial_year"] = "Fiscal Year Start";
$lang["config_financial_year_apr"] = "1st of April";
@@ -129,14 +134,17 @@ $lang["config_general_configuration"] = "General Configuration";
$lang["config_giftcard_number"] = "Gift Card Number";
$lang["config_giftcard_random"] = "Generate Random";
$lang["config_giftcard_series"] = "Generate in Series";
$lang["config_include_hsn"] = "";
$lang["config_info"] = "Information";
$lang["config_info_configuration"] = "Store Information";
$lang["config_integrations"] = "";
$lang["config_invoice"] = "Invoice";
$lang["config_invoice_configuration"] = "Invoice Print Settings";
$lang["config_invoice_default_comments"] = "Default Invoice Comments";
$lang["config_invoice_email_message"] = "Invoice Email Template";
$lang["config_invoice_enable"] = "Enable Invoicing";
$lang["config_invoice_printer"] = "Invoice Printer";
$lang["config_invoice_type"] = "";
$lang["config_jsprintsetup_required"] = "Warning: This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?";
$lang["config_language"] = "Language";
$lang["config_last_used_invoice_number"] = "Last used Invoice Number";
@@ -173,6 +181,7 @@ $lang["config_msg_src"] = "SMS-API Sender ID";
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
$lang["config_msg_uid"] = "SMS-API Username";
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
$lang["config_multi_pack_enabled"] = "";
$lang["config_none"] = "none";
$lang["config_notify_alignment"] = "Notification Popup Position";
$lang["config_number_format"] = "Number Format";
@@ -186,11 +195,18 @@ $lang["config_phone_required"] = "Company Phone is a required field.";
$lang["config_print_bottom_margin"] = "Margin Bottom";
$lang["config_print_bottom_margin_number"] = "Margin Bottom must be a number.";
$lang["config_print_bottom_margin_required"] = "Margin Bottom is a required field.";
$lang["config_print_delay_autoreturn"] = "";
$lang["config_print_delay_autoreturn_number"] = "";
$lang["config_print_delay_autoreturn_required"] = "";
$lang["config_print_footer"] = "Print Browser Footer";
$lang["config_print_header"] = "Print Browser Header";
$lang["config_print_left_margin"] = "Margin Left";
$lang["config_print_left_margin_number"] = "Margin Left must be a number.";
$lang["config_print_left_margin_required"] = "Margin Left is a required field.";
$lang["config_print_receipt_check_behaviour"] = "";
$lang["config_print_receipt_check_behaviour_always"] = "";
$lang["config_print_receipt_check_behaviour_last"] = "";
$lang["config_print_receipt_check_behaviour_never"] = "";
$lang["config_print_right_margin"] = "Margin Right";
$lang["config_print_right_margin_number"] = "Margin Right must be a number.";
$lang["config_print_right_margin_required"] = "Margin Right is a required field.";
@@ -199,6 +215,7 @@ $lang["config_print_top_margin"] = "Margin Top";
$lang["config_print_top_margin_number"] = "Margin Top must be a number.";
$lang["config_print_top_margin_required"] = "Margin Top is a required field.";
$lang["config_quantity_decimals"] = "Quantity Decimals";
$lang["config_quote_default_comments"] = "";
$lang["config_receipt"] = "Receipt";
$lang["config_receipt_configuration"] = "Receipt Print Settings";
$lang["config_receipt_default"] = "Default";
@@ -222,7 +239,6 @@ $lang["config_reward"] = "Reward";
$lang["config_reward_configuration"] = "Reward Configuration";
$lang["config_right"] = "Right";
$lang["config_sales_invoice_format"] = "Sales Invoice Format";
$lang["config_work_order_format"] = "Work Order Format";
$lang["config_sales_quote_format"] = "Sales Quote Format";
$lang["config_saved_successfully"] = "Configuration save successful.";
$lang["config_saved_unsuccessfully"] = "Configuration save failed.";
@@ -242,13 +258,19 @@ $lang["config_table_configuration"] = "Table Configuration";
$lang["config_takings_printer"] = "Receipt Printer";
$lang["config_tax"] = "Tax";
$lang["config_tax_category"] = "Tax Category";
$lang["config_tax_category_duplicate"] = "";
$lang["config_tax_category_invalid_chars"] = "";
$lang["config_tax_category_required"] = "";
$lang["config_tax_category_used"] = "Tax category cannot be deleted because it is being used.";
$lang["config_tax_configuration"] = "Tax Configuration";
$lang["config_tax_decimals"] = "Tax Decimals";
$lang["config_tax_id"] = "";
$lang["config_tax_included"] = "Tax Included";
$lang["config_theme"] = "Theme";
$lang["config_thousands_separator"] = "Thousands Separator";
$lang["config_timezone"] = "Timezone";
$lang["config_top"] = "Top";
$lang["config_use_destination_based_tax"] = "";
$lang["config_website"] = "Website";
$lang["config_work_order_enable"] = "Work Order Support";
$lang["config_work_order_format"] = "Work Order Format";
+10 -2
View File
@@ -9,10 +9,17 @@ $lang["customers_basic_information"] = "Информация";
$lang["customers_cannot_be_deleted"] = "Избраните клиенти не могат да бъдат изтрити, един или повече от избраните клиенти имат продажби.";
$lang["customers_company_name"] = "Компания";
$lang["customers_confirm_delete"] = "Наистина ли искате да изтриете избраните клиенти?";
$lang["customers_confirm_restore"] = "";
$lang["customers_confirm_restore"] = "Наистина ли искате да възстановите избраните клиенти?";
$lang["customers_consent"] = "Съгласие за регистрация";
$lang["customers_consent_required"] = "Регистрационното съгласие е задължително поле.";
$lang["customers_customer"] = "Клиент";
$lang["customers_date"] = "Дата";
$lang["customers_discount"] = "Отстъпка";
$lang["customers_discount_fixed"] = "";
$lang["customers_discount_percent"] = "";
$lang["customers_discount_type"] = "";
$lang["customers_email_duplicate"] = "Имейл адресът вече е в базата данни.";
$lang["customers_employee"] = "Служител";
$lang["customers_error_adding_updating"] = "Добавянето или актуализирането на клиента е неуспешно.";
$lang["customers_excel_import_failed"] = "Вносът от Excel не бе успешен";
$lang["customers_excel_import_nodata_wrongformat"] = "Каченият файл няма данни или е неправилно форматиран.";
@@ -25,7 +32,7 @@ $lang["customers_mailchimp_activity_open"] = "Имейлът е отворен";
$lang["customers_mailchimp_activity_total"] = "Имейлът е изпратен";
$lang["customers_mailchimp_activity_unopen"] = "Имейлът е неотворен";
$lang["customers_mailchimp_email_client"] = "Имейл клиент";
$lang["customers_mailchimp_info"] = "Mailchimp";
$lang["customers_mailchimp_info"] = "Mailchimp (Услуга)";
$lang["customers_mailchimp_member_rating"] = "Оценка";
$lang["customers_mailchimp_status"] = "Статус";
$lang["customers_mailchimp_vip"] = "VIP";
@@ -40,6 +47,7 @@ $lang["customers_successful_adding"] = "Успешно добавихте кли
$lang["customers_successful_deleted"] = "Вие успешно сте изтрили";
$lang["customers_successful_updating"] = "Актуализирахте успешно клиента си";
$lang["customers_tax_code"] = "Данъчен код";
$lang["customers_tax_id"] = "";
$lang["customers_taxable"] = "Облагаем";
$lang["customers_total"] = "Общо изразходвани средства";
$lang["customers_update"] = "Актуализиране на клиента";
@@ -14,6 +14,7 @@ $lang["datepicker_same_month_last_year"] = "Same Month Last Year";
$lang["datepicker_same_month_to_same_day_last_year"] = "Same Month To Same Day Last Year";
$lang["datepicker_this_financial_year"] = "Current Fiscal Year";
$lang["datepicker_this_month"] = "Current Month";
$lang["datepicker_this_month_last_year"] = "";
$lang["datepicker_this_year"] = "Current Year";
$lang["datepicker_to"] = "To";
$lang["datepicker_today"] = "Today";
+1 -1
View File
@@ -24,7 +24,7 @@ $lang["employees_password_required"] = "Изисква се парола.";
$lang["employees_permission_desc"] = "Поставете отметка в квадратчетата по-долу, за да получите достъп до модулите.";
$lang["employees_permission_info"] = "Разрешения";
$lang["employees_repeat_password"] = "Паролата отново";
$lang["employees_subpermission_required"] = "Add at least one grant for each module.";
$lang["employees_subpermission_required"] = "Добавете поне един грант за всеки модул.";
$lang["employees_successful_adding"] = "Служителя е добавен успешно.";
$lang["employees_successful_change_password"] = "Промяна на паролата е успешна.";
$lang["employees_successful_deleted"] = "Вие успешно сте изтрили";
+1 -1
View File
@@ -1,4 +1,4 @@
<?php
$lang["error_no_permission_module"] = "Нямате разрешение за достъп до модула с име";
$lang["error_unknown"] = "неизвестен";
$lang["error_unknown"] = "Неизвестна грешка";
@@ -5,6 +5,7 @@ $lang["expenses_categories_add_item"] = "Add Category";
$lang["expenses_categories_cannot_be_deleted"] = "Could not delete Category Expense(s)";
$lang["expenses_categories_category_id"] = "Id";
$lang["expenses_categories_confirm_delete"] = "Are you sure you want to delete the selected Expense Category?";
$lang["expenses_categories_confirm_restore"] = "";
$lang["expenses_categories_description"] = "Category Description";
$lang["expenses_categories_error_adding_updating"] = "Error adding/updating Expense Category";
$lang["expenses_categories_info"] = "Category Expense Info";
@@ -36,6 +36,7 @@ $lang["expenses_no_expenses_to_display"] = "There are no Expenses to display";
$lang["expenses_none_selected"] = "You have not selected any Expense";
$lang["expenses_one_or_multiple"] = "Expense(s)";
$lang["expenses_payment"] = "Payment Type";
$lang["expenses_start_typing_supplier_name"] = "";
$lang["expenses_successful_adding"] = "Expense add successful";
$lang["expenses_successful_deleted"] = "Expense delete successful";
$lang["expenses_successful_updating"] = "Expense update successful";
@@ -6,7 +6,10 @@ $lang["item_kits_cannot_be_deleted"] = "Item Kit(s) delete failed.";
$lang["item_kits_confirm_delete"] = "Are you sure you want to delete the selected Item Kit(s)?";
$lang["item_kits_confirm_restore"] = "";
$lang["item_kits_description"] = "Item Kit Description";
$lang["item_kits_discount"] = "";
$lang["item_kits_discount_fixed"] = "";
$lang["item_kits_discount_percent"] = "Discount Percent";
$lang["item_kits_discount_type"] = "";
$lang["item_kits_error_adding_updating"] = "Item Kit add or update failed.";
$lang["item_kits_find_kit_item"] = "Kit Item";
$lang["item_kits_info"] = "Item Kit Info";
+7
View File
@@ -24,6 +24,7 @@ $lang["items_cost_price_number"] = "Wholesale Price must be a number.";
$lang["items_cost_price_required"] = "Wholesale Price is a required field.";
$lang["items_count"] = "Update Inventory";
$lang["items_current_quantity"] = "Current Quantity";
$lang["items_default_pack_name"] = "";
$lang["items_description"] = "Description";
$lang["items_details_count"] = "Inventory Count Details";
$lang["items_do_nothing"] = "Do Nothing";
@@ -37,6 +38,7 @@ $lang["items_excel_import_nodata_wrongformat"] = "The uploaded file has no data
$lang["items_excel_import_partially_failed"] = "Item import successful with some failures:";
$lang["items_excel_import_success"] = "Item import successful.";
$lang["items_generate_barcodes"] = "Generate Barcodes";
$lang["items_hsn_code"] = "";
$lang["items_image"] = "Avatar";
$lang["items_import_items_excel"] = "Item Import from Excel";
$lang["items_info_provided_by"] = "Information provided by";
@@ -55,6 +57,7 @@ $lang["items_item_number_duplicate"] = "Item Number is already present in the da
$lang["items_kit"] = "Kit";
$lang["items_location"] = "Location";
$lang["items_low_inventory_items"] = "Out Of Stock Items";
$lang["items_low_sell_item"] = "";
$lang["items_manually_editing_of_quantity"] = "Manual Edit of Quantity";
$lang["items_name"] = "Item Name";
$lang["items_name_required"] = "Item Name is a required field.";
@@ -67,6 +70,8 @@ $lang["items_nonstock"] = "Non-stocked";
$lang["items_number_information"] = "Item Number";
$lang["items_number_required"] = "Barcode is a required field.";
$lang["items_one_or_multiple"] = "item(s)";
$lang["items_pack_name"] = "";
$lang["items_qty_per_pack"] = "";
$lang["items_quantity"] = "Quantity";
$lang["items_quantity_number"] = "Quantity must be a number.";
$lang["items_quantity_required"] = "Quantity is a required field.";
@@ -93,10 +98,12 @@ $lang["items_successful_updating"] = "You have successfully updated item";
$lang["items_supplier"] = "Supplier";
$lang["items_tax_1"] = "Tax 1";
$lang["items_tax_2"] = "Tax 2";
$lang["items_tax_category"] = "";
$lang["items_tax_percent"] = "Tax Percent";
$lang["items_tax_percent_number"] = "";
$lang["items_tax_percent_required"] = "Tax Percent is a required field.";
$lang["items_tax_percents"] = "Tax Percent(s)";
$lang["items_temp"] = "";
$lang["items_type"] = "Item Type";
$lang["items_unit_price"] = "Retail Price";
$lang["items_unit_price_number"] = "Unit price must be a number.";
+4
View File
@@ -1,6 +1,10 @@
<?php
$lang["module_attributes"] = "";
$lang["module_attributes_desc"] = "";
$lang["module_both"] = "Both";
$lang["module_cashups"] = "";
$lang["module_cashups_desc"] = "";
$lang["module_config"] = "Configuration";
$lang["module_config_desc"] = "Change OSPOS's Configuration.";
$lang["module_customers"] = "Customers";
@@ -35,6 +35,7 @@ $lang["receivings_register"] = "Items Receiving";
$lang["receivings_requisition"] = "Requisition";
$lang["receivings_return"] = "Return";
$lang["receivings_select_supplier"] = "Select Supplier (Optional)";
$lang["receivings_ship_pack"] = "";
$lang["receivings_start_typing_supplier_name"] = "Start Typing Supplier's name...";
$lang["receivings_stock"] = "";
$lang["receivings_stock_destination"] = "Stock Destination";
+13 -2
View File
@@ -1,12 +1,14 @@
<?php
$lang["reports_all"] = "All";
$lang["reports_authority"] = "";
$lang["reports_canceled"] = "Canceled";
$lang["reports_categories"] = "Categories";
$lang["reports_categories_summary_report"] = "Categories Summary Report";
$lang["reports_category"] = "Category";
$lang["reports_code_canceled"] = "CNL";
$lang["reports_code_invoice"] = "INV";
$lang["reports_code_pos"] = "";
$lang["reports_code_quote"] = "Q";
$lang["reports_code_return"] = "RET";
$lang["reports_code_type"] = "Type";
@@ -30,7 +32,9 @@ $lang["reports_detailed_reports"] = "Detailed Reports";
$lang["reports_detailed_requisition_report"] = "";
$lang["reports_detailed_sales_report"] = "Detailed Transactions Report";
$lang["reports_discount"] = "Discount";
$lang["reports_discount_fixed"] = "";
$lang["reports_discount_percent"] = "Discount Percent";
$lang["reports_discount_type"] = "";
$lang["reports_discounts"] = "Discounts";
$lang["reports_discounts_summary_report"] = "Discounts Summary Report";
$lang["reports_earned"] = "Points Earned";
@@ -60,8 +64,10 @@ $lang["reports_items"] = "Items";
$lang["reports_items_purchased"] = "Items Purchased";
$lang["reports_items_received"] = "Items Received";
$lang["reports_items_summary_report"] = "Items Summary Report";
$lang["reports_jurisdiction"] = "";
$lang["reports_low_inventory"] = "";
$lang["reports_low_inventory_report"] = "";
$lang["reports_low_sell_quantity"] = "";
$lang["reports_more_than_zero"] = "More than zero";
$lang["reports_name"] = "Name";
$lang["reports_no_reports_to_display"] = "No Items to display.";
@@ -96,6 +102,8 @@ $lang["reports_sale_type"] = "Transaction Type";
$lang["reports_sales"] = "Transactions";
$lang["reports_sales_amount"] = "Transactions amount";
$lang["reports_sales_summary_report"] = "Transactions Summary Report";
$lang["reports_sales_taxes"] = "";
$lang["reports_sales_taxes_summary_report"] = "";
$lang["reports_serial_number"] = "Serial Number";
$lang["reports_sold_by"] = "Sold By";
$lang["reports_sold_to"] = "Sold To";
@@ -108,15 +116,18 @@ $lang["reports_supplier"] = "Supplier";
$lang["reports_suppliers"] = "Suppliers";
$lang["reports_suppliers_summary_report"] = "Suppliers Summary Report";
$lang["reports_tax"] = "Tax";
$lang["reports_tax_category"] = "";
$lang["reports_tax_percent"] = "Tax Percent";
$lang["reports_tax_rate"] = "";
$lang["reports_taxes"] = "Taxes";
$lang["reports_taxes_summary_report"] = "Taxes Summary Report";
$lang["reports_total"] = "Total";
$lang["reports_total_inventory_value"] = "Total Inventory Value";
$lang["reports_total_low_sell_quantity"] = "";
$lang["reports_total_quantity"] = "Total Quantity";
$lang["reports_total_retail"] = "Total Inv. Retail Value";
$lang["reports_type"] = "Type";
$lang["reports_unit_price"] = "Retail Price";
$lang["reports_used"] = "Points Used";
$lang["reports_work_orders"] = "Work Orders";
$lang["reports_zero_and_less"] = "Zero and less";
$lang["reports_total_retail"] = "Total Inv. Retail Value";
$lang["reports_total_quantity"] = "Total Quantity";
+19 -5
View File
@@ -3,9 +3,11 @@
$lang["customers_available_points"] = "Налични точки";
$lang["rewards_package"] = "Награди";
$lang["rewards_remaining_balance"] = "Оставащата стойност на точките за награда е ";
$lang["sales_account_number"] = "";
$lang["sales_add_payment"] = "Добавяне на плащане";
$lang["sales_amount_due"] = "Дължима сума";
$lang["sales_amount_tendered"] = "Предоставена сума";
$lang["sales_authorized_signature"] = "";
$lang["sales_cancel_sale"] = "Отказ";
$lang["sales_cash"] = "В брой";
$lang["sales_cash_deposit"] = "Депозит в брой";
@@ -17,8 +19,8 @@ $lang["sales_check_filter"] = "Проверка";
$lang["sales_comment"] = "Коментар";
$lang["sales_comments"] = "Коментари";
$lang["sales_complete_sale"] = "Завършен";
$lang["sales_confirm_cancel_sale"] = "Сигурни ли сте , че искате да изчистите тази продажба ? Всичко ще бъде изтрито!";
$lang["sales_confirm_delete"] = "";
$lang["sales_confirm_cancel_sale"] = "Сигурни ли сте, че искате да изчистите тази продажба? Всичко ще бъде изтрито.";
$lang["sales_confirm_delete"] = "Наистина ли искате да изтриете избраната Продажба (и)?";
$lang["sales_confirm_restore"] = "Наистина ли искате да възстановите избраната Продажба (и)?";
$lang["sales_credit"] = "Кредитна карта";
$lang["sales_credit_deposit"] = "Кредитен депозит";
@@ -28,6 +30,8 @@ $lang["sales_customer_discount"] = "Намаление";
$lang["sales_customer_email"] = "Електронна поща";
$lang["sales_customer_location"] = "Местоположение";
$lang["sales_customer_mailchimp_status"] = "Състояние на Mailchimp";
$lang["sales_customer_optional"] = "(Незадължително)";
$lang["sales_customer_required"] = "(Задължително)";
$lang["sales_customer_total"] = "Обща сума";
$lang["sales_date"] = "Дата на продажба";
$lang["sales_date_range"] = "Период от време";
@@ -42,7 +46,7 @@ $lang["sales_delete_unsuccessful"] = "Изтриването на продажб
$lang["sales_description_abbrv"] = "Описание.";
$lang["sales_discard"] = "Разпродажба";
$lang["sales_discard_quote"] = "";
$lang["sales_discount"] = "Намаление %";
$lang["sales_discount"] = "Намаление%";
$lang["sales_discount_included"] = "% Отстъпка";
$lang["sales_discount_short"] = "%";
$lang["sales_due"] = "Дължимото";
@@ -61,18 +65,24 @@ $lang["sales_giftcard_balance"] = "Gift Card Баланс";
$lang["sales_giftcard_number"] = "Gift Card Номер";
$lang["sales_group_by_category"] = "Групирайте по категория";
$lang["sales_group_by_type"] = "Групиране по тип";
$lang["sales_hsn"] = "";
$lang["sales_id"] = "Номер на продажба";
$lang["sales_include_prices"] = "Включва цени?";
$lang["sales_invoice"] = "Фактура";
$lang["sales_invoice_confirm"] = "Тази фактура ще бъде изпратена до";
$lang["sales_invoice_enable"] = "Създаване на фактура";
$lang["sales_invoice_filter"] = "Фактури";
$lang["sales_invoice_no_email"] = "Този клиент няма валиден имейл адрес";
$lang["sales_invoice_no_email"] = "Този клиент няма валиден имейл адрес.";
$lang["sales_invoice_number"] = "Фактура #";
$lang["sales_invoice_number_duplicate"] = "Номерът на фактурите трябва да е уникален.";
$lang["sales_invoice_sent"] = "Фактура, изпратена до";
$lang["sales_invoice_total"] = "";
$lang["sales_invoice_type_custom_invoice"] = "";
$lang["sales_invoice_type_custom_tax_invoice"] = "";
$lang["sales_invoice_type_invoice"] = "";
$lang["sales_invoice_type_tax_invoice"] = "";
$lang["sales_invoice_unsent"] = "Фактурата не можа да бъде изпратена до";
$lang["sales_invoice_update"] = "Recount";
$lang["sales_invoice_update"] = "Преизчисляване";
$lang["sales_item_insufficient_of_stock"] = "Елементът има недостатъчен запас.";
$lang["sales_item_name"] = "Име на предмета";
$lang["sales_item_number"] = "Предмет #";
@@ -106,6 +116,7 @@ $lang["sales_quote_number_duplicate"] = "Номерът на Цитат тряб
$lang["sales_quote_sent"] = "Цитат изпратен до";
$lang["sales_quote_unsent"] = "Цитатът не можа да бъде изпратен до";
$lang["sales_receipt"] = "Касова бележка";
$lang["sales_receipt_no_email"] = "Този клиент няма валиден имейл адрес.";
$lang["sales_receipt_number"] = "Продажба #";
$lang["sales_receipt_sent"] = "Разписката е изпратена до";
$lang["sales_receipt_unsent"] = "Разписката не бе изпратена до";
@@ -143,6 +154,8 @@ $lang["sales_suspended_sales"] = "Преустановен";
$lang["sales_table"] = "Маса";
$lang["sales_takings"] = "Ежедневни продажби";
$lang["sales_tax"] = "Данък";
$lang["sales_tax_id"] = "";
$lang["sales_tax_invoice"] = "";
$lang["sales_tax_percent"] = "Данък %";
$lang["sales_total"] = "Обща сума";
$lang["sales_total_tax_exclusive"] = "Без данък";
@@ -155,6 +168,7 @@ $lang["sales_unsuccessfully_updated"] = "Актуализацията на пр
$lang["sales_unsuspend"] = "Възстановяване";
$lang["sales_unsuspend_and_delete"] = "Action";
$lang["sales_update"] = "Актуализация";
$lang["sales_upi"] = "";
$lang["sales_work_order"] = "Работна поръчка";
$lang["sales_work_order_number"] = "Номер работна поръчка";
$lang["sales_work_order_number_duplicate"] = "Номерът на работната поръчка трябва да е уникален.";
+19 -15
View File
@@ -1,19 +1,23 @@
<?php
$lang["suppliers_account_number"] = "Account Number";
$lang["suppliers_agency_name"] = "Agency Name";
$lang["suppliers_cannot_be_deleted"] = "Could not delete selected Supplier(s). One or more have Sales.";
$lang["suppliers_company_name"] = "Company Name";
$lang["suppliers_company_name_required"] = "Company Name is a required field.";
$lang["suppliers_confirm_delete"] = "Are you sure you want to delete the selected Supplier(s)?";
$lang["suppliers_confirm_restore"] = "";
$lang["suppliers_error_adding_updating"] = "Supplier update or add failed.";
$lang["suppliers_new"] = "New Supplier";
$lang["suppliers_none_selected"] = "You have not selected Supplier(s) to delete.";
$lang["suppliers_one_or_multiple"] = "Supplier(s)";
$lang["suppliers_successful_adding"] = "You have successfully added Supplier";
$lang["suppliers_successful_deleted"] = "You have successfully deleted";
$lang["suppliers_successful_updating"] = "You have successfully updated Supplier";
$lang["suppliers_supplier"] = "Supplier";
$lang["suppliers_agency_name"] = "Име на агенцията";
$lang["suppliers_cannot_be_deleted"] = "Избраните доставчици не можаха да бъдат изтрити. Един или повече от тях имат продажби.";
$lang["suppliers_category"] = "";
$lang["suppliers_company_name"] = "Име на компанията";
$lang["suppliers_company_name_required"] = "Името на фирмата е задължително поле.";
$lang["suppliers_confirm_delete"] = "Наистина ли искате да изтриете избрания доставчик (и)?";
$lang["suppliers_confirm_restore"] = "Наистина ли искате да възстановите избраните доставчици?";
$lang["suppliers_cost"] = "";
$lang["suppliers_error_adding_updating"] = "Актуализацията или добавянето на доставчик не бе успешно.";
$lang["suppliers_goods"] = "";
$lang["suppliers_new"] = "Нов доставчик";
$lang["suppliers_none_selected"] = "Не сте избрали доставчик (и), който да изтриете.";
$lang["suppliers_one_or_multiple"] = "Доставчик (и)";
$lang["suppliers_successful_adding"] = "Вие успешно добавихте Доставчика";
$lang["suppliers_successful_deleted"] = "Вие успешно изтрихте";
$lang["suppliers_successful_updating"] = "Обновяването на доставчика е успешно";
$lang["suppliers_supplier"] = "Доставчик";
$lang["suppliers_supplier_id"] = "Id";
$lang["suppliers_update"] = "Update Supplier";
$lang["suppliers_tax_id"] = "";
$lang["suppliers_update"] = "Актуализиране на доставчик";
+77 -30
View File
@@ -1,32 +1,79 @@
<?php
$lang["taxes_add_exception"] = "Add Exception";
$lang["taxes_confirm_delete"] = "Are you sure you want to delete this Tax Code? This action cannot be undone.";
$lang["taxes_confirm_restore"] = "";
$lang["taxes_default_tax_category"] = "Default Tax Category";
$lang["taxes_error_adding_updating"] = "Tax Code add or update failed.";
$lang["taxes_new"] = "New Tax Code";
$lang["taxes_no_taxes_to_display"] = "No Taxes Code available to display.";
$lang["taxes_round_half_down"] = "Half Down";
$lang["taxes_round_half_even"] = "Half Even";
$lang["taxes_round_half_odd"] = "Half Odd";
$lang["taxes_round_half_up"] = "Half Up";
$lang["taxes_rounding_code"] = "Rounding Code";
$lang["taxes_sales_tax"] = "Sales Tax";
$lang["taxes_sales_tax_by_invoice"] = "Sales Tax by Invoice";
$lang["taxes_successful_deleted"] = "You have successfully deleted";
$lang["taxes_tax_category"] = "Tax Category";
$lang["taxes_tax_code"] = "Tax Code";
$lang["taxes_tax_code_cannot_be_deleted"] = "Tax Code delete failed.";
$lang["taxes_tax_code_name"] = "Tax Code Name";
$lang["taxes_tax_code_required"] = "Tax Code is a required field.";
$lang["taxes_tax_code_successful_deleted"] = "You have successfully deleted Tax Code";
$lang["taxes_tax_code_successful_updated"] = "You have successfully updated";
$lang["taxes_tax_code_successful_updating"] = "You have successfully updated Tax Code";
$lang["taxes_tax_code_successfully_added"] = "You have successfully added";
$lang["taxes_tax_code_type"] = "Tax Code Type";
$lang["taxes_tax_rate"] = "Tax Rate";
$lang["taxes_tax_rate_numeric"] = "Tax Rate must be a number.";
$lang["taxes_tax_rate_required"] = "Tax Rate is a required field.";
$lang["taxes_update"] = "Update Sales Category Tax";
$lang["taxes_vat_tax"] = "VAT Tax";
$lang["taxes_add_exception"] = "Добавяне на изключение";
$lang["taxes_cascade"] = "";
$lang["taxes_cascade_sequence"] = "";
$lang["taxes_city"] = "";
$lang["taxes_code"] = "";
$lang["taxes_confirm_delete"] = "Наистина ли искате да изтриете този данъчен кодекс? Това действие не може да бъде отменено.";
$lang["taxes_confirm_restore"] = "Наистина ли искате да възстановите избраните данъчни кодове?";
$lang["taxes_default_tax_category"] = "Стандартна данъчна категория";
$lang["taxes_default_tax_rate"] = "";
$lang["taxes_error_adding_updating"] = "Добавянето или актуализацията на данъчния код беше неуспешна.";
$lang["taxes_group_seq"] = "";
$lang["taxes_jurisdiction_name"] = "";
$lang["taxes_name"] = "";
$lang["taxes_new"] = "Нов данъчен код";
$lang["taxes_no_taxes_to_display"] = "Няма код за данъци, който да се показва.";
$lang["taxes_reporting_authority"] = "";
$lang["taxes_round_half_down"] = "Половина надолу";
$lang["taxes_round_half_even"] = "Равно";
$lang["taxes_round_half_odd"] = "Половин нечетно";
$lang["taxes_round_half_up"] = "Наполовина нагоре";
$lang["taxes_rounding_code"] = "Закръгляващ код";
$lang["taxes_sales_tax"] = "Данък върху продажбите";
$lang["taxes_sales_tax_by_invoice"] = "Данък върху продажбите по фактура";
$lang["taxes_sequence"] = "";
$lang["taxes_state"] = "";
$lang["taxes_successful_deleted"] = "Вие успешно изтрихте";
$lang["taxes_tax_categories"] = "";
$lang["taxes_tax_categories_configuration"] = "";
$lang["taxes_tax_categories_saved_successfully"] = "";
$lang["taxes_tax_categories_saved_unsuccessfully"] = "";
$lang["taxes_tax_category"] = "Данъчна категория";
$lang["taxes_tax_category_code"] = "";
$lang["taxes_tax_category_duplicate"] = "";
$lang["taxes_tax_category_invalid_chars"] = "";
$lang["taxes_tax_category_name"] = "";
$lang["taxes_tax_category_new"] = "";
$lang["taxes_tax_category_required"] = "";
$lang["taxes_tax_code"] = "Данъчен код";
$lang["taxes_tax_code_cannot_be_deleted"] = "Изтриването на данъчен код не бе успешно.";
$lang["taxes_tax_code_duplicate"] = "";
$lang["taxes_tax_code_invalid_chars"] = "";
$lang["taxes_tax_code_name"] = "Име на данъчния код";
$lang["taxes_tax_code_required"] = "Данъчният код е задължително поле.";
$lang["taxes_tax_code_successful_deleted"] = "Вие успешно изтрихте Данъчния код";
$lang["taxes_tax_code_successful_updated"] = "Актуализирахте успешно";
$lang["taxes_tax_code_successful_updating"] = "Успешно актуализирахте данъчния код";
$lang["taxes_tax_code_successfully_added"] = "Добавянето беше успешно";
$lang["taxes_tax_code_type"] = "Тип данъчен код";
$lang["taxes_tax_codes"] = "";
$lang["taxes_tax_codes_configuration"] = "";
$lang["taxes_tax_codes_saved_successfully"] = "";
$lang["taxes_tax_codes_saved_unsuccessfully"] = "";
$lang["taxes_tax_excluded"] = "";
$lang["taxes_tax_group"] = "";
$lang["taxes_tax_group_sequence"] = "";
$lang["taxes_tax_included"] = "";
$lang["taxes_tax_jurisdiction"] = "";
$lang["taxes_tax_jurisdiction_duplicate"] = "";
$lang["taxes_tax_jurisdiction_invalid_chars"] = "";
$lang["taxes_tax_jurisdiction_required"] = "";
$lang["taxes_tax_jurisdictions"] = "";
$lang["taxes_tax_jurisdictions_configuration"] = "";
$lang["taxes_tax_jurisdictions_saved_successfully"] = "";
$lang["taxes_tax_jurisdictions_saved_unsuccessfully"] = "";
$lang["taxes_tax_rate"] = "Данъчна ставка";
$lang["taxes_tax_rate_configuration"] = "";
$lang["taxes_tax_rate_error_adding_updating"] = "";
$lang["taxes_tax_rate_numeric"] = "Данъчната ставка трябва да е число.";
$lang["taxes_tax_rate_required"] = "Данъчната ставка е задължително поле.";
$lang["taxes_tax_rate_successful_updated"] = "";
$lang["taxes_tax_rate_successfully_added"] = "";
$lang["taxes_tax_rates"] = "";
$lang["taxes_tax_rates_configuration"] = "";
$lang["taxes_tax_rounding"] = "";
$lang["taxes_tax_type"] = "";
$lang["taxes_update"] = "Актуализиране на данъка върху продажбите";
$lang["taxes_vat_tax"] = "Данък ДДС";
@@ -0,0 +1,28 @@
<?php
$lang["attributes_attribute_value_invalid_chars"] = "";
$lang["attributes_confirm_delete"] = "";
$lang["attributes_definition_cannot_be_deleted"] = "";
$lang["attributes_definition_flags"] = "";
$lang["attributes_definition_group"] = "";
$lang["attributes_definition_id"] = "";
$lang["attributes_definition_name"] = "";
$lang["attributes_definition_name_required"] = "";
$lang["attributes_definition_one_or_multiple"] = "";
$lang["attributes_definition_successful_adding"] = "";
$lang["attributes_definition_successful_deleted"] = "";
$lang["attributes_definition_successful_updating"] = "";
$lang["attributes_definition_type"] = "";
$lang["attributes_definition_type_required"] = "";
$lang["attributes_definition_values"] = "";
$lang["attributes_new"] = "";
$lang["attributes_no_attributes_to_display"] = "";
$lang["attributes_receipt_visibility"] = "";
$lang["attributes_show_in_items"] = "";
$lang["attributes_show_in_items_visibility"] = "";
$lang["attributes_show_in_receipt"] = "";
$lang["attributes_show_in_receivings"] = "";
$lang["attributes_show_in_receivings_visibility"] = "";
$lang["attributes_show_in_sales"] = "";
$lang["attributes_show_in_sales_visibility"] = "";
$lang["attributes_update"] = "";
@@ -0,0 +1,10 @@
<?php
$lang["tables_all"] = "Vše";
$lang["tables_columns"] = "Sloupce";
$lang["tables_hide_show_pagination"] = "Zobrazit/skrýt stránkování";
$lang["tables_loading"] = "Nahrávám, prosím počkejte...";
$lang["tables_page_from_to"] = "Zobrazeno {0} až {1} z {2} řádků";
$lang["tables_refresh"] = "Obnovit";
$lang["tables_rows_per_page"] = "{0} řádků na stránku";
$lang["tables_toggle"] = "Přepnout";
+38
View File
@@ -0,0 +1,38 @@
<?php
$lang["cashups_amount"] = "";
$lang["cashups_amount_number"] = "";
$lang["cashups_amount_required"] = "";
$lang["cashups_cannot_be_deleted"] = "";
$lang["cashups_close_date"] = "";
$lang["cashups_close_employee"] = "";
$lang["cashups_closed_amount_card"] = "";
$lang["cashups_closed_amount_cash"] = "";
$lang["cashups_closed_amount_check"] = "";
$lang["cashups_closed_amount_due"] = "";
$lang["cashups_closed_amount_total"] = "";
$lang["cashups_closed_date"] = "";
$lang["cashups_confirm_delete"] = "";
$lang["cashups_confirm_restore"] = "";
$lang["cashups_date_number"] = "";
$lang["cashups_date_required"] = "";
$lang["cashups_description"] = "";
$lang["cashups_error_adding_updating"] = "";
$lang["cashups_id"] = "";
$lang["cashups_info"] = "";
$lang["cashups_is_deleted"] = "";
$lang["cashups_new"] = "";
$lang["cashups_no_cashups_to_display"] = "";
$lang["cashups_none_selected"] = "";
$lang["cashups_note"] = "";
$lang["cashups_one_or_multiple"] = "";
$lang["cashups_open_amount_cash"] = "";
$lang["cashups_open_date"] = "";
$lang["cashups_open_employee"] = "";
$lang["cashups_opened_date"] = "";
$lang["cashups_successful_adding"] = "";
$lang["cashups_successful_deleted"] = "";
$lang["cashups_successful_updating"] = "";
$lang["cashups_total"] = "";
$lang["cashups_transfer_amount_cash"] = "";
$lang["cashups_update"] = "";
+70
View File
@@ -0,0 +1,70 @@
<?php
$lang["common_address_1"] = "Adresa 1";
$lang["common_address_2"] = "Adresa 2";
$lang["common_city"] = "Město";
$lang["common_close"] = "Zavřít";
$lang["common_comments"] = "Podrobnosti";
$lang["common_common"] = "";
$lang["common_confirm_search"] = "Máte vybráno jeden nebo více řádků a tyto po po vyhledání nebudou vybrány. Chcete opravdu pokračovat s vyhledáváním?";
$lang["common_correct_errors"] = "";
$lang["common_country"] = "Země";
$lang["common_date"] = "Datum";
$lang["common_delete"] = "Smazat";
$lang["common_det"] = "podrobnosti";
$lang["common_download_import_template"] = "Stáhnout šablonu pro Excel (CSV)";
$lang["common_edit"] = "upravit";
$lang["common_email"] = "Email";
$lang["common_email_invalid_format"] = "Emailová adresa má špatný formát.";
$lang["common_export_excel"] = "Export do Excelu";
$lang["common_export_excel_no"] = "Ne";
$lang["common_export_excel_yes"] = "Ano";
$lang["common_fields_required_message"] = "Červená pole jsou vyžadována";
$lang["common_first_name"] = "Jméno";
$lang["common_first_name_required"] = "Jméno je vyžadováno.";
$lang["common_first_page"] = "První";
$lang["common_gender"] = "Pohlaví";
$lang["common_gender_female"] = "Ž";
$lang["common_gender_male"] = "M";
$lang["common_id"] = "Id";
$lang["common_import"] = "Import";
$lang["common_import_change_file"] = "Změnit";
$lang["common_import_excel"] = "Import z Excelu";
$lang["common_import_full_path"] = "Úplná cesta k souboru Excel je vyžadována";
$lang["common_import_remove_file"] = "Vyjmout";
$lang["common_import_select_file"] = "Vybrat soubor";
$lang["common_inv"] = "";
$lang["common_last_name"] = "Příjmení";
$lang["common_last_name_required"] = "Příjmení je vyžadováno.";
$lang["common_last_page"] = "Poslední";
$lang["common_learn_about_project"] = "pro získání dalších informací k projektu.";
$lang["common_list_of"] = "Seznam";
$lang["common_logout"] = "Odhlásit";
$lang["common_migration_needed"] = "";
$lang["common_new"] = "Nový";
$lang["common_no_persons_to_display"] = "Žádní zákazníci k zobrazení.";
$lang["common_none_selected_text"] = "bez výběru";
$lang["common_or"] = "Nebo";
$lang["common_phone_number"] = "Telefon";
$lang["common_phone_number_required"] = "";
$lang["common_please_visit_my"] = "Navštivte prosím";
$lang["common_powered_by"] = "Používá";
$lang["common_price"] = "Cena";
$lang["common_print"] = "Tisk";
$lang["common_remove"] = "Vyjmout";
$lang["common_required"] = "Vyžadováno";
$lang["common_restore"] = "Obnovit";
$lang["common_return_policy"] = "Podmínky pro vrácení";
$lang["common_search"] = "Hledat";
$lang["common_search_options"] = "Volby pro hledání";
$lang["common_searched_for"] = "Hledat";
$lang["common_state"] = "Stát";
$lang["common_submit"] = "Odeslat";
$lang["common_total_spent"] = "Celkem utraceno";
$lang["common_unknown"] = "Neznámý";
$lang["common_view_recent_sales"] = "Zobrazit nedávné prodeje";
$lang["common_website"] = "www-stránky";
$lang["common_welcome"] = "Vítejte";
$lang["common_welcome_message"] = "Vítejte v OSPOS, vyberte si z modulů dole pro pokračování.";
$lang["common_you_are_using_ospos"] = "Používáte Open Source Point Of Sale verze";
$lang["common_zip"] = "PSČ";
+276
View File
@@ -0,0 +1,276 @@
<?php
$lang["config_address"] = "Adresa společnosti";
$lang["config_address_required"] = "";
$lang["config_allow_duplicate_barcodes"] = "";
$lang["config_apostrophe"] = "";
$lang["config_backup_button"] = "";
$lang["config_backup_database"] = "";
$lang["config_barcode"] = "";
$lang["config_barcode_company"] = "";
$lang["config_barcode_configuration"] = "";
$lang["config_barcode_content"] = "";
$lang["config_barcode_first_row"] = "";
$lang["config_barcode_font"] = "";
$lang["config_barcode_formats"] = "";
$lang["config_barcode_generate_if_empty"] = "";
$lang["config_barcode_height"] = "";
$lang["config_barcode_id"] = "";
$lang["config_barcode_info"] = "";
$lang["config_barcode_layout"] = "";
$lang["config_barcode_name"] = "";
$lang["config_barcode_number"] = "";
$lang["config_barcode_number_in_row"] = "";
$lang["config_barcode_page_cellspacing"] = "";
$lang["config_barcode_page_width"] = "";
$lang["config_barcode_price"] = "";
$lang["config_barcode_second_row"] = "";
$lang["config_barcode_third_row"] = "";
$lang["config_barcode_tooltip"] = "";
$lang["config_barcode_type"] = "";
$lang["config_barcode_width"] = "";
$lang["config_bottom"] = "";
$lang["config_cash_decimals"] = "";
$lang["config_cash_decimals_tooltip"] = "";
$lang["config_cash_rounding"] = "";
$lang["config_center"] = "";
$lang["config_comma"] = "";
$lang["config_company"] = "";
$lang["config_company_change_image"] = "";
$lang["config_company_logo"] = "";
$lang["config_company_remove_image"] = "";
$lang["config_company_required"] = "";
$lang["config_company_select_image"] = "";
$lang["config_company_website_url"] = "";
$lang["config_country_codes"] = "";
$lang["config_country_codes_tooltip"] = "";
$lang["config_currency_decimals"] = "";
$lang["config_currency_symbol"] = "";
$lang["config_customer_reward"] = "";
$lang["config_customer_reward_duplicate"] = "";
$lang["config_customer_reward_enable"] = "";
$lang["config_customer_reward_invalid_chars"] = "";
$lang["config_customer_reward_required"] = "";
$lang["config_customer_sales_tax_support"] = "";
$lang["config_date_or_time_format"] = "";
$lang["config_datetimeformat"] = "";
$lang["config_decimal_point"] = "";
$lang["config_default_barcode_font_size_number"] = "";
$lang["config_default_barcode_font_size_required"] = "";
$lang["config_default_barcode_height_number"] = "";
$lang["config_default_barcode_height_required"] = "";
$lang["config_default_barcode_num_in_row_number"] = "";
$lang["config_default_barcode_num_in_row_required"] = "";
$lang["config_default_barcode_page_cellspacing_number"] = "";
$lang["config_default_barcode_page_cellspacing_required"] = "";
$lang["config_default_barcode_page_width_number"] = "";
$lang["config_default_barcode_page_width_required"] = "";
$lang["config_default_barcode_width_number"] = "";
$lang["config_default_barcode_width_required"] = "";
$lang["config_default_item_columns"] = "";
$lang["config_default_origin_tax_code"] = "";
$lang["config_default_receivings_discount"] = "";
$lang["config_default_receivings_discount_number"] = "";
$lang["config_default_receivings_discount_required"] = "";
$lang["config_default_sales_discount"] = "";
$lang["config_default_sales_discount_number"] = "";
$lang["config_default_sales_discount_required"] = "";
$lang["config_default_tax_category"] = "";
$lang["config_default_tax_code"] = "";
$lang["config_default_tax_jurisdiction"] = "";
$lang["config_default_tax_name_number"] = "";
$lang["config_default_tax_name_required"] = "";
$lang["config_default_tax_rate"] = "";
$lang["config_default_tax_rate_1"] = "";
$lang["config_default_tax_rate_2"] = "";
$lang["config_default_tax_rate_number"] = "";
$lang["config_default_tax_rate_required"] = "";
$lang["config_derive_sale_quantity"] = "";
$lang["config_derive_sale_quantity_tooltip"] = "";
$lang["config_dinner_table"] = "";
$lang["config_dinner_table_duplicate"] = "";
$lang["config_dinner_table_enable"] = "";
$lang["config_dinner_table_invalid_chars"] = "";
$lang["config_dinner_table_required"] = "";
$lang["config_dot"] = "";
$lang["config_email"] = "";
$lang["config_email_configuration"] = "";
$lang["config_email_mailpath"] = "";
$lang["config_email_protocol"] = "";
$lang["config_email_receipt_check_behaviour"] = "";
$lang["config_email_receipt_check_behaviour_always"] = "";
$lang["config_email_receipt_check_behaviour_last"] = "";
$lang["config_email_receipt_check_behaviour_never"] = "";
$lang["config_email_smtp_crypto"] = "";
$lang["config_email_smtp_host"] = "";
$lang["config_email_smtp_pass"] = "";
$lang["config_email_smtp_port"] = "";
$lang["config_email_smtp_timeout"] = "";
$lang["config_email_smtp_user"] = "";
$lang["config_enforce_privacy"] = "";
$lang["config_enforce_privacy_tooltip"] = "";
$lang["config_fax"] = "";
$lang["config_financial_year"] = "";
$lang["config_financial_year_apr"] = "";
$lang["config_financial_year_aug"] = "";
$lang["config_financial_year_dec"] = "";
$lang["config_financial_year_feb"] = "";
$lang["config_financial_year_jan"] = "";
$lang["config_financial_year_jul"] = "";
$lang["config_financial_year_jun"] = "";
$lang["config_financial_year_mar"] = "";
$lang["config_financial_year_may"] = "";
$lang["config_financial_year_nov"] = "";
$lang["config_financial_year_oct"] = "";
$lang["config_financial_year_sep"] = "";
$lang["config_gcaptcha_enable"] = "";
$lang["config_gcaptcha_secret_key"] = "";
$lang["config_gcaptcha_secret_key_required"] = "";
$lang["config_gcaptcha_site_key"] = "";
$lang["config_gcaptcha_site_key_required"] = "";
$lang["config_gcaptcha_tooltip"] = "";
$lang["config_general"] = "";
$lang["config_general_configuration"] = "";
$lang["config_giftcard_number"] = "";
$lang["config_giftcard_random"] = "";
$lang["config_giftcard_series"] = "";
$lang["config_include_hsn"] = "";
$lang["config_info"] = "";
$lang["config_info_configuration"] = "";
$lang["config_integrations"] = "";
$lang["config_invoice"] = "";
$lang["config_invoice_configuration"] = "";
$lang["config_invoice_default_comments"] = "";
$lang["config_invoice_email_message"] = "";
$lang["config_invoice_enable"] = "";
$lang["config_invoice_printer"] = "";
$lang["config_invoice_type"] = "";
$lang["config_jsprintsetup_required"] = "";
$lang["config_language"] = "";
$lang["config_last_used_invoice_number"] = "";
$lang["config_last_used_quote_number"] = "";
$lang["config_last_used_work_order_number"] = "";
$lang["config_left"] = "";
$lang["config_license"] = "";
$lang["config_license_configuration"] = "";
$lang["config_line_sequence"] = "";
$lang["config_lines_per_page"] = "";
$lang["config_lines_per_page_number"] = "";
$lang["config_lines_per_page_required"] = "";
$lang["config_locale"] = "";
$lang["config_locale_configuration"] = "";
$lang["config_locale_info"] = "";
$lang["config_location"] = "";
$lang["config_location_configuration"] = "";
$lang["config_location_info"] = "";
$lang["config_logout"] = "";
$lang["config_mailchimp"] = "";
$lang["config_mailchimp_api_key"] = "";
$lang["config_mailchimp_configuration"] = "";
$lang["config_mailchimp_key_successfully"] = "";
$lang["config_mailchimp_key_unsuccessfully"] = "";
$lang["config_mailchimp_lists"] = "";
$lang["config_mailchimp_tooltip"] = "";
$lang["config_message"] = "";
$lang["config_message_configuration"] = "";
$lang["config_msg_msg"] = "";
$lang["config_msg_msg_placeholder"] = "";
$lang["config_msg_pwd"] = "";
$lang["config_msg_pwd_required"] = "";
$lang["config_msg_src"] = "";
$lang["config_msg_src_required"] = "";
$lang["config_msg_uid"] = "";
$lang["config_msg_uid_required"] = "";
$lang["config_multi_pack_enabled"] = "";
$lang["config_none"] = "";
$lang["config_notify_alignment"] = "";
$lang["config_number_format"] = "";
$lang["config_number_locale"] = "";
$lang["config_number_locale_invalid"] = "";
$lang["config_number_locale_required"] = "";
$lang["config_number_locale_tooltip"] = "";
$lang["config_payment_options_order"] = "";
$lang["config_phone"] = "";
$lang["config_phone_required"] = "";
$lang["config_print_bottom_margin"] = "";
$lang["config_print_bottom_margin_number"] = "";
$lang["config_print_bottom_margin_required"] = "";
$lang["config_print_delay_autoreturn"] = "";
$lang["config_print_delay_autoreturn_number"] = "";
$lang["config_print_delay_autoreturn_required"] = "";
$lang["config_print_footer"] = "";
$lang["config_print_header"] = "";
$lang["config_print_left_margin"] = "";
$lang["config_print_left_margin_number"] = "";
$lang["config_print_left_margin_required"] = "";
$lang["config_print_receipt_check_behaviour"] = "";
$lang["config_print_receipt_check_behaviour_always"] = "";
$lang["config_print_receipt_check_behaviour_last"] = "";
$lang["config_print_receipt_check_behaviour_never"] = "";
$lang["config_print_right_margin"] = "";
$lang["config_print_right_margin_number"] = "";
$lang["config_print_right_margin_required"] = "";
$lang["config_print_silently"] = "";
$lang["config_print_top_margin"] = "";
$lang["config_print_top_margin_number"] = "";
$lang["config_print_top_margin_required"] = "";
$lang["config_quantity_decimals"] = "";
$lang["config_quote_default_comments"] = "";
$lang["config_receipt"] = "";
$lang["config_receipt_configuration"] = "";
$lang["config_receipt_default"] = "";
$lang["config_receipt_font_size"] = "";
$lang["config_receipt_font_size_number"] = "";
$lang["config_receipt_font_size_required"] = "";
$lang["config_receipt_info"] = "";
$lang["config_receipt_printer"] = "";
$lang["config_receipt_short"] = "";
$lang["config_receipt_show_company_name"] = "";
$lang["config_receipt_show_description"] = "";
$lang["config_receipt_show_serialnumber"] = "";
$lang["config_receipt_show_taxes"] = "";
$lang["config_receipt_show_total_discount"] = "";
$lang["config_receipt_template"] = "";
$lang["config_receiving_calculate_average_price"] = "";
$lang["config_recv_invoice_format"] = "";
$lang["config_register_mode_default"] = "";
$lang["config_return_policy_required"] = "";
$lang["config_reward"] = "";
$lang["config_reward_configuration"] = "";
$lang["config_right"] = "";
$lang["config_sales_invoice_format"] = "";
$lang["config_sales_quote_format"] = "";
$lang["config_saved_successfully"] = "";
$lang["config_saved_unsuccessfully"] = "";
$lang["config_show_office_group"] = "";
$lang["config_statistics"] = "";
$lang["config_statistics_tooltip"] = "";
$lang["config_stock_location"] = "";
$lang["config_stock_location_duplicate"] = "";
$lang["config_stock_location_invalid_chars"] = "";
$lang["config_stock_location_required"] = "";
$lang["config_suggestions_first_column"] = "";
$lang["config_suggestions_layout"] = "";
$lang["config_suggestions_second_column"] = "";
$lang["config_suggestions_third_column"] = "";
$lang["config_table"] = "";
$lang["config_table_configuration"] = "";
$lang["config_takings_printer"] = "";
$lang["config_tax"] = "";
$lang["config_tax_category"] = "";
$lang["config_tax_category_duplicate"] = "";
$lang["config_tax_category_invalid_chars"] = "";
$lang["config_tax_category_required"] = "";
$lang["config_tax_category_used"] = "";
$lang["config_tax_configuration"] = "";
$lang["config_tax_decimals"] = "";
$lang["config_tax_id"] = "";
$lang["config_tax_included"] = "";
$lang["config_theme"] = "";
$lang["config_thousands_separator"] = "";
$lang["config_timezone"] = "";
$lang["config_top"] = "";
$lang["config_use_destination_based_tax"] = "";
$lang["config_website"] = "";
$lang["config_work_order_enable"] = "";
$lang["config_work_order_format"] = "";
@@ -0,0 +1,54 @@
<?php
$lang["customers_account_number"] = "";
$lang["customers_account_number_duplicate"] = "";
$lang["customers_available_points"] = "";
$lang["customers_average"] = "";
$lang["customers_avg_discount"] = "";
$lang["customers_basic_information"] = "";
$lang["customers_cannot_be_deleted"] = "";
$lang["customers_company_name"] = "";
$lang["customers_confirm_delete"] = "";
$lang["customers_confirm_restore"] = "";
$lang["customers_consent"] = "";
$lang["customers_consent_required"] = "";
$lang["customers_customer"] = "";
$lang["customers_date"] = "";
$lang["customers_discount"] = "";
$lang["customers_discount_fixed"] = "";
$lang["customers_discount_percent"] = "";
$lang["customers_discount_type"] = "";
$lang["customers_email_duplicate"] = "";
$lang["customers_employee"] = "";
$lang["customers_error_adding_updating"] = "";
$lang["customers_excel_import_failed"] = "";
$lang["customers_excel_import_nodata_wrongformat"] = "";
$lang["customers_excel_import_partially_failed"] = "";
$lang["customers_excel_import_success"] = "";
$lang["customers_import_items_excel"] = "";
$lang["customers_mailchimp_activity_click"] = "";
$lang["customers_mailchimp_activity_lastopen"] = "";
$lang["customers_mailchimp_activity_open"] = "";
$lang["customers_mailchimp_activity_total"] = "";
$lang["customers_mailchimp_activity_unopen"] = "";
$lang["customers_mailchimp_email_client"] = "";
$lang["customers_mailchimp_info"] = "";
$lang["customers_mailchimp_member_rating"] = "";
$lang["customers_mailchimp_status"] = "";
$lang["customers_mailchimp_vip"] = "";
$lang["customers_max"] = "";
$lang["customers_min"] = "";
$lang["customers_new"] = "";
$lang["customers_none_selected"] = "";
$lang["customers_one_or_multiple"] = "";
$lang["customers_quantity"] = "";
$lang["customers_stats_info"] = "";
$lang["customers_successful_adding"] = "";
$lang["customers_successful_deleted"] = "";
$lang["customers_successful_updating"] = "";
$lang["customers_tax_code"] = "";
$lang["customers_tax_id"] = "";
$lang["customers_taxable"] = "";
$lang["customers_total"] = "";
$lang["customers_update"] = "";
$lang["rewards_package"] = "";
Loaded 100 of 759 files, more files were not shown because too many files have changed in this diff. Show more