In excel, I have 3 columns named Total, Payment Released, and Payment Return. To calculate Payment Return, I added a formula inside it which is =U2-G2.
Note: U2 is
Payment Releasedand G2 isTotal.
I have read the documentation of Maatwebsite Laravel Excel for importing from excel to the database, and the data inserted successfully. But when I check the database, the payment_return column is all filled by zero 0. When I do dd($row['Payment Return'], it shows not the value it contains in the excel, but the formula itself.
How do I solve this, please?
P.S: Have read this too, but I have no idea where the import.php file is, and where should I write the function?
Thanks in advance!
