Invoice path

This commit is contained in:
cuneytsenturk
2018-01-02 16:22:30 +03:00
parent 6429a699b2
commit ddd18c7ea6
7 changed files with 29 additions and 25 deletions

View File

@ -416,7 +416,7 @@ class Invoices extends Controller
if ($request->file('attachment')) {
$media = $this->getMedia($request->file('attachment'), 'invoices');
$invoice->syncMedia($media, 'attachment');
$invoice->attachMedia($media, 'attachment');
}
// Delete previous invoice totals