Add first_operation_date method and update date handling in Finances class
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
namespace factory;
|
||||
class Finances
|
||||
{
|
||||
static public function first_operation_date()
|
||||
{
|
||||
global $mdb;
|
||||
return $mdb -> get( 'finance_operations', 'date', [ 'ORDER' => [ 'date' => 'ASC' ] ] );
|
||||
}
|
||||
|
||||
static public function get_operation_tags( int $operation_id )
|
||||
{
|
||||
global $mdb;
|
||||
|
||||
Reference in New Issue
Block a user