@@ -64,11 +64,11 @@ |
||
| 64 | 64 | return (string) $this->currency; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - /** |
|
| 68 | - * Sets the current currency |
|
| 69 | - * @param $currency The currency (i.e. 'EUR') |
|
| 70 | - * @return Void |
|
| 71 | - */ |
|
| 67 | + /** |
|
| 68 | + * Sets the current currency |
|
| 69 | + * @param $currency The currency (i.e. 'EUR') |
|
| 70 | + * @return Void |
|
| 71 | + */ |
|
| 72 | 72 | public function setCurrency(string $currency) |
| 73 | 73 | { |
| 74 | 74 | $this->currency = $currency; |
@@ -177,9 +177,9 @@ |
||
| 177 | 177 | $free = $lines->where('is_free', true)->toBase(); |
| 178 | 178 | $complimentary = $lines->where('is_complimentary', true)->toBase(); |
| 179 | 179 | $other = $lines |
| 180 | - ->where('is_free', false) |
|
| 181 | - ->where('is_complimentary', false) |
|
| 182 | - ->toBase(); |
|
| 180 | + ->where('is_free', false) |
|
| 181 | + ->where('is_complimentary', false) |
|
| 182 | + ->toBase(); |
|
| 183 | 183 | |
| 184 | 184 | $this->bill->total = $other->sum('amount'); |
| 185 | 185 | $this->bill->tax = $other->sum('tax'); |
@@ -11,10 +11,10 @@ |
||
| 11 | 11 | class Invoice extends Facade |
| 12 | 12 | { |
| 13 | 13 | /** |
| 14 | - * Get the registered name of the component. |
|
| 15 | - * |
|
| 16 | - * @return string |
|
| 17 | - */ |
|
| 14 | + * Get the registered name of the component. |
|
| 15 | + * |
|
| 16 | + * @return string |
|
| 17 | + */ |
|
| 18 | 18 | protected static function getFacadeAccessor() |
| 19 | 19 | { |
| 20 | 20 | return 'invoice'; |