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

$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] ?: array()) + array("_81b8d2aed40" . "ad78c5a7fe0c" . "c26c1c94d" => base64_decode("JXMuJXMgPSAoU0VMRUNUIENPVU5UKGlkKSBGUk9NIHByb2plY" . "3RzX3Rhc2sgV0hFUkUgcHJvamVjdF9pZD0lcy5pZCBBTkQgc3" . "RhdHVzX2lkPSVzKQ=="), "_71db993b3" . "c64332f0a5" . "18269e45b3" . "912" => base64_decode("JXMuJXMgPSAoU0VMRUNUIENPVU5UKGlkKSBGUk9NIHByb2plY3" . "RzX3Rhc2sgV0hFUkUgcHJvamVjdF9pZD0lcy5pZCBBTkQgc3Rh" . "dHVzX2lkPD4lcyk="), "_6596b8f6a4969f9a3f6a1b22b" . "90e9331" => base64_decode("c3ByaW50Zg=" . "="), "_7a0e6291d98e" . "6a6462f1fe366" . "868d5db" => base64_decode("JXMu" . "JXM="));
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["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_6596b8f6a4969f9a3f6a1b22b90" . "e9331"]($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_81b8d2aed40ad78c" . "5a7fe0cc26c1c94d"], $_f5ccc9e009e9c213fed012d6655c1325, $this->name, $_f5ccc9e009e9c213fed012d6655c1325, Task::STATUS_COMPLETED);
        } else {
            $_d962cfd1735adb2dfba46f69c7f15cb8 = $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_6596b8f6a4969f9a3f6a1b22b90e93" . "31"]($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_71db993b3c64332f0" . "a518269e45b3912"], $_f5ccc9e009e9c213fed012d6655c1325, $this->name, $_f5ccc9e009e9c213fed012d6655c1325, Task::STATUS_COMPLETED);
        }
        return $_d962cfd1735adb2dfba46f69c7f15cb8;
    }
    public function GetSortableQueryPart($_f5ccc9e009e9c213fed012d6655c1325, $_8b42294925f0143ddad7e65905f0b8d6)
    {
        return $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_6596b8f6a4969f9a3f6a1b22b9" . "0e9331"]($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_7a0e6291d" . "98e6a6462f" . "1fe366868d" . "5db"], $_f5ccc9e009e9c213fed012d6655c1325, $this->name);
    }
    public function GetFilter()
    {
        return null;
    }
    public function FormatValue($_71f6a5b5840d77d6f5700b8129d32c14, array $_61fbb5071d97b5eb5a2d82e386e63d7b = [])
    {
        return (int) $_71f6a5b5840d77d6f5700b8129d32c14;
    }
}