From 3bbb156124fb1a35ff6e30f5f863a6f52ae73c35 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 23 Mar 2014 17:49:14 +0200 Subject: [PATCH 01/16] Bug fixes --- app/views/header.blade.php | 2 +- app/views/public/about_us.blade.php | 2 +- app/views/public/contact_us.blade.php | 14 +------------- app/views/public/header.blade.php | 17 +++++++++++++---- app/views/public/splash.blade.php | 4 ++-- public/js/script.js | 2 -- 6 files changed, 18 insertions(+), 23 deletions(-) diff --git a/app/views/header.blade.php b/app/views/header.blade.php index 0303b6ad202f..4813ee4d6538 100755 --- a/app/views/header.blade.php +++ b/app/views/header.blade.php @@ -456,7 +456,7 @@ if (isStorageSupported()) { @if (Auth::check() && !Auth::user()->registered) localStorage.setItem('guest_key', '{{ Auth::user()->password }}'); - @endif + @endif } @if (!Auth::check() || !Auth::user()->registered) diff --git a/app/views/public/about_us.blade.php b/app/views/public/about_us.blade.php index 2623fcf69e3a..f6552c2995d4 100644 --- a/app/views/public/about_us.blade.php +++ b/app/views/public/about_us.blade.php @@ -74,7 +74,7 @@
-

Invoice Now +

+

Invoice Now +

