diff --git a/WHATS_NEW.txt b/WHATS_NEW.txt index 2d0365644..f1acccdc5 100644 --- a/WHATS_NEW.txt +++ b/WHATS_NEW.txt @@ -1,12 +1,12 @@ -* Ver. 2.1.0 -+ Various upgrades, too numerous to list here. -+ Removed dependancy on ofc upload library due to vulnerability found. -------------------------------------------------------------------------------- -* Ver. 2.0.2 -+ Fixed multiple giftcards issue per Bug #4 reported on Sourceforge where a - second giftcard added would have its balance set to $0 even if the sale did - not require the total of the second giftcard to pay the remaining amount due. -+ Small code cleanup -------------------------------------------------------------------------------- -* Upgrade to CodeIgniter 2.1.0 +* Ver. 2.1.0 ++ Various upgrades, too numerous to list here. ++ Removed dependancy on ofc upload library due to vulnerability found. +------------------------------------------------------------------------------- +* Ver. 2.0.2 ++ Fixed multiple giftcards issue per Bug #4 reported on Sourceforge where a + second giftcard added would have its balance set to $0 even if the sale did + not require the total of the second giftcard to pay the remaining amount due. ++ Small code cleanup +------------------------------------------------------------------------------- +* Upgrade to CodeIgniter 2.1.0 * Various small improvements \ No newline at end of file diff --git a/application/config/autoload.php b/application/config/autoload.php index fe5907cb9..9cd3f57ff 100644 --- a/application/config/autoload.php +++ b/application/config/autoload.php @@ -66,7 +66,6 @@ $autoload['libraries'] = array('database','form_validation','session','user_agen $autoload['helper'] = array('form','url','table','text','currency', 'html', 'download', 'directory'); - /* | ------------------------------------------------------------------- | Auto-load Config files diff --git a/application/config/config.php b/application/config/config.php index c5cd43a81..470cbf463 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -9,7 +9,7 @@ | | */ -$config['application_version'] = '2.1.1'; +$config['application_version'] = '2.2.0_RC1'; /* |-------------------------------------------------------------------------- @@ -262,7 +262,7 @@ $config['sess_expiration'] = 0; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = FALSE; $config['sess_use_database'] = TRUE; -$config['sess_table_name'] = 'sessions'; +$config['sess_table_name'] = 'ospos_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = FALSE; $config['sess_time_to_update'] = 300; diff --git a/application/config/migration.php b/application/config/migration.php index afa264562..f00855fd2 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -37,5 +37,4 @@ $config['migration_version'] = 0; $config['migration_path'] = APPPATH . 'migrations/'; -/* End of file migration.php */ -/* Location: ./application/config/migration.php */ \ No newline at end of file +/* End of file migration.php */ diff --git a/application/config/routes.php b/application/config/routes.php index 3ba3f7aa0..331fff2ff 100644 --- a/application/config/routes.php +++ b/application/config/routes.php @@ -56,6 +56,7 @@ $route['reports/specific_customer'] = "reports/specific_customer_input"; $route['reports/specific_employee'] = "reports/specific_employee_input"; $route['reports/specific_discount'] = "reports/specific_discount_input"; +$route['scaffolding_trigger'] = ""; $route['404_override'] = 'errors/page_missing'; diff --git a/application/controllers/items.php b/application/controllers/items.php index ad91bb66d..7f5b504f0 100644 --- a/application/controllers/items.php +++ b/application/controllers/items.php @@ -178,6 +178,7 @@ class Items extends Secure_area implements iData_controller $suggestions = $this->Item->get_custom10_suggestions($this->input->post('q')); echo implode("\n",$suggestions); } + /**END GARRISON ADDED**/ function get_row() @@ -270,6 +271,7 @@ class Items extends Secure_area implements iData_controller 'allow_alt_description'=>$this->input->post('allow_alt_description'), 'is_serialized'=>$this->input->post('is_serialized'), 'deleted'=>$this->input->post('is_deleted'), /** Parq 131215 **/ + 'custom1'=>$this->input->post('custom1'), /**GARRISON ADDED 4/21/2013**/ 'custom2'=>$this->input->post('custom2'),/**GARRISON ADDED 4/21/2013**/ 'custom3'=>$this->input->post('custom3'),/**GARRISON ADDED 4/21/2013**/ diff --git a/application/controllers/receivings.php b/application/controllers/receivings.php index 766fe1c02..7945064d7 100644 --- a/application/controllers/receivings.php +++ b/application/controllers/receivings.php @@ -193,5 +193,5 @@ class Receivings extends Secure_area $this->_reload(); } -} +} ?> \ No newline at end of file diff --git a/application/controllers/reports.php b/application/controllers/reports.php index 560f16c76..4e1e0fc1f 100644 --- a/application/controllers/reports.php +++ b/application/controllers/reports.php @@ -787,7 +787,7 @@ class Reports extends Secure_area $this->load->view("reports/tabular_details",$data); } - + function detailed_receivings($start_date, $end_date, $sale_type, $export_excel=0) { $this->load->model('reports/Detailed_receivings'); diff --git a/application/controllers/suppliers.php b/application/controllers/suppliers.php index 684e4c685..ba8ebf57b 100644 --- a/application/controllers/suppliers.php +++ b/application/controllers/suppliers.php @@ -127,5 +127,5 @@ class Suppliers extends Person_controller { return 360; } -} +} ?> \ No newline at end of file diff --git a/application/.htaccess b/application/language/.htaccess similarity index 100% rename from application/.htaccess rename to application/language/.htaccess diff --git a/application/language/en/common_lang.php b/application/language/en/common_lang.php index 3ddf42837..5b430fd63 100644 --- a/application/language/en/common_lang.php +++ b/application/language/en/common_lang.php @@ -1,41 +1,41 @@ \ No newline at end of file diff --git a/application/language/en/config_lang.php b/application/language/en/config_lang.php index 6c7686880..6f9a5a8ac 100644 --- a/application/language/en/config_lang.php +++ b/application/language/en/config_lang.php @@ -1,23 +1,23 @@ diff --git a/application/language/en/employees_lang.php b/application/language/en/employees_lang.php index a30c32b99..f70776bd7 100644 --- a/application/language/en/employees_lang.php +++ b/application/language/en/employees_lang.php @@ -1,27 +1,26 @@ diff --git a/application/language/en/error_lang.php b/application/language/en/error_lang.php index cfcd2f0c9..eedaaaac9 100644 --- a/application/language/en/error_lang.php +++ b/application/language/en/error_lang.php @@ -1,4 +1,4 @@ diff --git a/application/language/en/giftcards_lang.php b/application/language/en/giftcards_lang.php index cfd96a74e..bc79fbc2d 100644 --- a/application/language/en/giftcards_lang.php +++ b/application/language/en/giftcards_lang.php @@ -1,65 +1,64 @@ diff --git a/application/language/en/receivings_lang.php b/application/language/en/receivings_lang.php index 2564d4d42..5212e5b22 100644 --- a/application/language/en/receivings_lang.php +++ b/application/language/en/receivings_lang.php @@ -1,26 +1,26 @@ diff --git a/application/language/en/reports_lang.php b/application/language/en/reports_lang.php index e41d34242..4a228da09 100644 --- a/application/language/en/reports_lang.php +++ b/application/language/en/reports_lang.php @@ -28,9 +28,7 @@ $lang['reports_total'] = 'Total'; $lang['reports_tax'] = 'Tax'; $lang['reports_profit'] = 'Profit'; $lang['reports_report_input'] = 'Report Input'; -$lang['reports_discount'] = 'Discount'; $lang['reports_type'] = 'Type'; -$lang['reports_discount'] = 'A discount greater than '; $lang['reports_date_range'] = 'Date Range'; $lang['reports_today'] = 'Today'; $lang['reports_yesterday'] = 'Yesterday'; @@ -86,4 +84,5 @@ $lang['reports_detailed_receivings_report'] = 'Detailed Receivings Report'; $lang['reports_sale_type'] = 'Sale Type'; $lang['reports_all'] = 'All'; $lang['reports_returns'] = 'Returns'; +$lang['reports_discount'] = 'Discounts'; ?> diff --git a/application/language/en/sales_lang.php b/application/language/en/sales_lang.php index dc39c937f..cdb53f9a8 100644 --- a/application/language/en/sales_lang.php +++ b/application/language/en/sales_lang.php @@ -1,45 +1,41 @@ \ No newline at end of file diff --git a/application/language/en/suppliers_lang.php b/application/language/en/suppliers_lang.php index 97191a352..8f90785d4 100644 --- a/application/language/en/suppliers_lang.php +++ b/application/language/en/suppliers_lang.php @@ -1,17 +1,17 @@ diff --git a/application/language/english/common_lang.php b/application/language/english/common_lang.php deleted file mode 100644 index 5b430fd63..000000000 --- a/application/language/english/common_lang.php +++ /dev/null @@ -1,41 +0,0 @@ - \ No newline at end of file diff --git a/application/language/english/config_lang.php b/application/language/english/config_lang.php deleted file mode 100644 index b0c3f02f9..000000000 --- a/application/language/english/config_lang.php +++ /dev/null @@ -1,36 +0,0 @@ - \ No newline at end of file diff --git a/application/language/english/customers_lang.php b/application/language/english/customers_lang.php deleted file mode 100644 index 3f8804144..000000000 --- a/application/language/english/customers_lang.php +++ /dev/null @@ -1,16 +0,0 @@ - diff --git a/application/language/english/employees_lang.php b/application/language/english/employees_lang.php deleted file mode 100644 index 5f77c5a85..000000000 --- a/application/language/english/employees_lang.php +++ /dev/null @@ -1,27 +0,0 @@ - diff --git a/application/language/english/error_lang.php b/application/language/english/error_lang.php deleted file mode 100644 index c7c178e9f..000000000 --- a/application/language/english/error_lang.php +++ /dev/null @@ -1,4 +0,0 @@ - \ No newline at end of file diff --git a/application/language/english/giftcards_lang.php b/application/language/english/giftcards_lang.php deleted file mode 100644 index 5bb1766be..000000000 --- a/application/language/english/giftcards_lang.php +++ /dev/null @@ -1,69 +0,0 @@ - \ No newline at end of file diff --git a/application/language/english/item_kits_lang.php b/application/language/english/item_kits_lang.php deleted file mode 100644 index 601fae62d..000000000 --- a/application/language/english/item_kits_lang.php +++ /dev/null @@ -1,20 +0,0 @@ - diff --git a/application/language/english/items_lang.php b/application/language/english/items_lang.php deleted file mode 100644 index 2f5b7b03c..000000000 --- a/application/language/english/items_lang.php +++ /dev/null @@ -1,81 +0,0 @@ - \ No newline at end of file diff --git a/application/language/english/login_lang.php b/application/language/english/login_lang.php deleted file mode 100644 index db5f2753e..000000000 --- a/application/language/english/login_lang.php +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/application/language/english/module_lang.php b/application/language/english/module_lang.php deleted file mode 100644 index d45a4b6b4..000000000 --- a/application/language/english/module_lang.php +++ /dev/null @@ -1,34 +0,0 @@ - diff --git a/application/language/english/receivings_lang.php b/application/language/english/receivings_lang.php deleted file mode 100644 index efeb84355..000000000 --- a/application/language/english/receivings_lang.php +++ /dev/null @@ -1,26 +0,0 @@ - diff --git a/application/language/english/reports_lang.php b/application/language/english/reports_lang.php deleted file mode 100644 index b37841815..000000000 --- a/application/language/english/reports_lang.php +++ /dev/null @@ -1,88 +0,0 @@ - \ No newline at end of file diff --git a/application/language/english/sales_lang.php b/application/language/english/sales_lang.php deleted file mode 100644 index ee82b2be7..000000000 --- a/application/language/english/sales_lang.php +++ /dev/null @@ -1,82 +0,0 @@ - \ No newline at end of file diff --git a/application/language/english/suppliers_lang.php b/application/language/english/suppliers_lang.php deleted file mode 100644 index 6745f1e6c..000000000 --- a/application/language/english/suppliers_lang.php +++ /dev/null @@ -1,17 +0,0 @@ - \ No newline at end of file diff --git a/application/language/nl-BE/common_lang.php b/application/language/nl-BE/common_lang.php index 47cd11b35..415efc9b6 100755 --- a/application/language/nl-BE/common_lang.php +++ b/application/language/nl-BE/common_lang.php @@ -15,7 +15,7 @@ $lang['common_address_2']='Adres 2'; $lang['common_city']='Stad'; $lang['common_state']='Provincie'; $lang['common_zip']='Postcode'; -$lang['common_country']='Country'; +$lang['common_country']='Land'; $lang['common_comments']='Commentaar'; $lang['common_edit']='bewerk'; $lang['common_search']='Zoek'; diff --git a/application/language/nl-BE/customers_lang.php b/application/language/nl-BE/customers_lang.php index 56d7de000..6277e342b 100755 --- a/application/language/nl-BE/customers_lang.php +++ b/application/language/nl-BE/customers_lang.php @@ -6,11 +6,11 @@ $lang['customers_confirm_delete']='Bent u zeker dat u de geselecteerde klanten w $lang['customers_none_selected']='U hebt geen klanten geselecteerd'; $lang['customers_error_adding_updating'] = 'Fout bij het toevoegen/bewerken van een klant'; $lang['customers_successful_adding']='Klant succesvol aangemaakt'; -$lang['customers_successful_updating']='Wijzingen klantgegevens bewaard voor '; +$lang['customers_successful_updating']='Wijzigingen klantgegevens bewaard voor '; $lang['customers_successful_deleted']='Er werd(en)'; $lang['customers_one_or_multiple']='klant(en) verwijderd'; $lang['customers_cannot_be_deleted']='De geselecteerde klanten konden niet worden verwijderd. Eén of meerdere klanten hebben verkoopsgegevens in de database zitten.'; $lang['customers_basic_information']='Klantgegevens'; -$lang['customers_account_number']='Btw nummer'; +$lang['customers_account_number']='Btwnummer'; $lang['customers_taxable']='Belastbaar'; ?> \ No newline at end of file diff --git a/application/language/nl-BE/employees_lang.php b/application/language/nl-BE/employees_lang.php index 7f8955011..8266fc80e 100755 --- a/application/language/nl-BE/employees_lang.php +++ b/application/language/nl-BE/employees_lang.php @@ -1,6 +1,6 @@ diff --git a/application/language/nl-BE/module_lang.php b/application/language/nl-BE/module_lang.php index 5d7f57da2..95443e686 100755 --- a/application/language/nl-BE/module_lang.php +++ b/application/language/nl-BE/module_lang.php @@ -28,7 +28,7 @@ $lang['module_receivings_desc'] = 'Verwerk binnenkomende orders'; $lang['module_giftcards'] = 'Cadeaubons'; $lang['module_giftcards_desc'] = 'Zoek, bewerk, verwijder en voeg cadeaubons toe'; -$lang['module_item_kits'] = 'Item Kits'; -$lang['module_item_kits_desc'] = 'Zoek, bewerk, verwijder en voeg item kits toe'; +$lang['module_item_kits'] = 'Productsets'; +$lang['module_item_kits_desc'] = 'Zoek, bewerk, verwijder en voeg productsets toe'; ?> diff --git a/application/language/nl-BE/reports_lang.php b/application/language/nl-BE/reports_lang.php index b87c62988..9975b6af3 100755 --- a/application/language/nl-BE/reports_lang.php +++ b/application/language/nl-BE/reports_lang.php @@ -73,9 +73,16 @@ $lang['reports_reorder_level'] = 'Reorder Level'; $lang['reports_low_inventory_report'] = 'Rapport Herbevoorrading'; $lang['reports_item_name'] = 'Product Naam'; $lang['reports_inventory_summary_report'] = 'Rapport Overzicht Vooraad'; +$lang['reports_payment_type'] = 'Payment Type'; $lang['reports_payments_summary_report'] = 'Overzicht Betalingen'; $lang['reports_payments'] = 'Betalingen'; $lang['reports_sale_type'] = 'Type'; +$lang['reports_receivings'] = 'Orders'; +$lang['reports_received_by'] = 'Ontvangen door'; +$lang['reports_supplied_by'] = 'Geleverd door'; +$lang['reports_items_received'] = 'Items Ontvangen'; +$lang['reports_detailed_receivings_report'] = 'Gedetailleerd Raport Orders'; $lang['reports_all'] = 'Alle'; $lang['reports_returns'] = 'Retour'; +$lang['reports_discount'] = 'Kortingen'; ?> \ No newline at end of file diff --git a/application/language/nl-BE/sales_lang.php b/application/language/nl-BE/sales_lang.php index 2f742f340..460c40472 100755 --- a/application/language/nl-BE/sales_lang.php +++ b/application/language/nl-BE/sales_lang.php @@ -4,24 +4,15 @@ $lang['sales_giftcard']='Cadeaubon'; $lang['sales_register']='Kassa'; $lang['sales_mode']='Type Registratie'; $lang['sales_new_item'] = 'Nieuw Product'; -$lang['sales_update']='Bewerk Ticket'; -$lang['sales_basic_information']='Ticket gegevens'; -$lang['sales_item_name'] = 'Productnaam'; -$lang['sales_item_name_short'] = 'Naam'; -$lang['sales_item_number'] = 'Productnummer'; -$lang['sales_inventory'] = 'Stock'; -$lang['sales_item_number_short'] = 'Prnr.'; +$lang['sales_item_name'] = 'Naam'; +$lang['sales_item_number'] = 'Product #'; $lang['sales_new_customer'] = 'Nieuwe klant'; $lang['sales_customer'] = 'Klant'; $lang['sales_no_items_in_cart']='Er zijn geen aankopen geselecteerd'; $lang['sales_total']='Totaal'; -$lang['sales_total_without_tax']='Totaal excl. VAT'; $lang['sales_tax_percent']='VAT %'; $lang['sales_price']='Ecxl. VAT'; -$lang['sales_taxed_price']='Prijs'; -$lang['sales_taxed_price_short']='Prijs'; $lang['sales_quantity']='Aantal'; -$lang['sales_quantity_short']='Aant.'; $lang['sales_discount']='%'; $lang['sales_edit']='Bewerk'; $lang['sales_payment']='Betaalmethode'; @@ -34,66 +25,59 @@ $lang['sales_start_typing_customer_name']='Typ naam klant...'; $lang['sales_sub_total']='Subtotaal excl. VAT'; $lang['sales_tax']='VAT'; $lang['sales_comment']='Commentaar'; -$lang['sales_date']='Datum'; -$lang['sales_delete_entire_sale']='Verwijder'; -$lang['sales_delete_confirmation']='Delete'; -$lang['sales_delete_confirmation']='Bent u zeker dat u deze aankoop wil verwijderen?'; -$lang['sales_employee']='Werknemer'; -$lang['sales_invoice_number']='Factuur #'; -$lang['sales_invoice']='Factuur'; $lang['sales_unable_to_add_item']='Onmogelijk om product toe te voegen'; -$lang['sales_successfully_updated']='Wijzigingen bewaard voor ticket'; -$lang['sales_unsuccessfully_updated']='Fout bij het bewaren van ticket'; -$lang['sales_date_required']='Datum moet ingevuld worden'; -$lang['sales_date_type']='Geen correcte datum ingevuld'; -$lang['sales_invoice_number_type']='Geen correcte factuurnummer ingevuld (yyyy/xxx)'; $lang['sales_sale_for_customer']='Klant:'; $lang['sales_remove_customer']='Verwijder Klant'; $lang['sales_error_editing_item']='Fout bij bewerken'; $lang['sales_complete_sale']='Bevestig'; $lang['sales_cancel_sale']='Annuleer'; $lang['sales_add_payment']='Betaal'; -$lang['sales_receipt']='Ticket'; $lang['sales_receipt_number']='Ticket #'; $lang['sales_id']='Nummer Verkoop '; $lang['sales_sale']='Verkoop'; $lang['sales_return']='Retour'; -$lang['sales_return_policy']='Retourvoorwaarden'; -$lang['sales_no_description'] = 'Geen'; $lang['sales_confirm_finish_sale'] = 'Bent u zeker dat u deze aankoop wil invoeren? Dit kan niet ongedaan gemaakt worden.'; $lang['sales_confirm_cancel_sale'] = 'Bent u zeker dat u deze aankoop wil verwijderen?'; -$lang['sales_confirm_delete']='Bent u zeker dat u de geselecteerde aankopen wil verwijderen?'; -$lang['sales_successful_deleted']='Er werd(en)'; -$lang['sales_one_or_multiple']='aanko(o)p(en) verwijderd'; -$lang['sales_none_selected']='U hebt geen aankopen geselecteerd'; -$lang['sales_cannot_be_deleted']='De geselecteerde aankopen konden niet worden verwijderd.'; $lang['sales_cash'] = 'Contant'; $lang['sales_check'] = 'Waardebon'; $lang['sales_debit'] = 'Bancontact'; $lang['sales_credit'] = 'Kredietkaart'; +$lang['sales_giftcard'] = 'Cadeaubon'; $lang['sales_amount_tendered'] = 'Ontvangen bedrag'; -$lang['sales_check_due'] = 'Waardebon terug'; $lang['sales_change_due'] = 'Wisselgeld terug'; -$lang['sales_payment_total'] = "Betaald Bedrag"; -$lang['sales_payment_type'] = "Type"; -$lang['sales_payment_amount'] = "Bedrag"; -$lang['sales_print_invoice'] = "Factuur"; -$lang['sales_invoice_amount_due'] = "Te betalen"; -$lang['sales_payment_amount_due'] = "Resterend"; $lang['sales_payment_not_cover_total'] = 'Betaalde hoeveelheid is onvoldoende'; $lang['sales_transaction_failed'] = 'Transactie mislukt'; $lang['sales_must_enter_numeric'] = 'Het ontvangen bedrag moet een numerieke waarde zijn'; -$lang['sales_no_sales_to_display']='Er werden geen aankopen gevonden'; +$lang['sales_must_enter_numeric_giftcard'] = 'Er moet een geldige code worden ingevuld voor de cadeaubon'; $lang['sales_serial'] = 'Nummer'; -$lang['sales_send_invoice'] = 'Verstuur factuur'; -$lang['sales_invoice_confirm'] = 'Deze factuur zal verstuurd worden naar '; -$lang['sales_invoice_sent'] = 'Factuur verstuurd naar '; -$lang['sales_invoice_mail_body'] = 'In bijlage vindt u uw factuur.

mvg,

Runwalk Herentals'; -$lang['sales_invoice_unsent'] = 'Fout bij het versturen van factuur naar '; -$lang['sales_invoice_no_email'] = 'Er werd geen email adres gevonden voor deze klant'; $lang['sales_description_abbrv'] = 'Omschr.'; -$lang['sales_invoices_filter'] = 'Filter aankopen op'; $lang['sales_item_out_of_stock'] = 'Product is niet meer in voorraad'; -$lang['sales_item_insufficient_of_stock'] = 'Product is niet meer in voorraad'; +$lang['sales_item_insufficient_of_stockfi'] = 'Product is niet meer in voorraad'; $lang['sales_quantity_less_than_zero'] = 'Waarschuwing, de gewenste hoeveelheid is onvoldoende. U kunt deze aankoop verwerken, maar kijk toch even de voorraad na.'; +$lang['sales_successfully_updated']='Wijzigingen bewaard voor ticket'; +$lang['sales_unsuccessfully_updated']='Fout bij het bewaren van ticket'; +$lang['sales_edit_sale']='Bewerk Ticket'; +$lang['sales_employee']='Werknemer'; +$lang['sales_delete_successful']='De geselecteerde aanko(o)p(en) werden verwijderd'; +$lang['sales_delete_unsuccessful']='De geselecteerde aankopen konden niet worden verwijderd.'; +$lang['sales_delete_entire_sale']='Verwijder'; +$lang['sales_delete_confirmation']='Bent u zeker dat u deze aankoop wil verwijderen?'; +$lang['sales_date']='Datum'; +$lang['sales_delete_successful'] = 'U hebt een aankoop verwijderd'; +$lang['sales_delete_unsuccessful'] = 'U kan deze aankoop niet verwijderen'; +$lang['sales_suspend_sale'] = 'Bewaar aankoop'; +$lang['sales_confirm_suspend_sale'] = 'Are you sure you want to suspend this sale?'; +$lang['sales_suspended_sales'] = 'Bewaarde Aankopen'; +$lang['sales_suspended_sale_id'] = 'ID'; +$lang['sales_date'] = 'Date'; +$lang['sales_comments'] = 'Commentaar'; +$lang['sales_unsuspend_and_delete'] = ''; +$lang['sales_unsuspend'] = 'Hervat'; +$lang['sales_successfully_suspended_sale'] = 'Uw aankoop werd met sucess bewaard'; +$lang['sales_email_receipt'] = 'E-Mail Ticket'; +$lang['sales_discount_short']='%'; +$lang["sales_discount_included"]='% Korting'; +$lang['sales_sale_time']='Datum'; +$lang['sales_payments_total'] = 'Betaald bedrag'; +$lang['sales_amount_due'] = 'Te betalen'; ?> \ No newline at end of file diff --git a/application/language/nl-BE/suppliers_lang.php b/application/language/nl-BE/suppliers_lang.php index 266e00128..d75e45b5b 100755 --- a/application/language/nl-BE/suppliers_lang.php +++ b/application/language/nl-BE/suppliers_lang.php @@ -1,5 +1,5 @@ db->or_like("giftcards.person_id",$this->db->escape_like_str($search)); $this->db->where('deleted',$this->db->escape('0')); $this->db->order_by("giftcard_number", "asc"); - return $this->db->get(); + return $this->db->get(); } public function get_giftcard_value( $giftcard_number ) diff --git a/application/models/item.php b/application/models/item.php index f38fd971e..ab9a9c8f1 100644 --- a/application/models/item.php +++ b/application/models/item.php @@ -236,7 +236,7 @@ class Item extends CI_Model /** GARRISON ADDED 4/22/2013 **/ //Search by custom fields - $this->db->from('items'); + $this->db->from('items'); $this->db->like('custom1', $search); $this->db->or_like('custom2', $search); $this->db->or_like('custom3', $search); @@ -253,7 +253,7 @@ class Item extends CI_Model foreach($by_name->result() as $row) { $suggestions[]=$row->name; - } + } /** END GARRISON ADDED **/ //only return $limit suggestions @@ -303,7 +303,7 @@ class Item extends CI_Model /** GARRISON ADDED 4/22/2013 **/ //Search by custom fields $this->db->from('items'); - $this->db->where('deleted',0); + $this->db->where('deleted',0); $this->db->like('custom1', $search); $this->db->or_like('custom2', $search); $this->db->or_like('custom3', $search); @@ -319,7 +319,7 @@ class Item extends CI_Model foreach($by_description->result() as $row) { $suggestions[]=$row->item_id.'|'.$row->name; - } + } /** END GARRISON ADDED **/ //only return $limit suggestions @@ -383,7 +383,7 @@ class Item extends CI_Model } return $suggestions; - } + } function get_custom2_suggestions($search) { diff --git a/application/models/person.php b/application/models/person.php index d44f52456..5461f1041 100644 --- a/application/models/person.php +++ b/application/models/person.php @@ -96,7 +96,7 @@ class Person extends CI_Model // $this->db->from('people'); // $this->db->where('deleted',0); // $this->db->where('person_id',$this->db->escape($search)); -// $this->db->like('first_name',$this->db->escape_like_str($search)); +// $this->db->like('first_name',$this->db->escape_like_str($search)); // $this->db->or_like('last_name',$this->db->escape_like_str($search)); // $this->db->or_like("CONCAT(`first_name`,' ',`last_name`)",$this->db->escape_like_str($search)); // $this->db->or_like('email',$search); @@ -114,7 +114,7 @@ class Person extends CI_Model { $suggestions = array_slice($suggestions, 0,$limit); } - return $suggestions; + return $suggestions; } /* diff --git a/application/models/receiving.php b/application/models/receiving.php index 868aea60c..48ae9dca1 100644 --- a/application/models/receiving.php +++ b/application/models/receiving.php @@ -115,4 +115,4 @@ class Receiving extends CI_Model } -?> +?> diff --git a/application/views/items/form_bulk.php b/application/views/items/form_bulk.php index accbdfa30..1ec3d67d7 100644 --- a/application/views/items/form_bulk.php +++ b/application/views/items/form_bulk.php @@ -134,7 +134,6 @@ echo form_open('items/bulk_update/',array('id'=>'item_form')); lang->line('items_allow_alt_description').':', 'allow_alt_description',array('class'=>'wide')); ?>
-
diff --git a/application/views/partial/header.php b/application/views/partial/header.php index 722c5ac8a..3f65a343f 100644 --- a/application/views/partial/header.php +++ b/application/views/partial/header.php @@ -4,7 +4,7 @@ - <?php echo $this->config->item('company').' -- '.$this->lang->line('common_powered_by').' Open Source Point Of Sale' ?> + <?php echo $this->config->item('company').' -- '.$this->lang->line('common_powered_by').' OS Point Of Sale' ?> diff --git a/application/views/suppliers/form.php b/application/views/suppliers/form.php index fb7bffff1..e3fcac17f 100644 --- a/application/views/suppliers/form.php +++ b/application/views/suppliers/form.php @@ -75,4 +75,5 @@ $(document).ready(function() } }); }); + \ No newline at end of file diff --git a/css/general.css b/css/general.css index 5d8373ba9..19629b365 100644 --- a/css/general.css +++ b/css/general.css @@ -65,7 +65,7 @@ label.required top:30%; left:0%; color:#FFF; - font-size:11px; + font-size:0.9em; font-weight:bold; text-align:center; } @@ -96,7 +96,7 @@ label.required width:100%; top:35%; color:#FFF; - font-size:13px; + font-size:0.8em; font-weight:bold; text-align:center; } @@ -140,6 +140,16 @@ input padding: 3px; } +input#search +{ + padding: 0px; +} + +#select_customer_form input, #select_supplier_form input +{ + width: 95%; +} + .clearfix:after { content: "."; diff --git a/css/ospos.css b/css/ospos.css index 7cbf4c522..b1cf81c01 100644 --- a/css/ospos.css +++ b/css/ospos.css @@ -15,6 +15,8 @@ body margin:0px; padding:0px; background-color:#f7f7f7; + font-family: "Lucida Grande", "Trebuchet MS", Tahoma, Verdana, sans-serif; + font-size: 0.9em; } a.none @@ -93,8 +95,6 @@ a.none { position:absolute; display:none; - right:21%; - top:5px; } #feedback_bar diff --git a/css/tables.css b/css/tables.css index 0f71cb853..a584c61a7 100644 --- a/css/tables.css +++ b/css/tables.css @@ -8,7 +8,7 @@ border-top:1px solid #CCCCCC; background-position:5px 10px; background-repeat:no-repeat; - padding:3px 0px 3px 0px; + padding:5px 0px 5px 0px; } #table_action_header ul @@ -30,7 +30,6 @@ { background-color:#0a6184; border:2px solid #DDDDDD; - font-size:14px; padding:2px 5px 2px 5px; } @@ -61,6 +60,7 @@ table.tablesorter thead tr th, table.tablesorter tfoot tr th text-align:left; background-color:#4386a1; padding: 0px 5px 0px 5px; + } table.tablesorter thead tr .header @@ -77,7 +77,6 @@ table.tablesorter tbody td background-color: #FFF; vertical-align: top; padding: 0px 5px 0px 5px; - } table.tablesorter tbody td diff --git a/database/database.sql b/database/database.sql index 47f7dd091..13e4d0d8f 100644 --- a/database/database.sql +++ b/database/database.sql @@ -91,7 +91,7 @@ CREATE TABLE `ospos_giftcards` ( `giftcard_number` varchar(25) COLLATE utf8_unicode_ci NOT NULL, `value` double(15,2) NOT NULL, `deleted` int(1) NOT NULL DEFAULT '0', - `person_id` INT NOT NULL + `person_id` INT NOT NULL, PRIMARY KEY (`giftcard_id`), UNIQUE KEY `giftcard_number` (`giftcard_number`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=48 ; diff --git a/import_items.csv b/import_items.csv index 8c5d91866..10f71bc52 100644 --- a/import_items.csv +++ b/import_items.csv @@ -1,2 +1,2 @@ -UPC/EAN/ISBN,Item Name,Category,Supplier ID,Cost Price,Unit Price,Tax 1 Name,Tax 1 Percent,Tax 2 Name ,Tax 2 Percent,Quantity,Reorder Level,Location,Description,Allow Alt Description,Item has Serial Number,custom1,custom2,custom3,custom4,custom5,custom6,custom7,custom8,custom9,custom10 +UPC/EAN/ISBN,Item Name,Category,Supplier ID,Cost Price,Unit Price,Tax 1 Name,Tax 1 Percent,Tax 2 Name ,Tax 2 Percent,Quantity,Reorder Level,Location,Description,Allow Alt Description,Item has Serial Number,custom1,custom2,custom3,custom4,custom5,custom6,custom7,custom8,custom9,custom10 33333333,Apple iMac,Computers,,800,1200,Tax 1,8,Tax 2,10,10,1,Earth,Best Computer ever,y,,"Oz, Frank",The Bunny and the Hill,"Monkeys,Giraffes,Gorillas",English,New,Apple,,1999,D3lk3jlkjs,Hardbound \ No newline at end of file diff --git a/index.php b/index.php index f4ac11a72..54e5e605d 100644 --- a/index.php +++ b/index.php @@ -18,7 +18,7 @@ * NOTE: If you change these, also change the error_reporting() code below * */ - define('ENVIRONMENT', 'development'); + define('ENVIRONMENT', 'production'); /* *--------------------------------------------------------------- * ERROR REPORTING diff --git a/license/license.txt b/license/license.txt index 7af154728..3c6b4410f 100644 --- a/license/license.txt +++ b/license/license.txt @@ -1,19 +1,19 @@ -Copyright (C) 2011 by Pappas Technologies, LLC - -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 the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +Copyright (C) 2011 by Pappas Technologies, LLC + +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 the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/system/language/english/calendar_lang.php b/system/language/en/calendar_lang.php similarity index 100% rename from system/language/english/calendar_lang.php rename to system/language/en/calendar_lang.php diff --git a/system/language/english/date_lang.php b/system/language/en/date_lang.php similarity index 100% rename from system/language/english/date_lang.php rename to system/language/en/date_lang.php diff --git a/system/language/english/db_lang.php b/system/language/en/db_lang.php similarity index 100% rename from system/language/english/db_lang.php rename to system/language/en/db_lang.php diff --git a/system/language/english/email_lang.php b/system/language/en/email_lang.php similarity index 100% rename from system/language/english/email_lang.php rename to system/language/en/email_lang.php diff --git a/application/language/english/form_validation_lang.php b/system/language/en/form_validation_lang.php similarity index 100% rename from application/language/english/form_validation_lang.php rename to system/language/en/form_validation_lang.php diff --git a/system/language/english/ftp_lang.php b/system/language/en/ftp_lang.php similarity index 100% rename from system/language/english/ftp_lang.php rename to system/language/en/ftp_lang.php diff --git a/system/language/english/imglib_lang.php b/system/language/en/imglib_lang.php similarity index 100% rename from system/language/english/imglib_lang.php rename to system/language/en/imglib_lang.php diff --git a/system/language/english/index.html b/system/language/en/index.html similarity index 100% rename from system/language/english/index.html rename to system/language/en/index.html diff --git a/system/language/english/migration_lang.php b/system/language/en/migration_lang.php similarity index 100% rename from system/language/english/migration_lang.php rename to system/language/en/migration_lang.php diff --git a/system/language/english/number_lang.php b/system/language/en/number_lang.php similarity index 100% rename from system/language/english/number_lang.php rename to system/language/en/number_lang.php diff --git a/system/language/english/profiler_lang.php b/system/language/en/profiler_lang.php similarity index 100% rename from system/language/english/profiler_lang.php rename to system/language/en/profiler_lang.php diff --git a/system/language/english/unit_test_lang.php b/system/language/en/unit_test_lang.php similarity index 100% rename from system/language/english/unit_test_lang.php rename to system/language/en/unit_test_lang.php diff --git a/system/language/english/upload_lang.php b/system/language/en/upload_lang.php similarity index 100% rename from system/language/english/upload_lang.php rename to system/language/en/upload_lang.php diff --git a/system/language/english/form_validation_lang.php b/system/language/english/form_validation_lang.php deleted file mode 100644 index 3418f29ab..000000000 --- a/system/language/english/form_validation_lang.php +++ /dev/null @@ -1,29 +0,0 @@ - - - 403 Forbidden - - - -

Directory access is forbidden.

- - - + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/system/language/nl-BE/migration_lang.php b/system/language/nl-BE/migration_lang.php new file mode 100644 index 000000000..4763ca243 --- /dev/null +++ b/system/language/nl-BE/migration_lang.php @@ -0,0 +1,13 @@ +