-
-
Save scriptdev/bcc7eab586751b470001b7837a11743a to your computer and use it in GitHub Desktop.
CRIAR LINK DE AÇÃO NO BIndicator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function($value, $object, $row) | |
{ | |
if($value) | |
{ | |
$value = 'R$ ' . number_format($value, 2, '.', ''); | |
$link = new TActionLink($value, new TAction(['ExemploForm', 'onShow'])); | |
return $link; | |
} | |
return 'R$ 0,00'; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment