Skip to content

Latest commit

 

History

History
54 lines (28 loc) · 1.34 KB

README.md

File metadata and controls

54 lines (28 loc) · 1.34 KB

Nova TimeTracker Field

Total Downloads

Time Tracker Field for Laravel Nova

TimeTracker Field Preview

Resource Generator Tool

IMPORTANT

I create this for a personal project, be free to fork it, and customize :)

I modify some css ( responsive ), so use https://packagist.org/packages/gregoriohc/laravel-nova-theme-responsive

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require cloudstudio/time-tracker

Next up, you must register the field with Nova. This is typically done in the resource file.

use Cloudstudio\TimeTracker\TimeTracker;

TimeTracker::make('Hours', 'seconds', function () {
	return gmdate("H:i:s", $this->seconds);
})->sortable(),

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.