Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Oct 28, 2024
1 parent b4f8fff commit 17ea7c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Fields/Items.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function fields(Request $request): array
return (new Currency($value, $model->checkoutable->currency))->format();
}),

Number::make(__('TAX'), function (Request $request, Model $model): float {
Number::make(__('Tax'), function (Request $request, Model $model): float {
return $model->getTax();
})->format(static function (Request $request, Model $model, float $value): string {
return (new Currency($value, $model->checkoutable->currency))->format();
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Relations\HasOne;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Notifications\Notification as Notification;
use Illuminate\Notifications\Notification;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Notification as Notifier;
use Illuminate\Support\Number;
Expand Down

0 comments on commit 17ea7c9

Please sign in to comment.