What is the correct way to import CSV with a special format? #4165
hilmihidyt
started this conversation in
General
Replies: 1 comment
-
Are you sure that the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to make a CSV import with a special format. I have made the codes. And the data format that I want to import is as below:
And here are the codes that I have created:
CheckingAccountController.php
CheckingAccountReceiptImport.php
With the codes above, the data from the imported CSV file could not be inserted into the table I wanted. And if I look at the laravel.log file, the data from the CSV file fails to read in the format I want. The following is the log recorded in the laravel.log file:
What is the correct way to create a CSV import feature with my data format?
Beta Was this translation helpful? Give feedback.
All reactions