fixed import_customers.csv template download path

This commit is contained in:
William Chanrico
2016-11-01 05:40:31 +07:00
parent 2cbff93ab5
commit 9a9637bfb7

View File

@@ -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);
}