diff --git a/Modules/Quotation/Config/.gitkeep b/Modules/Quotation/Config/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Config/config.php b/Modules/Quotation/Config/config.php new file mode 100644 index 00000000..9e6ed2e8 --- /dev/null +++ b/Modules/Quotation/Config/config.php @@ -0,0 +1,5 @@ + 'Quotation' +]; diff --git a/Modules/Quotation/Console/.gitkeep b/Modules/Quotation/Console/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/DataTables/QuotationsDataTable.php b/Modules/Quotation/DataTables/QuotationsDataTable.php new file mode 100644 index 00000000..75dfe510 --- /dev/null +++ b/Modules/Quotation/DataTables/QuotationsDataTable.php @@ -0,0 +1,85 @@ +eloquent($query) + ->addColumn('total_amount', function ($data) { + return format_currency($data->total_amount); + }) + ->addColumn('status', function ($data) { + return view('quotation::partials.status', compact('data')); + }) + ->addColumn('action', function ($data) { + return view('quotation::partials.actions', compact('data')); + }); + } + + public function query(Quotation $model) { + return $model->newQuery(); + } + + public function html() { + return $this->builder() + ->setTableId('sales-table') + ->columns($this->getColumns()) + ->minifiedAjax() + ->dom("<'row'<'col-md-3'l><'col-md-5 mb-2'B><'col-md-4'f>> . + 'tr' . + <'row'<'col-md-5'i><'col-md-7 mt-2'p>>") + ->orderBy(6) + ->buttons( + Button::make('excel') + ->text(' Excel'), + Button::make('print') + ->text(' Print'), + Button::make('reset') + ->text(' Reset'), + Button::make('reload') + ->text(' Reload') + ); + } + + protected function getColumns() { + return [ + Column::make('date') + ->className('text-center align-middle'), + + Column::make('reference') + ->className('text-center align-middle'), + + Column::make('customer_name') + ->title('Customer') + ->className('text-center align-middle'), + + Column::computed('status') + ->className('text-center align-middle'), + + Column::computed('total_amount') + ->className('text-center align-middle'), + + Column::computed('action') + ->exportable(false) + ->printable(false) + ->className('text-center align-middle'), + + Column::make('created_at') + ->visible(false) + ]; + } + + protected function filename() { + return 'Quotations_' . date('YmdHis'); + } +} diff --git a/Modules/Quotation/Database/Migrations/.gitkeep b/Modules/Quotation/Database/Migrations/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Database/Migrations/2021_08_16_015031_create_quotations_table.php b/Modules/Quotation/Database/Migrations/2021_08_16_015031_create_quotations_table.php new file mode 100644 index 00000000..3f36686f --- /dev/null +++ b/Modules/Quotation/Database/Migrations/2021_08_16_015031_create_quotations_table.php @@ -0,0 +1,44 @@ +id(); + $table->date('date'); + $table->string('reference'); + $table->unsignedBigInteger('customer_id')->nullable(); + $table->string('customer_name'); + $table->integer('tax_percentage')->default(0); + $table->integer('tax_amount')->default(0); + $table->integer('discount_percentage')->default(0); + $table->integer('discount_amount')->default(0); + $table->integer('shipping_amount')->default(0); + $table->integer('total_amount'); + $table->string('status'); + $table->text('note')->nullable(); + $table->foreign('customer_id')->references('id')->on('customers')->nullOnDelete(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('quotations'); + } +} diff --git a/Modules/Quotation/Database/Migrations/2021_08_16_155013_create_quotation_details_table.php b/Modules/Quotation/Database/Migrations/2021_08_16_155013_create_quotation_details_table.php new file mode 100644 index 00000000..6d1cbd75 --- /dev/null +++ b/Modules/Quotation/Database/Migrations/2021_08_16_155013_create_quotation_details_table.php @@ -0,0 +1,46 @@ +id(); + $table->unsignedBigInteger('quotation_id'); + $table->unsignedBigInteger('product_id')->nullable(); + $table->string('product_name'); + $table->string('product_code'); + $table->integer('quantity'); + $table->integer('price'); + $table->integer('unit_price'); + $table->integer('sub_total'); + $table->integer('product_discount_amount'); + $table->string('product_discount_type')->default('fixed'); + $table->integer('product_tax_amount'); + $table->foreign('quotation_id')->references('id') + ->on('quotations')->cascadeOnDelete(); + $table->foreign('product_id')->references('id') + ->on('products')->nullOnDelete(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('quotation_details'); + } +} diff --git a/Modules/Quotation/Database/Seeders/.gitkeep b/Modules/Quotation/Database/Seeders/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Database/Seeders/QuotationDatabaseSeeder.php b/Modules/Quotation/Database/Seeders/QuotationDatabaseSeeder.php new file mode 100644 index 00000000..c89516fc --- /dev/null +++ b/Modules/Quotation/Database/Seeders/QuotationDatabaseSeeder.php @@ -0,0 +1,21 @@ +call("OthersTableSeeder"); + } +} diff --git a/Modules/Quotation/Database/factories/.gitkeep b/Modules/Quotation/Database/factories/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Emails/QuotationMail.php b/Modules/Quotation/Emails/QuotationMail.php new file mode 100644 index 00000000..167fccbf --- /dev/null +++ b/Modules/Quotation/Emails/QuotationMail.php @@ -0,0 +1,38 @@ +quotation = $quotation; + } + + /** + * Build the message. + * + * @return $this + */ + public function build() + { + return $this->subject('Quotation - ' . settings()->company_name) + ->view('quotation::emails.quotation', [ + 'settings' => settings(), + 'customer' => $this->quotation->customer + ]); + } +} diff --git a/Modules/Quotation/Entities/.gitkeep b/Modules/Quotation/Entities/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Entities/Quotation.php b/Modules/Quotation/Entities/Quotation.php new file mode 100644 index 00000000..c6074278 --- /dev/null +++ b/Modules/Quotation/Entities/Quotation.php @@ -0,0 +1,60 @@ +hasMany(QuotationDetails::class, 'quotation_id', 'id'); + } + + public function customer() { + return $this->belongsTo(Customer::class, 'customer_id', 'id'); + } + + public static function boot() { + parent::boot(); + + static::creating(function ($model) { + $number = Quotation::max('id') + 1; + $model->reference = make_reference_id('QT', $number); + }); + } + + public function getDateAttribute($value) { + return Carbon::parse($value)->format('d M, Y'); + } + + public function getShippingAmountAttribute($value) { + return $value / 100; + } + + public function getPaidAmountAttribute($value) { + return $value / 100; + } + + public function getTotalAmountAttribute($value) { + return $value / 100; + } + + public function getDueAmountAttribute($value) { + return $value / 100; + } + + public function getTaxAmountAttribute($value) { + return $value / 100; + } + + public function getDiscountAmountAttribute($value) { + return $value / 100; + } +} diff --git a/Modules/Quotation/Entities/QuotationDetails.php b/Modules/Quotation/Entities/QuotationDetails.php new file mode 100644 index 00000000..44f68cd3 --- /dev/null +++ b/Modules/Quotation/Entities/QuotationDetails.php @@ -0,0 +1,43 @@ +belongsTo(Product::class, 'product_id', 'id'); + } + + public function quotation() { + return $this->belongsTo(Quotation::class, 'quotation_id', 'id'); + } + + public function getPriceAttribute($value) { + return $value / 100; + } + + public function getUnitPriceAttribute($value) { + return $value / 100; + } + + public function getSubTotalAttribute($value) { + return $value / 100; + } + + public function getProductDiscountAmountAttribute($value) { + return $value / 100; + } + + public function getProductTaxAmountAttribute($value) { + return $value / 100; + }} diff --git a/Modules/Quotation/Http/Controllers/.gitkeep b/Modules/Quotation/Http/Controllers/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Http/Controllers/QuotationController.php b/Modules/Quotation/Http/Controllers/QuotationController.php new file mode 100644 index 00000000..1afda851 --- /dev/null +++ b/Modules/Quotation/Http/Controllers/QuotationController.php @@ -0,0 +1,174 @@ +render('quotation::index'); + } + + + public function create() { + abort_if(Gate::denies('create_quotations'), 403); + + Cart::instance('quotation')->destroy(); + + return view('quotation::create'); + } + + + public function store(StoreQuotationRequest $request) { + DB::transaction(function () use ($request) { + $quotation = Quotation::create([ + 'date' => $request->date, + 'customer_id' => $request->customer_id, + 'customer_name' => Customer::findOrFail($request->customer_id)->customer_name, + 'tax_percentage' => $request->tax_percentage, + 'discount_percentage' => $request->discount_percentage, + 'shipping_amount' => $request->shipping_amount * 100, + 'total_amount' => $request->total_amount * 100, + 'status' => $request->status, + 'note' => $request->note, + 'tax_amount' => Cart::instance('quotation')->tax() * 100, + 'discount_amount' => Cart::instance('quotation')->discount() * 100, + ]); + + foreach (Cart::instance('quotation')->content() as $cart_item) { + QuotationDetails::create([ + 'quotation_id' => $quotation->id, + 'product_id' => $cart_item->id, + 'product_name' => $cart_item->name, + 'product_code' => $cart_item->options->code, + 'quantity' => $cart_item->qty, + 'price' => $cart_item->price * 100, + 'unit_price' => $cart_item->options->unit_price * 100, + 'sub_total' => $cart_item->options->sub_total * 100, + 'product_discount_amount' => $cart_item->options->product_discount * 100, + 'product_discount_type' => $cart_item->options->product_discount_type, + 'product_tax_amount' => $cart_item->options->product_tax * 100, + ]); + } + + Cart::instance('quotation')->destroy(); + }); + + toast('Quotation Created!', 'success'); + + return redirect()->route('quotations.index'); + } + + + public function show(Quotation $quotation) { + abort_if(Gate::denies('show_quotations'), 403); + + $customer = Customer::findOrFail($quotation->customer_id); + + return view('quotation::show', compact('quotation', 'customer')); + } + + + public function edit(Quotation $quotation) { + abort_if(Gate::denies('edit_quotations'), 403); + + $quotation_details = $quotation->quotationDetails; + + Cart::instance('quotation')->destroy(); + + $cart = Cart::instance('quotation'); + + foreach ($quotation_details as $quotation_detail) { + $cart->add([ + 'id' => $quotation_detail->product_id, + 'name' => $quotation_detail->product_name, + 'qty' => $quotation_detail->quantity, + 'price' => $quotation_detail->price, + 'weight' => 1, + 'options' => [ + 'product_discount' => $quotation_detail->product_discount_amount, + 'product_discount_type' => $quotation_detail->product_discount_type, + 'sub_total' => $quotation_detail->sub_total, + 'code' => $quotation_detail->product_code, + 'stock' => Product::findOrFail($quotation_detail->product_id)->product_quantity, + 'product_tax' => $quotation_detail->product_tax_amount, + 'unit_price' => $quotation_detail->unit_price + ] + ]); + } + + return view('quotation::edit', compact('quotation')); + } + + + public function update(UpdateQuotationRequest $request, Quotation $quotation) { + DB::transaction(function () use ($request, $quotation) { + foreach ($quotation->quotationDetails as $quotation_detail) { + $quotation_detail->delete(); + } + + $quotation->update([ + 'date' => $request->date, + 'reference' => $request->reference, + 'customer_id' => $request->customer_id, + 'customer_name' => Customer::findOrFail($request->customer_id)->customer_name, + 'tax_percentage' => $request->tax_percentage, + 'discount_percentage' => $request->discount_percentage, + 'shipping_amount' => $request->shipping_amount * 100, + 'total_amount' => $request->total_amount * 100, + 'status' => $request->status, + 'note' => $request->note, + 'tax_amount' => Cart::instance('quotation')->tax() * 100, + 'discount_amount' => Cart::instance('quotation')->discount() * 100, + ]); + + foreach (Cart::instance('quotation')->content() as $cart_item) { + QuotationDetails::create([ + 'quotation_id' => $quotation->id, + 'product_id' => $cart_item->id, + 'product_name' => $cart_item->name, + 'product_code' => $cart_item->options->code, + 'quantity' => $cart_item->qty, + 'price' => $cart_item->price * 100, + 'unit_price' => $cart_item->options->unit_price * 100, + 'sub_total' => $cart_item->options->sub_total * 100, + 'product_discount_amount' => $cart_item->options->product_discount * 100, + 'product_discount_type' => $cart_item->options->product_discount_type, + 'product_tax_amount' => $cart_item->options->product_tax * 100, + ]); + } + + Cart::instance('quotation')->destroy(); + }); + + toast('Quotation Updated!', 'info'); + + return redirect()->route('quotations.index'); + } + + + public function destroy(Quotation $quotation) { + abort_if(Gate::denies('delete_quotations'), 403); + + $quotation->delete(); + + toast('Quotation Deleted!', 'warning'); + + return redirect()->route('quotations.index'); + } +} diff --git a/Modules/Quotation/Http/Controllers/QuotationSalesController.php b/Modules/Quotation/Http/Controllers/QuotationSalesController.php new file mode 100644 index 00000000..a149b03e --- /dev/null +++ b/Modules/Quotation/Http/Controllers/QuotationSalesController.php @@ -0,0 +1,48 @@ +quotationDetails; + + Cart::instance('sale')->destroy(); + + $cart = Cart::instance('sale'); + + foreach ($quotation_details as $quotation_detail) { + $cart->add([ + 'id' => $quotation_detail->product_id, + 'name' => $quotation_detail->product_name, + 'qty' => $quotation_detail->quantity, + 'price' => $quotation_detail->price, + 'weight' => 1, + 'options' => [ + 'product_discount' => $quotation_detail->product_discount_amount, + 'product_discount_type' => $quotation_detail->product_discount_type, + 'sub_total' => $quotation_detail->sub_total, + 'code' => $quotation_detail->product_code, + 'stock' => Product::findOrFail($quotation_detail->product_id)->product_quantity, + 'product_tax' => $quotation_detail->product_tax_amount, + 'unit_price' => $quotation_detail->unit_price + ] + ]); + } + + return view('quotation::quotation-sales.create', [ + 'quotation_id' => $quotation->id, + 'sale' => $quotation + ]); + } +} diff --git a/Modules/Quotation/Http/Controllers/SendQuotationEmailController.php b/Modules/Quotation/Http/Controllers/SendQuotationEmailController.php new file mode 100644 index 00000000..1abe55e2 --- /dev/null +++ b/Modules/Quotation/Http/Controllers/SendQuotationEmailController.php @@ -0,0 +1,32 @@ +customer->customer_email)->send(new QuotationMail($quotation)); + + $quotation->update([ + 'status' => 'Sent' + ]); + + toast('Sent On "' . $quotation->customer->customer_email . '"!', 'success'); + + } catch (\Exception $exception) { + Log::error($exception); + toast('Something Went Wrong!', 'error'); + } + + return back(); + } +} diff --git a/Modules/Quotation/Http/Middleware/.gitkeep b/Modules/Quotation/Http/Middleware/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Http/Requests/.gitkeep b/Modules/Quotation/Http/Requests/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Http/Requests/StoreQuotationRequest.php b/Modules/Quotation/Http/Requests/StoreQuotationRequest.php new file mode 100644 index 00000000..0919f9a1 --- /dev/null +++ b/Modules/Quotation/Http/Requests/StoreQuotationRequest.php @@ -0,0 +1,38 @@ + 'required|numeric', + 'reference' => 'required|string|max:255', + 'tax_percentage' => 'required|integer|min:0|max:100', + 'discount_percentage' => 'required|integer|min:0|max:100', + 'shipping_amount' => 'required|numeric', + 'total_amount' => 'required|numeric', + 'status' => 'required|string|max:255', + 'note' => 'nullable|string|max:1000' + ]; + } + + /** + * Determine if the user is authorized to make this request. + * + * @return bool + */ + public function authorize() + { + return Gate::allows('create_quotations'); + } +} diff --git a/Modules/Quotation/Http/Requests/UpdateQuotationRequest.php b/Modules/Quotation/Http/Requests/UpdateQuotationRequest.php new file mode 100644 index 00000000..f6236188 --- /dev/null +++ b/Modules/Quotation/Http/Requests/UpdateQuotationRequest.php @@ -0,0 +1,38 @@ + 'required|numeric', + 'reference' => 'required|string|max:255', + 'tax_percentage' => 'required|integer|min:0|max:100', + 'discount_percentage' => 'required|integer|min:0|max:100', + 'shipping_amount' => 'required|numeric', + 'total_amount' => 'required|numeric', + 'status' => 'required|string|max:255', + 'note' => 'nullable|string|max:1000' + ]; + } + + /** + * Determine if the user is authorized to make this request. + * + * @return bool + */ + public function authorize() + { + return Gate::allows('edit_quotations'); + } +} diff --git a/Modules/Quotation/Providers/.gitkeep b/Modules/Quotation/Providers/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Providers/QuotationServiceProvider.php b/Modules/Quotation/Providers/QuotationServiceProvider.php new file mode 100644 index 00000000..9424cc5f --- /dev/null +++ b/Modules/Quotation/Providers/QuotationServiceProvider.php @@ -0,0 +1,112 @@ +registerTranslations(); + $this->registerConfig(); + $this->registerViews(); + $this->loadMigrationsFrom(module_path($this->moduleName, 'Database/Migrations')); + } + + /** + * Register the service provider. + * + * @return void + */ + public function register() + { + $this->app->register(RouteServiceProvider::class); + } + + /** + * Register config. + * + * @return void + */ + protected function registerConfig() + { + $this->publishes([ + module_path($this->moduleName, 'Config/config.php') => config_path($this->moduleNameLower . '.php'), + ], 'config'); + $this->mergeConfigFrom( + module_path($this->moduleName, 'Config/config.php'), $this->moduleNameLower + ); + } + + /** + * Register views. + * + * @return void + */ + public function registerViews() + { + $viewPath = resource_path('views/modules/' . $this->moduleNameLower); + + $sourcePath = module_path($this->moduleName, 'Resources/views'); + + $this->publishes([ + $sourcePath => $viewPath + ], ['views', $this->moduleNameLower . '-module-views']); + + $this->loadViewsFrom(array_merge($this->getPublishableViewPaths(), [$sourcePath]), $this->moduleNameLower); + } + + /** + * Register translations. + * + * @return void + */ + public function registerTranslations() + { + $langPath = resource_path('lang/modules/' . $this->moduleNameLower); + + if (is_dir($langPath)) { + $this->loadTranslationsFrom($langPath, $this->moduleNameLower); + } else { + $this->loadTranslationsFrom(module_path($this->moduleName, 'Resources/lang'), $this->moduleNameLower); + } + } + + /** + * Get the services provided by the provider. + * + * @return array + */ + public function provides() + { + return []; + } + + private function getPublishableViewPaths(): array + { + $paths = []; + foreach (\Config::get('view.paths') as $path) { + if (is_dir($path . '/modules/' . $this->moduleNameLower)) { + $paths[] = $path . '/modules/' . $this->moduleNameLower; + } + } + return $paths; + } +} diff --git a/Modules/Quotation/Providers/RouteServiceProvider.php b/Modules/Quotation/Providers/RouteServiceProvider.php new file mode 100644 index 00000000..077305c4 --- /dev/null +++ b/Modules/Quotation/Providers/RouteServiceProvider.php @@ -0,0 +1,69 @@ +mapApiRoutes(); + + $this->mapWebRoutes(); + } + + /** + * Define the "web" routes for the application. + * + * These routes all receive session state, CSRF protection, etc. + * + * @return void + */ + protected function mapWebRoutes() + { + Route::middleware('web') + ->namespace($this->moduleNamespace) + ->group(module_path('Quotation', '/Routes/web.php')); + } + + /** + * Define the "api" routes for the application. + * + * These routes are typically stateless. + * + * @return void + */ + protected function mapApiRoutes() + { + Route::prefix('api') + ->middleware('api') + ->namespace($this->moduleNamespace) + ->group(module_path('Quotation', '/Routes/api.php')); + } +} diff --git a/Modules/Quotation/Resources/assets/.gitkeep b/Modules/Quotation/Resources/assets/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Resources/assets/js/app.js b/Modules/Quotation/Resources/assets/js/app.js new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Resources/assets/sass/app.scss b/Modules/Quotation/Resources/assets/sass/app.scss new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Resources/lang/.gitkeep b/Modules/Quotation/Resources/lang/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Resources/views/.gitkeep b/Modules/Quotation/Resources/views/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Modules/Quotation/Resources/views/create.blade.php b/Modules/Quotation/Resources/views/create.blade.php new file mode 100644 index 00000000..9d2c166e --- /dev/null +++ b/Modules/Quotation/Resources/views/create.blade.php @@ -0,0 +1,92 @@ +@extends('layouts.app') + +@section('title', 'Create Quotation') + +@section('breadcrumb') +
+@endsection + +@section('content') +Product | +Net Unit Price | +Quantity | +Discount | +Tax | +Sub Total | +
---|---|---|---|---|---|
+ {{ $item->product_name }} + + {{ $item->product_code }} + + |
+
+ {{ format_currency($item->unit_price) }} | + ++ {{ $item->quantity }} + | + ++ {{ format_currency($item->product_discount_amount) }} + | + ++ {{ format_currency($item->product_tax_amount) }} + | + ++ {{ format_currency($item->sub_total) }} + | +
Discount ({{ $quotation->discount_percentage }}%) | +{{ format_currency($quotation->discount_amount) }} | +
Tax ({{ $quotation->tax_percentage }}%) | +{{ format_currency($quotation->tax_amount) }} | +
Shipping) | +{{ format_currency($quotation->shipping_amount) }} | +
Grand Total | +{{ format_currency($quotation->total_amount) }} | +
{{ settings()->company_name }} © {{ date('Y') }}
+Product | +Net Unit Price | +Quantity | +Discount | +Tax | +Sub Total | +
---|---|---|---|---|---|
+ {{ $item->product_name }} + + {{ $item->product_code }} + + |
+
+ {{ format_currency($item->unit_price) }} | + ++ {{ $item->quantity }} + | + ++ {{ format_currency($item->product_discount_amount) }} + | + ++ {{ format_currency($item->product_tax_amount) }} + | + ++ {{ format_currency($item->sub_total) }} + | +
Discount ({{ $quotation->discount_percentage }}%) | +{{ format_currency($quotation->discount_amount) }} | +
Tax ({{ $quotation->tax_percentage }}%) | +{{ format_currency($quotation->tax_amount) }} | +
Shipping) | +{{ format_currency($quotation->shipping_amount) }} | +
Grand Total | +{{ format_currency($quotation->total_amount) }} | +
{{ settings()->company_name }} © {{ date('Y') }}
+Product | +Net Unit Price | +Quantity | +Discount | +Tax | +Sub Total | +
---|---|---|---|---|---|
+ {{ $item->product_name }} + + {{ $item->product_code }} + + |
+
+ {{ format_currency($item->unit_price) }} | + ++ {{ $item->quantity }} + | + ++ {{ format_currency($item->product_discount_amount) }} + | + ++ {{ format_currency($item->product_tax_amount) }} + | + ++ {{ format_currency($item->sub_total) }} + | +
Discount ({{ $quotation->discount_percentage }}%) | +{{ format_currency($quotation->discount_amount) }} | +
Tax ({{ $quotation->tax_percentage }}%) | +{{ format_currency($quotation->tax_amount) }} | +
Shipping | +{{ format_currency($quotation->shipping_amount) }} | +
Grand Total | +{{ format_currency($quotation->total_amount) }} | +