Merge branch 'master' of github.com:akaunting/akaunting
This commit is contained in:
		| @@ -392,7 +392,7 @@ abstract class DocumentShow extends Component | |||||||
|         $this->routeButtonEdit = $this->getRouteButtonEdit($type, $routeButtonEdit); |         $this->routeButtonEdit = $this->getRouteButtonEdit($type, $routeButtonEdit); | ||||||
|         $this->routeButtonDuplicate = $this->getRouteButtonDuplicate($type, $routeButtonDuplicate); |         $this->routeButtonDuplicate = $this->getRouteButtonDuplicate($type, $routeButtonDuplicate); | ||||||
|         $this->routeButtonPrint = $this->getRouteButtonPrint($type, $routeButtonPrint); |         $this->routeButtonPrint = $this->getRouteButtonPrint($type, $routeButtonPrint); | ||||||
|         $this->routeButtonPdf = $this->getRouteButtonPrint($type, $routeButtonPdf); |         $this->routeButtonPdf = $this->getRouteButtonPdf($type, $routeButtonPdf); | ||||||
|         $this->routeButtonCancelled = $this->getRouteButtonCancelled($type, $routeButtonCancelled); |         $this->routeButtonCancelled = $this->getRouteButtonCancelled($type, $routeButtonCancelled); | ||||||
|         $this->routeButtonCustomize = $this->getRouteButtonCustomize($type, $routeButtonCustomize); |         $this->routeButtonCustomize = $this->getRouteButtonCustomize($type, $routeButtonCustomize); | ||||||
|         $this->routeButtonDelete = $this->getRouteButtonDelete($type, $routeButtonDelete); |         $this->routeButtonDelete = $this->getRouteButtonDelete($type, $routeButtonDelete); | ||||||
|   | |||||||
| @@ -293,7 +293,7 @@ class Bills extends Controller | |||||||
|         $pdf = app('dompdf.wrapper'); |         $pdf = app('dompdf.wrapper'); | ||||||
|         $pdf->loadHTML($html); |         $pdf->loadHTML($html); | ||||||
|  |  | ||||||
|         $file_name = $this->getBillFileName($bill); |         $file_name = $this->getDocumentFileName($bill); | ||||||
|  |  | ||||||
|         return $pdf->download($file_name); |         return $pdf->download($file_name); | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -489,7 +489,7 @@ const app = new Vue({ | |||||||
|                 this.form.items.push({ |                 this.form.items.push({ | ||||||
|                     item_id: item.item_id, |                     item_id: item.item_id, | ||||||
|                     name: item.name, |                     name: item.name, | ||||||
|                     description: item.description, |                     description: item.description === null ? "" : item.description, | ||||||
|                     quantity: item.quantity, |                     quantity: item.quantity, | ||||||
|                     price: (item.price).toFixed(2), |                     price: (item.price).toFixed(2), | ||||||
|                     tax_ids: item.tax_ids, |                     tax_ids: item.tax_ids, | ||||||
| @@ -524,7 +524,7 @@ const app = new Vue({ | |||||||
|                 this.items.push({ |                 this.items.push({ | ||||||
|                     item_id: item.item_id, |                     item_id: item.item_id, | ||||||
|                     name: item.name, |                     name: item.name, | ||||||
|                     description: item.description, |                     description: item.description === null ? "" : item.description, | ||||||
|                     quantity: item.quantity, |                     quantity: item.quantity, | ||||||
|                     price: (item.price).toFixed(2), |                     price: (item.price).toFixed(2), | ||||||
|                     add_tax: true, |                     add_tax: true, | ||||||
|   | |||||||
| @@ -44,7 +44,7 @@ | |||||||
|                                                     required="required" |                                                     required="required" | ||||||
|                                                     data-item="name" |                                                     data-item="name" | ||||||
|                                                     v-model="row.name" |                                                     v-model="row.name" | ||||||
|                                                     @input="onCalculateTotal" |                                                     @input="onBindingItemField(index, 'name')" | ||||||
|                                                     @change="form.errors.clear('items.' + index + '.name')"> |                                                     @change="form.errors.clear('items.' + index + '.name')"> | ||||||
|                                  |                                  | ||||||
|                                                 <div class="invalid-feedback d-block" |                                                 <div class="invalid-feedback d-block" | ||||||
| @@ -68,6 +68,7 @@ | |||||||
|                                                 v-model="row.description" |                                                 v-model="row.description" | ||||||
|                                                 data-item="description" |                                                 data-item="description" | ||||||
|                                                 resize="none" |                                                 resize="none" | ||||||
|  |                                                 @input="onBindingItemField(index, 'description')" | ||||||
|                                             ></textarea> |                                             ></textarea> | ||||||
|                                         </td> |                                         </td> | ||||||
|                                     @endif |                                     @endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user