Darken the dark canvas, add customer colours, the ongoing status and the board model
- Dark theme page background is #5a5e60; text on it is lifted to zinc-200 / primary-100 and TallStackUI's dark labels, hints and checkbox labels are lightened so everything stays at 4.5:1. - Shared HexColor picks white or black text by the higher WCAG contrast; a native-dialog colour picker and a large work dialog component. - Customers get a header colour (customers.header_color), set on the customer page. - New job status Jatkuvat / Kausi (ongoing): open, never late, billed monthly like running jobs. - Kanban model: board columns and views, urgent threshold, per-user board preferences (density, column colours and sort), card positions, tasks of continuing jobs pinned to the board, MoveBoardCard and board queries with logged hours from TimeTracking. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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]"
|
||||
/>
|
||||
<p id="billing-period-help" class="text-xs text-zinc-600 dark:text-zinc-300">{{ __('billing.export.period_help') }}</p>
|
||||
<p id="billing-period-help" class="text-xs text-zinc-600 dark:text-zinc-200">{{ __('billing.export.period_help') }}</p>
|
||||
@error('period')
|
||||
<p id="billing-period-error" class="text-xs text-red-700 dark:text-red-400">{{ $message }}</p>
|
||||
@enderror
|
||||
@@ -504,7 +504,7 @@ new class extends Component
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p id="hours-help-{{ $job->jobId }}" class="text-xs text-zinc-600 dark:text-zinc-300">{{ __('billing.jobs.billable_help') }}</p>
|
||||
<p id="hours-help-{{ $job->jobId }}" class="text-xs text-zinc-600 dark:text-zinc-200">{{ __('billing.jobs.billable_help') }}</p>
|
||||
@endif
|
||||
|
||||
@php($expenseLines = $this->linesOfKind($job, LineKind::Expense))
|
||||
|
||||
Reference in New Issue
Block a user