Ver código fonte

update claim December

ifah
Siti Hajar Ibrahim 5 anos atrás
pai
commit
a96b9d96ff
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4
    4
      app/Http/Controllers/DS/DealerClaimController.php

+ 4
- 4
app/Http/Controllers/DS/DealerClaimController.php Ver arquivo

@@ -50,11 +50,11 @@ class DealerClaimController extends Controller
$product = Product::where('speed', $formD->PackageDetail->name)->where('formT',$formD->type_application)->first();
$docket = Docket::where('work_order_id',$formD->WorkOrder->wo)->first();

// if($product->promotion_price != "0"){
// $price = (int)$product->promotion_price;
// } else {
if($product->promotion_price != "0"){
$price = (int)$product->promotion_price;
} else {
$price = (int)$product->retail_price;
// }
}

if(!empty($docket->docket_id)){
$subsData = [

Carregando…
Cancelar
Salvar