dbms_init...1

This commit is contained in:
choi.jh 2025-06-24 11:20:16 +09:00
parent d5f2e5a688
commit a5f3662fca
5 changed files with 12 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -56,10 +56,11 @@ class ServicePaymentEntity extends CustomerEntity
$due = new DateTime($this->getBillingAt());
if ($due < $now) {
$interval = $due->diff($now);
$result = "{$interval->days}";
$result = "{$interval->days}지남";
} else if ($due > $now) {
$interval = $now->diff($due);
$result = "{$interval->days}일후";
$day = $interval->days + 1;
$result = "{$day}일전";
} else {
$result = "당일";
}

View File

@ -11,7 +11,7 @@ return [
'switch' => "스위치코드",
'code' => "서버코드",
'raid' => "RAID",
'billing_at' => "납부기한",
'billing_at' => "결제일",
'start_at' => "개통일",
'status' => "상태",
'updated_at' => "수정일",

View File

@ -9,13 +9,13 @@ return [
'item_uid' => "항목",
'billing_cycle' => "납부방식",
'amount' => "결제금액",
'billing_at' => "납부기한",
'billing_at' => "결제일",
'issue_at' => "발행일",
'status' => "상태",
'updated_at' => "수정일",
'created_at' => "신청일",
'deleted_at' => "삭제일",
'countdown' => "납부기",
'countdown' => "납부기",
"LINE" => "라인",
"IP" => "IP주소",
"SERVER" => "서버",

2
billing.sh Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/bash
/usr/bin/php /home/dbms/public/index.php cli/billing