* Fix rank importing with PIREP pay #443 * Import ledger information #443 * Uncomment out testing importers * Import expense log and settings #443 * Formatting
This commit is contained in:
@@ -37,6 +37,7 @@ class FinanceService extends Service
|
||||
* @param string $memo
|
||||
* @param string $transaction_group
|
||||
* @param string|array $tag
|
||||
* @param string $post_date
|
||||
*
|
||||
* @throws \Prettus\Validator\Exceptions\ValidatorException
|
||||
*
|
||||
@@ -48,7 +49,8 @@ class FinanceService extends Service
|
||||
$reference,
|
||||
$memo,
|
||||
$transaction_group,
|
||||
$tag
|
||||
$tag,
|
||||
$post_date = null
|
||||
) {
|
||||
return $this->journalRepo->post(
|
||||
$journal,
|
||||
@@ -72,6 +74,7 @@ class FinanceService extends Service
|
||||
* @param string $memo
|
||||
* @param string $transaction_group
|
||||
* @param string|array $tag
|
||||
* @param string $post_date
|
||||
*
|
||||
* @throws \Prettus\Validator\Exceptions\ValidatorException
|
||||
*
|
||||
@@ -83,7 +86,8 @@ class FinanceService extends Service
|
||||
$reference,
|
||||
$memo,
|
||||
$transaction_group,
|
||||
$tag
|
||||
$tag,
|
||||
$post_date = null
|
||||
) {
|
||||
return $this->journalRepo->post(
|
||||
$journal,
|
||||
@@ -91,7 +95,7 @@ class FinanceService extends Service
|
||||
$amount,
|
||||
$reference,
|
||||
$memo,
|
||||
null,
|
||||
$post_date,
|
||||
$transaction_group,
|
||||
$tag
|
||||
);
|
||||
|
||||
@@ -16,7 +16,9 @@ class Money
|
||||
public static $subunit_multiplier;
|
||||
|
||||
/**
|
||||
* @param mixed $amount
|
||||
* Create a new Money instance, passing in the amount in pennies
|
||||
*
|
||||
* @param mixed $amount The amount, in pennies
|
||||
*
|
||||
* @throws \UnexpectedValueException
|
||||
* @throws \InvalidArgumentException
|
||||
@@ -31,7 +33,7 @@ class Money
|
||||
/**
|
||||
* Create from a dollar amount
|
||||
*
|
||||
* @param mixed $amount
|
||||
* @param mixed $amount The amount in pennies
|
||||
*
|
||||
* @throws \UnexpectedValueException
|
||||
* @throws \InvalidArgumentException
|
||||
|
||||
Reference in New Issue
Block a user