Skip to content

Commit

Permalink
fixed #347
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed May 20, 2018
1 parent 354afe9 commit 775f931
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 21 deletions.
7 changes: 0 additions & 7 deletions app/Utilities/ImportFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,4 @@ public function getFile()
return $path;
}

public function getFilters()
{
return [
'chunk'
];
}

}
4 changes: 2 additions & 2 deletions public/files/import/bills.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"bill_number","order_number","bill_status_code","billed_at","due_at","amount","currency_code","currency_rate","vendor_id","vendor_name","vendor_email","vendor_tax_number","vendor_phone","vendor_address","notes","attachment","created_at","updated_at","deleted_at"
"987654","","received","2017-11-30","2017-12-07","10.0000","USD","1.00000000","1","Test Vendor","test@vendor.com","","","","","","2017-11-30 00:00:00","2017-11-30 00:00:00",NULL
"bill_number","order_number","bill_status_code","billed_at","due_at","amount","currency_code","currency_rate","vendor_id","vendor_name","vendor_email","vendor_tax_number","vendor_phone","vendor_address","notes","category_id"
"987654","","received","2017-11-30","2017-12-07","10.0000","USD","1.00000000","1","Test Vendor","test@vendor.com","","","","","4"
4 changes: 2 additions & 2 deletions public/files/import/customers.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"user_id","name","email","tax_number","phone","address","website","currency_code","enabled","created_at","updated_at","deleted_at"
"","Test Customer","test@customer.com","","","","","USD","1","2017-11-30 00:00:00","2017-11-30 00:00:00",NULL
"user_id","name","email","tax_number","phone","address","website","currency_code","enabled"
"","Test Customer","test@customer.com","","","","","USD","1"
4 changes: 2 additions & 2 deletions public/files/import/invoices.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"invoice_number","order_number","invoice_status_code","invoiced_at","due_at","amount","currency_code","currency_rate","customer_id","customer_name","customer_email","customer_tax_number","customer_phone","customer_address","notes","attachment","created_at","updated_at","deleted_at"
"INV-00001","","sent","2017-11-30","2017-12-07","10.0000","USD","1.00000000","1","Test Customer","test@customer.com","","","","","","2017-11-30 00:00:00","2017-11-30 00:00:00",NULL
"invoice_number","order_number","invoice_status_code","invoiced_at","due_at","amount","currency_code","currency_rate","customer_id","customer_name","customer_email","customer_tax_number","customer_phone","customer_address","notes","category_id"
"INV-00001","","sent","2017-11-30","2017-12-07","10.0000","USD","1.00000000","1","Test Customer","test@customer.com","","","","","3"
4 changes: 2 additions & 2 deletions public/files/import/items.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"name","sku","description","sale_price","purchase_price","quantity","category_id","tax_id","picture","enabled","created_at","updated_at","deleted_at"
"Test Item","test-item","","10.0000","5.0000","1","5","2","items/test-item.png","1","2017-11-30 00:00:00","2017-11-30 00:00:00",NULL
"name","sku","description","sale_price","purchase_price","quantity","category_id","tax_id","enabled"
"Test Item","test-item","","10.0000","5.0000","1","5","2","1"
4 changes: 2 additions & 2 deletions public/files/import/payments.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"account_id","paid_at","amount","currency_code","currency_rate","vendor_id","description","category_id","payment_method","reference","attachment","created_at","updated_at","deleted_at"
"1","2017-11-30","10.0000","USD","1.00000000","1","","4","offlinepayment.cash.1","","","2017-11-30 00:00:00","2017-11-30 00:00:00",NULL
"account_id","paid_at","amount","currency_code","currency_rate","vendor_id","description","category_id","payment_method","reference"
"1","2017-11-30","10.0000","USD","1.00000000","1","","4","offlinepayment.cash.1",""
4 changes: 2 additions & 2 deletions public/files/import/revenues.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"account_id","paid_at","amount","currency_code","currency_rate","customer_id","description","category_id","payment_method","reference","attachment","created_at","updated_at","deleted_at"
"1","2017-11-30","10.0000","USD","1.00000000","","","3","offlinepayment.cash.1","","revenues/test-revenue.pdf","2017-11-30 00:00:00","2017-11-30 00:00:00",NULL
"account_id","paid_at","amount","currency_code","currency_rate","customer_id","description","category_id","payment_method","reference"
"1","2017-11-30","10.0000","USD","1.00000000","","","3","offlinepayment.cash.1",""
4 changes: 2 additions & 2 deletions public/files/import/vendors.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"user_id","name","email","tax_number","phone","address","website","currency_code","enabled","created_at","updated_at","deleted_at"
"","Test Vendor","test@vendor.com","","","","","USD","1","2017-11-30 00:00:00","2017-11-30 00:00:00",NULL
"name","email","tax_number","phone","address","website","currency_code","enabled"
"Test Vendor","test@vendor.com","","","","","USD","1"

0 comments on commit 775f931

Please sign in to comment.