diff --git a/README.md b/README.md
index e1b2cd1398c6..ad03017fff47 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,11 @@
### [https://www.invoiceninja.com](https://www.invoiceninja.com)
### Introduction
-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 this codebase will serve as a sample site for Laravel as well as other JavaScript technologies.
+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 updates follow [@invoiceninja](https://twitter.com/invoiceninja) and [@hillelcoren](https://twitter.com/hillelcoren)
+
+Site design by [kantorp-wegl.in](http://kantorp-wegl.in/)
### Features
* Core application built using Laravel 4.1
@@ -15,7 +19,7 @@ Most online invoicing sites are expensive. They shouldn't be. The aim of this pr
### Steps to setup
-If you plan on submitting changes it's best to fork the repo (https://help.github.com/articles/fork-a-repo), otherwise you can just checkout the code.
+If you plan on submitting changes it's best to [fork the repo](https://help.github.com/articles/fork-a-repo), otherwise you can just checkout the code.
git clone git@github.com:hillelcoren/invoice-ninja.git ninja
cd ninja
diff --git a/app/database/seeds/ConstantsSeeder.php b/app/database/seeds/ConstantsSeeder.php
index 6ca39fcd2cdc..0e31b564c3ae 100755
--- a/app/database/seeds/ConstantsSeeder.php
+++ b/app/database/seeds/ConstantsSeeder.php
@@ -105,7 +105,7 @@ class ConstantsSeeder extends Seeder
Industry::create(array('name' => 'Travel & Luxury'));
Industry::create(array('name' => 'Other'));
- Size::create(array('name' => '1 = 3'));
+ Size::create(array('name' => '1 - 3'));
Size::create(array('name' => '4 - 10'));
Size::create(array('name' => '11 - 50'));
Size::create(array('name' => '51 - 100'));
@@ -122,6 +122,7 @@ class ConstantsSeeder extends Seeder
Currency::create(array('name' => 'US Dollar', 'code' => 'USD', 'symbol' => '$', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'));
Currency::create(array('name' => 'Pound Sterling', 'code' => 'GBP', 'symbol' => '£', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'));
Currency::create(array('name' => 'Euro', 'code' => 'EUR', 'symbol' => '€', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'));
+ Currency::create(array('name' => 'Rand', 'code' => 'ZAR', 'symbol' => 'R', 'precision' => '2', 'thousand_separator' => ' ', 'decimal_separator' => '.'));
DatetimeFormat::create(array('format' => 'd/M/Y g:i a', 'label' => '10/Mar/2013'));
diff --git a/app/models/Client.php b/app/models/Client.php
index 9458b43cc2e8..6e805023bf98 100755
--- a/app/models/Client.php
+++ b/app/models/Client.php
@@ -162,7 +162,17 @@ class Client extends EntityModel
return '';
}
- return link_to($this->website, $this->website, array('target'=>'_blank'));
+ $link = $this->website;
+ $title = $this->website;
+ $prefix = 'http://';
+
+ if (strlen($link) > 7 && substr($link, 0, 7) === $prefix) {
+ $title = substr($title, 7);
+ } else {
+ $link = $prefix . $link;
+ }
+
+ return link_to($link, $title, array('target'=>'_blank'));
}
public function getDateCreated()
diff --git a/app/views/about_us.blade.php b/app/views/about_us.blade.php
index f5efb7fdea2a..b1676688f605 100644
--- a/app/views/about_us.blade.php
+++ b/app/views/about_us.blade.php
@@ -38,7 +38,11 @@
Free yourself from online invoicing platforms with high monthly fees and limited functionality. Being open source allows us fast app development, security audits by the open-course community, and we can keep it FREE!
+
Free yourself from online invoicing platforms with high monthly fees and limited functionality. Being open source allows us fast app development, security audits by the open-course community, and we can keep it FREE!
diff --git a/app/views/accounts/payments.blade.php b/app/views/accounts/payments.blade.php
index ce8a149d8507..ed8a8f92a408 100755
--- a/app/views/accounts/payments.blade.php
+++ b/app/views/accounts/payments.blade.php
@@ -36,6 +36,8 @@
{{-- do nothing --}}
@elseif ($field == 'testMode' || $field == 'developerMode')
{{-- Former::checkbox($gateway->id.'_'.$field)->label(Utils::toSpaceCase($field))->text('Enable') --}}
+ @elseif ($field == 'username' || $field == 'password')
+ {{ Former::text($gateway->id.'_'.$field)->label('API '. ucfirst(Utils::toSpaceCase($field))) }}
@else
{{ Former::text($gateway->id.'_'.$field)->label(Utils::toSpaceCase($field)) }}
@endif
diff --git a/app/views/emails/invoice_paid_html.blade.php b/app/views/emails/invoice_paid_html.blade.php
index 86002d20e428..5e8a50a84523 100755
--- a/app/views/emails/invoice_paid_html.blade.php
+++ b/app/views/emails/invoice_paid_html.blade.php
@@ -14,7 +14,7 @@
To adjust your email notification settings please click here.
- Regards,
+ Regards,
The InvoiceNinja Team
diff --git a/app/views/emails/invoice_sent_html.blade.php b/app/views/emails/invoice_sent_html.blade.php
index 716f92d64f00..a3c17243d082 100755
--- a/app/views/emails/invoice_sent_html.blade.php
+++ b/app/views/emails/invoice_sent_html.blade.php
@@ -9,9 +9,9 @@
The following client {{ $clientName }} was emailed Invoice {{ $invoiceNumber }} for {{ $invoiceAmount}}.
- Regards,
+ Regards,
- The InvoiceNinja Team
+ The InvoiceNinja Team
To adjust your email notification settings please click here.
diff --git a/app/views/emails/invoice_viewed_html.blade.php b/app/views/emails/invoice_viewed_html.blade.php
index e17cd52eb52e..41a239b0dd12 100755
--- a/app/views/emails/invoice_viewed_html.blade.php
+++ b/app/views/emails/invoice_viewed_html.blade.php
@@ -9,9 +9,9 @@
The following client {{ $clientName }} viewed Invoice {{ $invoiceNumber }} for {{ $invoiceAmount}}.
- Regards,
+ Regards,
- The InvoiceNinja Team
+ The InvoiceNinja Team
To adjust your email notification settings please click here.
diff --git a/app/views/header.blade.php b/app/views/header.blade.php
index a09cbbb36e8f..6db13f6aa85f 100755
--- a/app/views/header.blade.php
+++ b/app/views/header.blade.php
@@ -77,7 +77,7 @@
-
+