diff --git a/app/Models/Product/Voip.php b/app/Models/Product/Voip.php index 66f6c6f..4e3dfaa 100644 --- a/app/Models/Product/Voip.php +++ b/app/Models/Product/Voip.php @@ -68,7 +68,7 @@ final class Voip extends Type implements ProductItem public function hasUsage(): bool { - return TRUE; + return FALSE; } public function allowance(): Collection @@ -78,7 +78,7 @@ final class Voip extends Type implements ProductItem public function allowance_string(): string { - // TODO: Implement allowance_string() method. + return "(TBA)"; } public function getCostAttribute(): float diff --git a/resources/views/theme/backend/adminlte/a/service/widgets/voip/update.blade.php b/resources/views/theme/backend/adminlte/a/service/widgets/voip/update.blade.php new file mode 100644 index 0000000..e883f0d --- /dev/null +++ b/resources/views/theme/backend/adminlte/a/service/widgets/voip/update.blade.php @@ -0,0 +1,35 @@ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
\ No newline at end of file diff --git a/resources/views/theme/backend/adminlte/u/service/widgets/voip/details.blade.php b/resources/views/theme/backend/adminlte/u/service/widgets/voip/details.blade.php index 41adf57..bf5ec88 100644 --- a/resources/views/theme/backend/adminlte/u/service/widgets/voip/details.blade.php +++ b/resources/views/theme/backend/adminlte/u/service/widgets/voip/details.blade.php @@ -45,8 +45,8 @@ @if($o->service->product->type) - Traffic - {{ $o->service->product->type->allowance_string() }} GB @if(FALSE)(YY GB used month)@endif + Usage + {{ $o->service->product->type->allowance_string() }} Included Calls @endif @if ($o->inContract())