<?php
namespace Claromentis\Projects\Reports\Columns;

$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"] ?: array()) + array("_71db993b3c64332f0a518269e" . "45b3912" => base64_decode("JXMuJXMgPSAoU0VMRUNUIENPVU5UKGlkKSBGUk9NIHByb2plY3RzX" . "3Rhc2sgV0hFUkUgcHJvamVjdF9pZD0lcy5pZCBBTkQgc3RhdHVzX2" . "lkPD4lcyk="), "_81b8d2aed40" . "ad78c5a7fe0c" . "c26c1c94d" => base64_decode("JXMuJXMgPSAoU0VMRUNUIENPVU5UKGlkKSBGUk9NIHByb2plY3RzX3Rhc2sgV0hFUkUgcHJvamVjdF9pZD" . "0lcy5pZCBBTkQgc3RhdHVzX2lkPSVzKQ=="), "_6596b8f6a4969f9" . "a3f6a1b22b90e933" . "1" => base64_decode("c3ByaW" . "50Zg=="), "_7a0e6291d98e6a6462f1fe366868d" . "5db" => base64_decode("JXMuJ" . "XM="));
use Claromentis\Projects\Model\Task;
use Claromentis\Reports\Interfaces\ColumnInterface;
class TasksCount implements ColumnInterface
{
    
    
    
    
    protected $name;
    
    
    
    
    protected $completed;
    
    
    
    
    protected $task_table_name;
    public function __construct(string $_8dabb06efc95df4cff7c4afe91857b53, string $_4318ee960a9995da8df55bd55b1b6d4f, bool $_64666bcf1e5aaa07774f3d7439ff264d)
    {
        $this->name = $_8dabb06efc95df4cff7c4afe91857b53;
        $this->completed = $_64666bcf1e5aaa07774f3d7439ff264d;
        $this->task_table_name = $_4318ee960a9995da8df55bd55b1b6d4f;
    }
    public function GetName()
    {
        return $this->name;
    }
    public function GetQueryPart($_f5ccc9e009e9c213fed012d6655c1325, $_8b42294925f0143ddad7e65905f0b8d6)
    {
        if ($this->completed) {
            $_d962cfd1735adb2dfba46f69c7f15cb8 = $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_6596b8f" . "6a4969f9" . "a3f6a1b2" . "2b90e933" . "1"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_81b8d2aed40ad78c5a" . "7fe0cc26c1c94d"], $_f5ccc9e009e9c213fed012d6655c1325, $this->name, $_f5ccc9e009e9c213fed012d6655c1325, Task::STATUS_COMPLETED);
        } else {
            $_d962cfd1735adb2dfba46f69c7f15cb8 = $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_6596b8f6a" . "4969f9a3f6" . "a1b22b90e9" . "331"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_71db993b3c64332f0a518269" . "e45b3912"], $_f5ccc9e009e9c213fed012d6655c1325, $this->name, $_f5ccc9e009e9c213fed012d6655c1325, Task::STATUS_COMPLETED);
        }
        return $_d962cfd1735adb2dfba46f69c7f15cb8;
    }
    public function GetSortableQueryPart($_f5ccc9e009e9c213fed012d6655c1325, $_8b42294925f0143ddad7e65905f0b8d6)
    {
        return $GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_6596b8f6a4969f9a3f6a1" . "b22b90e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_7a0e6291d98e6a6" . "462f1fe366868d5d" . "b"], $_f5ccc9e009e9c213fed012d6655c1325, $this->name);
    }
    public function GetFilter()
    {
        return null;
    }
    public function FormatValue($_71f6a5b5840d77d6f5700b8129d32c14, array $_61fbb5071d97b5eb5a2d82e386e63d7b = [])
    {
        return (int) $_71f6a5b5840d77d6f5700b8129d32c14;
    }
}