KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Card: it's possible to display multi column inside one Card #1800

Open developer opened this topic on on Dec 27, 2020 - 2 comments

developer commented on Dec 27, 2020
Card::create(array(
              "title"=>"Net Sales",
              "value" => $this->src("mysql_datasource")
                  ->query("
                    SELECT
                        transactions.invoice_type as type,
                        sum(transactions.total_amount) total
                    FROM
                        transactions
                    WHERE
                        transactions.status = 3 AND transactions.transaction_type = 1      
                  "),
               "another_column" => 2554,
                "type" => 55644,
               "baseValue"=>12
              ),
));
KoolReport commented on Dec 27, 2020

Do you mean something like this?

Ali commented on Dec 27, 2020

no, could you see this

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None