2021-07-17 15:25:50 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Pdf;
|
|
|
|
|
2021-07-17 17:13:16 +02:00
|
|
|
use Carbon\Carbon;
|
|
|
|
|
2021-07-17 15:25:50 +02:00
|
|
|
abstract class Repository
|
|
|
|
{
|
|
|
|
|
|
|
|
public function number(int $number): string
|
|
|
|
{
|
|
|
|
return number_format($number / 100, 2, '.', '');
|
|
|
|
}
|
|
|
|
|
2021-07-17 17:13:16 +02:00
|
|
|
public function getUntil(): Carbon
|
|
|
|
{
|
|
|
|
return now()->addWeeks(2);
|
|
|
|
}
|
|
|
|
|
2021-07-17 15:25:50 +02:00
|
|
|
}
|