php jquery içinde değer hatası yardım lütfen

value leri almıyor
function nameFormatter(value) {
    return '<?php if("'+value+'"=="1"){echo "<font color=green>Ödendi</font>"; } else { echo "<font color=red>Ödenmedi</font></br><a href=fatura-ode.php>Hemen Öde</a>"; } ?>';
}

function tarihFormatter(value) {
    return '<?php echo tarihDonustur('+value+'); ?>';
}
bu şekilde sorunsuz değer geliyor

function tutarFormatter(value) {
    return ''+value+' TL';
}