Пример #1
0
 /**
  * Get the total for the line item.
  *
  * @return float
  */
 public function total()
 {
     return $this->billable->formatCurrency($this->amount);
 }
Пример #2
0
 /**
  * Get the currency for the billable entity.
  *
  * @return string
  */
 protected function getCurrency()
 {
     return $this->billable->getCurrency();
 }