mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Bug fixes
This commit is contained in:
parent
a73bdab540
commit
0e2eba4521
@ -7,7 +7,6 @@ use Session;
|
|||||||
use Utils;
|
use Utils;
|
||||||
use View;
|
use View;
|
||||||
use Validator;
|
use Validator;
|
||||||
zz
|
|
||||||
use App\Models\Client;
|
use App\Models\Client;
|
||||||
|
|
||||||
use App\Ninja\Repositories\CreditRepository;
|
use App\Ninja\Repositories\CreditRepository;
|
||||||
|
@ -20,32 +20,6 @@ class ConstantsSeeder extends Seeder
|
|||||||
|
|
||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
// TEST DATA
|
|
||||||
/*
|
|
||||||
$contact = new Contact;
|
|
||||||
$contact->first_name = 'Hillel';
|
|
||||||
$contact->last_name = 'Hillel';
|
|
||||||
$contact->email = 'hillelcoren@gmail.com';
|
|
||||||
$contact->last_name = '2125551234';
|
|
||||||
$client->contacts()->save($contact);
|
|
||||||
|
|
||||||
$invoice = new Invoice;
|
|
||||||
$invoice->invoice_number = '0001';
|
|
||||||
$client->invoices()->save($invoice);
|
|
||||||
|
|
||||||
$invoice = new Invoice;
|
|
||||||
$invoice->invoice_number = '0002';
|
|
||||||
$client->invoices()->save($invoice);
|
|
||||||
|
|
||||||
$invoice = new Invoice;
|
|
||||||
$invoice->invoice_number = '0003';
|
|
||||||
$client->invoices()->save($invoice);
|
|
||||||
|
|
||||||
$invoice = new Invoice;
|
|
||||||
$invoice->invoice_number = '0004';
|
|
||||||
$client->invoices()->save($invoice);
|
|
||||||
*/
|
|
||||||
|
|
||||||
PaymentType::create(array('name' => 'Apply Credit'));
|
PaymentType::create(array('name' => 'Apply Credit'));
|
||||||
PaymentType::create(array('name' => 'Bank Transfer'));
|
PaymentType::create(array('name' => 'Bank Transfer'));
|
||||||
PaymentType::create(array('name' => 'Cash'));
|
PaymentType::create(array('name' => 'Cash'));
|
||||||
@ -306,7 +280,7 @@ class ConstantsSeeder extends Seeder
|
|||||||
'Asia/Dhaka' => "(GMT+06:00) Dhaka",
|
'Asia/Dhaka' => "(GMT+06:00) Dhaka",
|
||||||
'Asia/Novosibirsk' => "(GMT+07:00) Novosibirsk",
|
'Asia/Novosibirsk' => "(GMT+07:00) Novosibirsk",
|
||||||
'Asia/Bangkok' => "(GMT+07:00) Bangkok",
|
'Asia/Bangkok' => "(GMT+07:00) Bangkok",
|
||||||
'Asia/Ho_Chi_Minh' => "(GMT+07.00) Ho Chi Minh",
|
'Asia/Ho_Chi_Minh' => "(GMT+07.00) Ho Chi Minh",
|
||||||
'Asia/Jakarta' => "(GMT+07:00) Jakarta",
|
'Asia/Jakarta' => "(GMT+07:00) Jakarta",
|
||||||
'Asia/Krasnoyarsk' => "(GMT+08:00) Krasnoyarsk",
|
'Asia/Krasnoyarsk' => "(GMT+08:00) Krasnoyarsk",
|
||||||
'Asia/Chongqing' => "(GMT+08:00) Chongqing",
|
'Asia/Chongqing' => "(GMT+08:00) Chongqing",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user