mirror of
https://github.com/Karaka-Management/oms-BusinessExpenses.git
synced 2026-01-11 15:18:44 +00:00
many bug fixes
This commit is contained in:
parent
f96e97827d
commit
d3c89868bb
|
|
@ -446,7 +446,7 @@ final class ApiController extends Controller
|
|||
$new = clone $old;
|
||||
|
||||
if (!empty($request->files)) {
|
||||
$request->setData('element', $element->id, true);
|
||||
$request->setData('ref', $element->id, true);
|
||||
$this->apiMediaAddToExpenseElement($request, $response, $data);
|
||||
}
|
||||
|
||||
|
|
@ -471,6 +471,10 @@ final class ApiController extends Controller
|
|||
* from the uploaded media for empty fields (i.e. description, price, ...)
|
||||
* https://github.com/Karaka-Management/oms-BusinessExpenses/issues/1
|
||||
*
|
||||
* @feature When uploading an expense check the date on the bill with the date of the element.
|
||||
* If different warn user.
|
||||
* https://github.com/Karaka-Management/phpOMS/issues/391
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function apiExpenseElementFromUploadCreate(RequestAbstract $request, ResponseAbstract $response, array $data = []) : void
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user