diff --git a/app/Modules/Billing/Infrastructure/JobsForBilling.php b/app/Modules/Billing/Infrastructure/JobsForBilling.php index 8b59d94..39c55be 100644 --- a/app/Modules/Billing/Infrastructure/JobsForBilling.php +++ b/app/Modules/Billing/Infrastructure/JobsForBilling.php @@ -21,8 +21,8 @@ use App\Modules\Jobs\Domain\Enums\PaymentBasis; */ class JobsForBilling implements BillingJobs { - /** Statuses in which a monthly fee job is billed: running or done. */ - private const array MONTHLY_STATUSES = [JobStatus::Order, JobStatus::InProduction, JobStatus::OnHold, JobStatus::Done]; + /** Statuses in which a monthly fee job is billed: running, ongoing or done. */ + private const array MONTHLY_STATUSES = [JobStatus::Order, JobStatus::InProduction, JobStatus::OnHold, JobStatus::Done, JobStatus::Ongoing]; public function __construct( private CustomerJobQueries $jobs, diff --git a/app/Modules/Billing/Presentation/Livewire/⚡export.blade.php b/app/Modules/Billing/Presentation/Livewire/⚡export.blade.php index f35986a..17d371d 100644 --- a/app/Modules/Billing/Presentation/Livewire/⚡export.blade.php +++ b/app/Modules/Billing/Presentation/Livewire/⚡export.blade.php @@ -355,7 +355,7 @@ new class extends Component @error('period') aria-invalid="true" @enderror class="w-full rounded-md border border-zinc-400 bg-white px-2 py-1.5 text-zinc-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 dark:focus-visible:outline-primary-300 aria-invalid:border-red-700 dark:border-zinc-500 dark:bg-zinc-900 dark:text-zinc-100 dark:aria-invalid:border-red-400 dark:[color-scheme:dark]" /> -
{{ __('billing.export.period_help') }}
+{{ __('billing.export.period_help') }}
@error('period'){{ $message }}
@enderror @@ -504,7 +504,7 @@ new class extends Component -{{ __('billing.jobs.billable_help') }}
+{{ __('billing.jobs.billable_help') }}
@endif @php($expenseLines = $this->linesOfKind($job, LineKind::Expense)) diff --git a/app/Modules/Catalog/Presentation/Livewire/⚡index.blade.php b/app/Modules/Catalog/Presentation/Livewire/⚡index.blade.php index 4d66a7f..5839f09 100644 --- a/app/Modules/Catalog/Presentation/Livewire/⚡index.blade.php +++ b/app/Modules/Catalog/Presentation/Livewire/⚡index.blade.php @@ -120,7 +120,7 @@ new class extends Component{{ __('catalog.intro') }}
+{{ __('catalog.intro') }}
{{ __('catalog.shared') }}
+{{ __('catalog.shared') }}
@endif @if ($unit->usesStock) -+
{{ __('catalog.service_units.uses_stock_on') }}
diff --git a/app/Modules/Catalog/Presentation/Livewire/⚡price-list.blade.php b/app/Modules/Catalog/Presentation/Livewire/⚡price-list.blade.php index dc107d4..ee3a547 100644 --- a/app/Modules/Catalog/Presentation/Livewire/⚡price-list.blade.php +++ b/app/Modules/Catalog/Presentation/Livewire/⚡price-list.blade.php @@ -126,7 +126,7 @@ new class extends Component{{ __('catalog.price_list.consumer_help') }}
+{{ __('catalog.price_list.consumer_help') }}
{{ __('catalog.price_list.hourly_help') }}
+{{ __('catalog.price_list.hourly_help') }}
{{ __('catalog.price_list.no_permission') }}
+{{ __('catalog.price_list.no_permission') }}
@endif diff --git a/app/Modules/Catalog/Presentation/Livewire/⚡prices.blade.php b/app/Modules/Catalog/Presentation/Livewire/⚡prices.blade.php index 770d7d4..a878dc8 100644 --- a/app/Modules/Catalog/Presentation/Livewire/⚡prices.blade.php +++ b/app/Modules/Catalog/Presentation/Livewire/⚡prices.blade.php @@ -347,7 +347,7 @@ new class extends Component{{ __('catalog.prices.intro') }}
+{{ __('catalog.prices.intro') }}
{{ __('catalog.prices.hourly_rates_help') }}
+{{ __('catalog.prices.hourly_rates_help') }}
{{ __('catalog.products.help') }}
+{{ __('catalog.products.help') }}
@if ($this->products === []){{ __('catalog.vat_rates.help') }}
+{{ __('catalog.vat_rates.help') }}
{{ __('catalog.products.consumer_help') }}
+{{ __('catalog.products.consumer_help') }}
{{ __('catalog.fields.service_unit') }}: {{ $unitName }}
+{{ __('catalog.fields.service_unit') }}: {{ $unitName }}
@endif{{ __('catalog.service_units.uses_stock_hint') }}
+{{ __('catalog.service_units.uses_stock_hint') }}
{{ __('catalog.vat_rates.change_help') }}
+{{ __('catalog.vat_rates.change_help') }}
@endif+
{{ __('dashboard.month.period', [ 'from' => $this->dateLabel($overview->monthFrom), 'to' => $this->dateLabel($overview->monthTo), 'previous_from' => $this->dateLabel($overview->previousFrom), 'previous_to' => $this->dateLabel($overview->previousTo), @@ -174,7 +174,7 @@ new class extends Component
{{ __('dashboard.month.billing_note') }}
+{{ __('dashboard.month.billing_note') }}
@endcan @@ -223,7 +223,7 @@ new class extends Component @foreach ($overview->oldestOverdueTasks as $task){{ __('expenses.fields.job') }}: {{ $job->label() }}
+{{ __('expenses.fields.job') }}: {{ $job->label() }}
{{ __('expenses.amounts_hidden_help') }}
+{{ __('expenses.amounts_hidden_help') }}
@endunless @if ($this->expenses === []) @@ -174,7 +174,7 @@ new class extends Component @interact('column_what', $expense) {{ $this->summaryText($expense) }} - + {{ __('expenses.categories.'.$expense->category->value) }}, {{ __('expenses.payers.'.$expense->paidBy->value) }} @endinteract diff --git a/app/Modules/Expenses/Presentation/Livewire/⚡mine.blade.php b/app/Modules/Expenses/Presentation/Livewire/⚡mine.blade.php index 212b32b..aca5cf9 100644 --- a/app/Modules/Expenses/Presentation/Livewire/⚡mine.blade.php +++ b/app/Modules/Expenses/Presentation/Livewire/⚡mine.blade.php @@ -102,7 +102,7 @@ new class extends Component+
{{ __(auth()->user()?->can('expenses.record') ? 'expenses.mine.help' : 'expenses.mine.help_subcontractor') }}
{{ __('inventory.counts.values', ['before' => $this->money((int) $count->valueBeforeCents), 'after' => $this->money((int) $count->valueAfterCents)]) }}
@endcan @else -{{ __('inventory.counts.count_help') }}
+{{ __('inventory.counts.count_help') }}
@endif{{ $line->itemName }}
-+
@if ($line->isCounted()) {{ __('inventory.counts.book', ['book' => $this->quantity((int) $line->bookMilli, $line->unit)]) }} · {{ __('inventory.counts.difference', ['difference' => $this->signed((int) $difference, $line->unit)]) }} @@ -240,7 +240,7 @@ new class extends Component
{{ $line->isCounted() ? $this->quantity((int) $line->countedMilli, $line->unit) : '–' }}
@else