More missing language elements and one bad reference to a config value.

This commit is contained in:
Steve Ireland
2018-01-07 14:06:19 -05:00
committed by jekkos
parent ba5fa39151
commit 7a55c2311e
13 changed files with 15 additions and 3 deletions

View File

@@ -151,6 +151,7 @@ $lang["config_line_sequence"] = "Line Sequence";
$lang["config_lines_per_page"] = "Lines per Page";
$lang["config_lines_per_page_number"] = "";
$lang["config_lines_per_page_required"] = "Lines per Page is a required field.";
$lang["config_lines_per_page_number"] = "Lines per Page must be a number.";
$lang["config_locale"] = "Localization";
$lang["config_locale_configuration"] = "Localization Configuration";
$lang["config_locale_info"] = "Localization Configuration Information";
@@ -244,6 +245,9 @@ $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"] = "The entered tax category already exists.";
$lang["config_tax_category_invalid_chars"] = "The entered tax category is invalid.";
$lang["config_tax_category_required"] = "The tax category is 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";

View File

@@ -9,6 +9,7 @@ $lang["customers_basic_information"] = "Information";
$lang["customers_cannot_be_deleted"] = "Could not delete selected customers, one or more of the selected customers has sales.";
$lang["customers_company_name"] = "Company";
$lang["customers_confirm_delete"] = "Are you sure you want to delete the selected customer(s)?";
$lang["customers_confirm_restore"] = "Are you sure you want to restore selected customers(s)?";
$lang["customers_customer"] = "Customer";
$lang["customers_discount"] = "Discount";
$lang["customers_email_duplicate"] = "Email Address is already present in the database.";

View File

@@ -4,6 +4,7 @@ $lang["employees_basic_information"] = "Information";
$lang["employees_cannot_be_deleted"] = "Unable to delete selected employee(s), one or more of the has processed sales or you are trying to delete your account.";
$lang["employees_change_password"] = "Change Password";
$lang["employees_confirm_delete"] = "Are you sure you want to delete the selected employee(s)?";
$lang["employees_confirm_restore"] = "Are you sure you want to restore selected employee(s)?";
$lang["employees_current_password"] = "Current Password";
$lang["employees_current_password_invalid"] = "Current Password is invalid.";
$lang["employees_employee"] = "Employee";

View File

@@ -3,6 +3,7 @@
$lang["expenses_add_item"] = "Add Expense";
$lang["expenses_cannot_be_deleted"] = "Could not delete Category Expense(s)";
$lang["expenses_confirm_delete"] = "Are you sure you want to delete the selected Expense?";
$lang["expenses_confirm_restore"] = "Are you sure you want to restore selected Expenses(s)?";
$lang["expenses_description"] = "Description";
$lang["expenses_error_adding_updating"] = "Error adding/updating Expense";
$lang["expenses_info"] = "Expense Info";

View File

@@ -14,6 +14,7 @@ $lang["giftcards_change_all_to_serialized"] = "Change All To Serialized";
$lang["giftcards_change_all_to_unserialized"] = "Change All To Unserialized";
$lang["giftcards_confirm_bulk_edit"] = "Are you sure you want to edit the selected Gift Card(s)?";
$lang["giftcards_confirm_delete"] = "Are you sure you want to delete the selected Gift Card(s)?";
$lang["giftcards_confirm_restore"] = "Are you sure you want to restore selected Gift Card(s)?";
$lang["giftcards_cost_price"] = "Wholesale Price";
$lang["giftcards_count"] = "Update Inventory";
$lang["giftcards_current_quantity"] = "Current Quantity";

View File

@@ -4,6 +4,7 @@ $lang["item_kits_add_item"] = "Add Item";
$lang["item_kits_all"] = "All";
$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"] = "Are you sure you want to restore selected Item Kit(s)?";
$lang["item_kits_description"] = "Item Kit Description";
$lang["item_kits_discount_percent"] = "Discount Percent";
$lang["item_kits_error_adding_updating"] = "Item Kit add or update failed.";

View File

@@ -36,6 +36,7 @@ $lang["receivings_requisition"] = "Requisition";
$lang["receivings_return"] = "Return";
$lang["receivings_select_supplier"] = "Select Supplier (Optional)";
$lang["receivings_start_typing_supplier_name"] = "Start Typing Supplier's name...";
$lang["receivings_stock"] = "Stock";
$lang["receivings_stock_destination"] = "Stock Destination";
$lang["receivings_stock_locaiton"] = "Stock Location";
$lang["receivings_stock_source"] = "Stock Source";

View File

@@ -37,6 +37,7 @@ $lang["reports_earned"] = "Points Earned";
$lang["reports_employee"] = "Employee";
$lang["reports_employees"] = "Employees";
$lang["reports_employees_summary_report"] = "Employees Summary Report";
$lang["reports_expenses"] = "Expenses";
$lang["reports_expenses_categories"] = "Expenses";
$lang["reports_expenses_categories_summary_report"] = "Expense Categories Summary Report";
$lang["reports_expenses_category"] = "Category";

View File

@@ -6,6 +6,7 @@ $lang["suppliers_cannot_be_deleted"] = "Could not delete selected Supplier(s). O
$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"] = "Are you sure you want to restore selected Supplier(s)?";
$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.";

View File

@@ -2,6 +2,7 @@
$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"] = "Are you sure you want to restore selected Tax Code(s)?";
$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";

View File

@@ -1017,7 +1017,7 @@ class Sale_lib
public function reset_cash_flags()
{
if($this->CI->lang->line('payment_options_order') != 'cashdebitcredit')
if($this->CI->config->item('payment_options_order') != 'cashdebitcredit')
{
$cash_mode = 1;
}

View File

@@ -58,6 +58,7 @@ class Detailed_sales extends Report
SUM(cost) AS cost,
SUM(profit) AS profit,
MAX(payment_type) AS payment_type,
MAX(sale_status) AS sale_status,
comment');
$this->db->from('sales_items_temp');
$this->db->where('sale_id', $sale_id);

View File

@@ -33,8 +33,6 @@ $(document).ready(function()
<button id="delete" class="btn btn-default btn-sm print_hide">
<span class="glyphicon glyphicon-trash">&nbsp</span><?php echo $this->lang->line("common_delete");?>
</button>
<!--<?php echo form_multiselect('filters[]', $filters, '', array('id'=>'filters', 'class'=>'selectpicker show-menu-arrow', 'data-selected-text-format'=>'count > 1', 'data-style'=>'btn-default btn-sm', 'data-width'=>'fit')); ?>-->
</div>
</div>