diff --git a/app/views/public/contact_us.blade.php b/app/views/public/contact_us.blade.php index d5f7cde55618..6f9d695baff2 100644 --- a/app/views/public/contact_us.blade.php +++ b/app/views/public/contact_us.blade.php @@ -53,18 +53,6 @@ var contactForm = { } }; -function isStorageSupported() { - try { - return 'localStorage' in window && window['localStorage'] !== null; - } catch (e) { - return false; - } -} - -function getStarted() { - $('#startForm').submit(); -} -
@@ -139,7 +127,7 @@ function getStarted() { diff --git a/app/views/public/header.blade.php b/app/views/public/header.blade.php index 49f74f4b40f9..08983762017a 100644 --- a/app/views/public/header.blade.php +++ b/app/views/public/header.blade.php @@ -27,22 +27,31 @@ diff --git a/app/views/public/splash.blade.php b/app/views/public/splash.blade.php index 2a520e2e525c..e948438dd1dd 100755 --- a/app/views/public/splash.blade.php +++ b/app/views/public/splash.blade.php @@ -27,7 +27,7 @@ @@ -102,7 +102,7 @@ diff --git a/public/js/script.js b/public/js/script.js index dbbaac137766..618670d40ba7 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -793,8 +793,6 @@ function GetReportTemplate1(doc, invoice, layout, checkMath) - - function GetReportTemplate2(doc, invoice, layout, checkMath) { var GlobalY=0;//Y position of line at current page From c08a46a7dad7284780a1f08dc4ff2326ba7a3946 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 23 Mar 2014 17:59:30 +0200 Subject: [PATCH 02/16] Bug fixes --- app/views/master.blade.php | 2 +- public/images/social.jpg | Bin 0 -> 14974 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 public/images/social.jpg diff --git a/app/views/master.blade.php b/app/views/master.blade.php index 0007b13cd929..113649767ff1 100755 --- a/app/views/master.blade.php +++ b/app/views/master.blade.php @@ -15,7 +15,7 @@ - + diff --git a/public/images/social.jpg b/public/images/social.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9770a82ccf587b711e98e515a1b9e93d40f47c70 GIT binary patch literal 14974 zcmeHtbyOY8((i2C-E|XOgS-32-QC?GNJ4OTch}&qA!u*{1PB&_Lm&`>hmi0#Ip>}$ z-}k<^-aqfHyVmX9Yo>SAuX?JhYNoqp`eFHD6TniCg~$RR5D1Wm{(y%yKnj3`fqAUZ z0tc<|NbvA*aPTOIhzLk%C}?P?D5$9D7&uty7}yx7s8|G8*tmH3`1oj;ghT{*L^yc( zc#oZcV4*T_@W}A+$av_e=y?CvO?VQNUjc`Wp;3;mK`m zhG^n2fR_3vu<_by;u9NVXSLJ&x`HMsZDes<_u@94)Zik;-G)h0uaV>((!XsNvSi? zQMfcNhPoCTnl&C`+jAP(povd}^YgYpr7 zLk;*Di)bBH8}wh%z-+pKUOSNSYF+=wBO9-Zb7U4VK&O6Y7%Kd)eFHE=G5y_R8;g|? z9Vi-33g6x9Tb@2My~7O@4NwaF89^-C8KO`=04uMZZQ+YcYk_sc_z+VVP)` z3k&63P0*nr#ihZn)_%aQKbpRemFsA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00 2001 From: Hillel Coren Date: Sun, 23 Mar 2014 18:02:33 +0200 Subject: [PATCH 03/16] Bug fixes --- app/views/public/header.blade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/public/header.blade.php b/app/views/public/header.blade.php index 08983762017a..9c4e1321d0ac 100644 --- a/app/views/public/header.blade.php +++ b/app/views/public/header.blade.php @@ -102,6 +102,10 @@   + +

 

From e748ea7cc2ac4000413fe203990ac5bc67ea037f Mon Sep 17 00:00:00 2001 From: pierrefaure Date: Sun, 23 Mar 2014 18:48:00 +0100 Subject: [PATCH 04/16] Update fields.php Hi, I'm not sure for line 42 :) --- app/lang/en/fields.php | 84 +++++++++++++++++++++--------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/app/lang/en/fields.php b/app/lang/en/fields.php index 10f5d738c39a..4af61a3cebae 100644 --- a/app/lang/en/fields.php +++ b/app/lang/en/fields.php @@ -3,52 +3,52 @@ return array( // client - 'organization' => 'Organization', - 'name' => 'Name', - 'website' => 'Website', - 'work_phone' => 'Phone', - 'address' => 'Address', - 'address1' => 'Street', - 'address2' => 'Apt/Suite', - 'city' => 'City', - 'state' => 'State/Province', - 'postal_code' => 'Postal Code', - 'country_id' => 'Country', - 'contacts' => 'Contacts', - 'first_name' => 'First Name', - 'last_name' => 'Last Name', - 'phone' => 'Phone', + 'organization' => 'Entreprise', + 'name' => 'Nom', + 'website' => 'Site web', + 'work_phone' => 'Téléphone', + 'address' => 'Adresse', + 'address1' => 'Rue', + 'address2' => 'Appt/Batîment', + 'city' => 'Ville', + 'state' => 'Région/Département', + 'postal_code' => 'Code Postal', + 'country_id' => 'Pays', + 'contacts' => 'Informations de contact', //if you speak about contact details + 'first_name' => 'Prénom', + 'last_name' => 'Nom', + 'phone' => 'Téléphone', 'email' => 'Email', - 'additional_info' => 'Additional Info', - 'payment_terms' => 'Payment Terms', - 'currency_id' => 'Currency', - 'size_id' => 'Size', - 'industry_id' => 'Industry', - 'private_notes' => 'Private Notes', + 'additional_info' => 'Informations complémentaires', + 'payment_terms' => 'Conditions de paiement', + 'currency_id' => 'Devise', + 'size_id' => 'Taille', + 'industry_id' => 'Secteur', // literal translation : Industrie + 'private_notes' => 'Note personnelle', // invoice - 'invoice' => 'Invoice', + 'invoice' => 'Facture', 'client' => 'Client', - 'invoice_date' => 'Invoice Date', - 'due_date' => 'Due Date', - 'invoice_number' => 'Invoice Number', - 'invoice_number_short' => 'Invoice #', - 'po_number' => 'PO Number', - 'po_number_short' => 'PO #', - 'frequency_id' => 'How often', - 'dicount' => 'Discount', + 'invoice_date' => 'Date de la facture', + 'due_date' => 'Date d\'échéance', + 'invoice_number' => 'Numéro de facture', + 'invoice_number_short' => 'Facture #', + 'po_number' => 'Numéro du bon de commande', + 'po_number_short' => 'Bon de commande #', + 'frequency_id' => 'Fréquence', //litteral translation : Combien de fois + 'dicount' => 'Remise', //can be "rabais" or "réduction" 'taxes' => 'Taxes', - 'tax' => 'Tax', - 'item' => 'Item', + 'tax' => 'Taxe', + 'item' => 'Ligne', //I'm not sure, I need the context : screenshot ? 'description' => 'Description', - 'unit_cost' => 'Unit Cost', - 'quantity' => 'Quantity', - 'line_total' => 'Line Total', - 'subtotal' => 'Subtotal', - 'paid_to_date' => 'Paid to Date', - 'balance_due' => 'Balance Due', - 'invoice_design_id' => 'Design', - 'terms' => 'Terms', - 'your_invoice' => 'Your Invoice', + 'unit_cost' => 'Coût à l\'unité', + 'quantity' => 'Quantité', + 'line_total' => 'Total', + 'subtotal' => 'Total', + 'paid_to_date' => 'Versé à ce jour',//this one is not very used in France + 'balance_due' => 'Montant total',//can be "Montant à verser" or "Somme totale" + 'invoice_design_id' => 'Design', //if you speak about invoice's design -> "Modèle" + 'terms' => 'Conditions', + 'your_invoice' => 'Votre Facture', -); \ No newline at end of file +); From 9a592753b250defd02867b6dd22b043e5d055821 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 23 Mar 2014 19:54:02 +0200 Subject: [PATCH 05/16] Bug fixes --- app/libraries/utils.php | 2 +- app/views/header.blade.php | 2 + app/views/master.blade.php | 8 +- public/js/stacktrace.js | 485 +++++++++++++++++++++++++++++++++++++ 4 files changed, 494 insertions(+), 3 deletions(-) create mode 100644 public/js/stacktrace.js diff --git a/app/libraries/utils.php b/app/libraries/utils.php index f4fb3bc68348..7ffacc13f207 100755 --- a/app/libraries/utils.php +++ b/app/libraries/utils.php @@ -41,7 +41,7 @@ class Utils 'input' => Input::all() ]; - Log::error('\n'.$error, $data); + Log::error($error."\n", $data); /* Mail::queue('emails.error', ['message'=>$error.' '.json_encode($data)], function($message) diff --git a/app/views/header.blade.php b/app/views/header.blade.php index 4813ee4d6538..d698718ed697 100755 --- a/app/views/header.blade.php +++ b/app/views/header.blade.php @@ -385,6 +385,8 @@ } function submitSignUp() { + var d; + console.log(d.test()); $.ajax({ type: 'POST', url: '{{ URL::to('signup/submit') }}', diff --git a/app/views/master.blade.php b/app/views/master.blade.php index 113649767ff1..e1db15749cd7 100755 --- a/app/views/master.blade.php +++ b/app/views/master.blade.php @@ -17,16 +17,20 @@ - + + +   + +

 

From e77db4137eaad93173f91ddfd4741c2381301da8 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 23 Mar 2014 22:16:46 +0200 Subject: [PATCH 13/16] Updating readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 98dfbef05972..4d95bf88318f 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ Most online invoicing sites are expensive. They shouldn't be. The aim of this project is to provide a free, open-source alternative. Additionally, the hope is the codebase will serve as a sample site for Laravel as well as other JavaScript technologies. -For discussion of the code please use the [Google Group](https://groups.google.com/d/forum/invoiceninja). +Highlevel instructions for setting up the site are below but there's also [setup guide](http://hillelcoren.com/invoice-ninja/laravel-ubuntu-virtualbox/). For discussion of the code please use the [Google Group](https://groups.google.com/d/forum/invoiceninja). -For updates follow [@invoiceninja](https://twitter.com/invoiceninja) or join the [Facebook Group](https://www.facebook.com/invoiceninja) +For updates follow [@invoiceninja](https://twitter.com/invoiceninja) or join the [Facebook Group](https://www.facebook.com/invoiceninja). Site design by [kantorp-wegl.in](http://kantorp-wegl.in/) From 56e3e7dbd06e07d44c860fee19d4950c167fc9c8 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 23 Mar 2014 22:17:53 +0200 Subject: [PATCH 14/16] Updating readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d95bf88318f..b2ebdd75de95 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Most online invoicing sites are expensive. They shouldn't be. The aim of this project is to provide a free, open-source alternative. Additionally, the hope is the codebase will serve as a sample site for Laravel as well as other JavaScript technologies. -Highlevel instructions for setting up the site are below but there's also [setup guide](http://hillelcoren.com/invoice-ninja/laravel-ubuntu-virtualbox/). For discussion of the code please use the [Google Group](https://groups.google.com/d/forum/invoiceninja). +The high level instructions for setting up the site are below but there's also [setup guide](http://hillelcoren.com/invoice-ninja/laravel-ubuntu-virtualbox/). For discussion of the code please use the [Google Group](https://groups.google.com/d/forum/invoiceninja). For updates follow [@invoiceninja](https://twitter.com/invoiceninja) or join the [Facebook Group](https://www.facebook.com/invoiceninja). From 499b92ac8746526a9547958f04e3729ebd4ddb04 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 23 Mar 2014 22:18:13 +0200 Subject: [PATCH 15/16] Updating readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b2ebdd75de95..1be56f78a9f5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Most online invoicing sites are expensive. They shouldn't be. The aim of this project is to provide a free, open-source alternative. Additionally, the hope is the codebase will serve as a sample site for Laravel as well as other JavaScript technologies. -The high level instructions for setting up the site are below but there's also [setup guide](http://hillelcoren.com/invoice-ninja/laravel-ubuntu-virtualbox/). For discussion of the code please use the [Google Group](https://groups.google.com/d/forum/invoiceninja). +The high level instructions for setting up the site are below but there's also a [setup guide](http://hillelcoren.com/invoice-ninja/laravel-ubuntu-virtualbox/). For discussion of the code please use the [Google Group](https://groups.google.com/d/forum/invoiceninja). For updates follow [@invoiceninja](https://twitter.com/invoiceninja) or join the [Facebook Group](https://www.facebook.com/invoiceninja). From 53f9eef3cac67709d7ce59c3af73c43198c9c439 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 23 Mar 2014 22:56:19 +0200 Subject: [PATCH 16/16] Bug fixes --- app/controllers/InvoiceController.php | 2 +- app/ninja/repositories/InvoiceRepository.php | 8 ++++---- app/views/public/splash.blade.php | 10 ++++------ 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/app/controllers/InvoiceController.php b/app/controllers/InvoiceController.php index 6cd3d2295f2b..f805745c152c 100755 --- a/app/controllers/InvoiceController.php +++ b/app/controllers/InvoiceController.php @@ -89,7 +89,7 @@ class InvoiceController extends \BaseController { $table->addColumn('frequency', function($model) { return link_to('invoices/' . $model->public_id, $model->frequency); }); if (!$clientPublicId) { - $table->addColumn('client', function($model) { return link_to('clients/' . $model->client_public_id, Utils::getClientDisplayName($model)); }); + $table->addColumn('client_name', function($model) { return link_to('clients/' . $model->client_public_id, Utils::getClientDisplayName($model)); }); } return $table->addColumn('start_date', function($model) { return Utils::fromSqlDate($model->start_date); }) diff --git a/app/ninja/repositories/InvoiceRepository.php b/app/ninja/repositories/InvoiceRepository.php index c8327d0311a8..5f31ab7cc2c0 100755 --- a/app/ninja/repositories/InvoiceRepository.php +++ b/app/ninja/repositories/InvoiceRepository.php @@ -50,13 +50,13 @@ class InvoiceRepository { $query = \DB::table('invoices') ->join('clients', 'clients.id', '=','invoices.client_id') - ->join('frequencies', 'frequencies.id', '=', 'invoices.frequency_id') - ->join('contacts', 'contacts.client_id', '=', 'clients.id') - ->where('invoices.account_id', '=', $accountId) + ->join('frequencies', 'frequencies.id', '=', 'invoices.frequency_id') + ->join('contacts', 'contacts.client_id', '=', 'clients.id') + ->where('invoices.account_id', '=', $accountId) ->where('clients.deleted_at', '=', null) ->where('invoices.is_recurring', '=', true) ->where('contacts.is_primary', '=', true) - ->select('clients.public_id as client_public_id', 'clients.name as client_name', 'invoices.public_id', 'amount', 'frequencies.name as frequency', 'start_date', 'end_date', 'clients.currency_id', 'contacts.first_name', 'contacts.last_name', 'contacts.email'); + ->select('clients.public_id as client_public_id', 'clients.name as client_name', 'invoices.public_id', 'amount', 'frequencies.name as frequency', 'start_date', 'end_date', 'clients.currency_id', 'contacts.first_name', 'contacts.last_name', 'contacts.email'); if ($clientPublicId) { diff --git a/app/views/public/splash.blade.php b/app/views/public/splash.blade.php index e948438dd1dd..ec56f0dd9bcf 100755 --- a/app/views/public/splash.blade.php +++ b/app/views/public/splash.blade.php @@ -40,7 +40,7 @@
-
+

100% FREE, ALWAYS

Invoicing with no monthly fee, because you have enough bills already! Free, now and forever! Quality invoicing to build your business and get paid.

@@ -48,8 +48,7 @@
-
+

OPEN-SOURCE

Cloud-based, super secure, and user-developed. Open source platforms are a better way to do business (and save the world). Need we say more?

@@ -57,7 +56,7 @@
-
+

LIVE .PDF VIEW

Create beautiful email-ready .PDF invoices created instantly as you type. Our ‘Save & send’ feature saves you time and impresses clients.

@@ -65,8 +64,7 @@
-
+

ONLINE PAYMENTS

PayPal? Authorize.Net? Stripe? We support many payment technologies and if you need help or advice we’ll lend a hand (we’re pretty friendly).