mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-19 15:02:12 -04:00
fixed import_customers.csv template download path
This commit is contained in:
1 parent
2cbff93ab5
commit
9a9637bfb7
1 file changed
+2
-1
@@ -158,7 +158,8 @@ class Customers extends Persons
|
||||
public function excel()
|
||||
{
|
||||
$name = 'import_customers.csv';
|
||||
$data = file_get_contents($name);
|
||||
$dir = '..';
|
||||
$data = file_get_contents($dir . '/' . $name);
|
||||
force_download($name, $data);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user