dbms_init...1
This commit is contained in:
parent
d5f2e5a688
commit
a5f3662fca
File diff suppressed because one or more lines are too long
@ -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 = "당일";
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@ return [
|
||||
'switch' => "스위치코드",
|
||||
'code' => "서버코드",
|
||||
'raid' => "RAID",
|
||||
'billing_at' => "납부기한",
|
||||
'billing_at' => "결제일",
|
||||
'start_at' => "개통일",
|
||||
'status' => "상태",
|
||||
'updated_at' => "수정일",
|
||||
|
||||
@ -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
2
billing.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/usr/bin/bash
|
||||
/usr/bin/php /home/dbms/public/index.php cli/billing
|
||||
Loading…
Reference in New Issue
Block a user