Prod kopkb (#8)
Co-authored-by: nurafrinaalimi16 <nurafrinaalimi16@gmail.com> Co-authored-by: dev_kopkb <xtrabiz.sb@gmail.com> Co-authored-by: root <root@erahn.click> Reviewed-on: #8 Co-authored-by: afrina <afrina@koppkb.com> Co-committed-by: afrina <afrina@koppkb.com>
This commit was merged in pull request #8.
This commit is contained in:
@@ -398,7 +398,7 @@ class OnePercentService
|
||||
$t_gadai = Carbon::parse($gadai->t_gadai);
|
||||
$t_bayaran = Carbon::parse($trans->tarikh_bayaran);
|
||||
|
||||
if ($t_gadai->month === $t_bayaran->month && $t_gadai->year === $t_bayaran->year) {
|
||||
if (($t_gadai->month == $t_bayaran->month) && ($t_gadai->year == $t_bayaran->year)) {
|
||||
return false;
|
||||
}else{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user