diff --git a/plugins/bulk_upload/csv/batch/BulkUploadVendorCatalogItemEngineCsv.php b/plugins/bulk_upload/csv/batch/BulkUploadVendorCatalogItemEngineCsv.php index e355d6cda68..d073819c550 100644 --- a/plugins/bulk_upload/csv/batch/BulkUploadVendorCatalogItemEngineCsv.php +++ b/plugins/bulk_upload/csv/batch/BulkUploadVendorCatalogItemEngineCsv.php @@ -29,7 +29,9 @@ class BulkUploadVendorCatalogItemEngineCsv extends BulkUploadEngineCsv private $bulkUploadResultParams = array( 'vendorPartnerId', 'name', 'systemName', 'serviceType', 'turnAroundTime', 'sourceLanguage', 'targetLanguage', 'outputFormat', 'enableSpeakerId', 'fixedPriceAddons', - 'pricing', 'flavorParamsId', 'clearAudioFlavorParamsId', 'allowResubmission', 'requireSource', 'stage', 'contract', 'notes', 'createdBy'); + 'pricing', 'flavorParamsId', 'clearAudioFlavorParamsId', 'allowResubmission', 'requireSource', 'stage', 'contract', 'notes', 'createdBy', + 'minimalRefundTime', 'minimalOrderTime', 'durationLimit' + ); /** * (non-PHPdoc) @@ -388,6 +390,10 @@ protected static function getObjectByServiceFeature($serviceFeature) $object = new KalturaVendorLiveCaptionCatalogItem(); break; + case VendorServiceFeature::LIVE_TRANSLATION: + $object = new KalturaVendorLiveTranslationCatalogItem(); + break; + default: $object = new KalturaVendorCaptionsCatalogItem(); break; @@ -421,6 +427,9 @@ protected function getColumns() 'contract', 'notes', 'createdBy', + 'minimalRefundTime', + 'minimalOrderTime', + 'durationLimit', ); } @@ -452,4 +461,4 @@ static function getEnumValue($peer, $value) } return ''; } -} \ No newline at end of file +} diff --git a/plugins/reach/lib/kReachUtils.php b/plugins/reach/lib/kReachUtils.php index ef0c3556cb2..79b2882f060 100644 --- a/plugins/reach/lib/kReachUtils.php +++ b/plugins/reach/lib/kReachUtils.php @@ -196,7 +196,19 @@ public static function reachStrToTime($offset , $value) */ public static function getEntryVendorTaskCsvHeaders() { - return array('id', 'partnerId', 'vendorPartnerId', 'entryId', 'createdAt', 'serviceType', 'serviceFeature', 'turnAroundTime', 'expectedFinishTime', 'status', 'errDescription'); + return array( + 'id', + 'partnerId', + 'vendorPartnerId', + 'entryId', + 'createdAt', + 'serviceType', + 'serviceFeature', + 'turnAroundTime', + 'expectedFinishTime', + 'status', + 'errDescription', + ); } /** @@ -204,7 +216,36 @@ public static function getEntryVendorTaskCsvHeaders() */ public static function getVendorCatalogItemsCsvHeaders() { - return array('id','status','vendorPartnerId','name','systemName','serviceFeature','serviceType','turnAroundTime','sourceLanguage','targetLanguage','outputFormat','createdAt','updatedAt','enableSpeakerId','fixedPriceAddons','pricing:pricePerUnit','pricing:priceFunction', 'flavorParamsId', 'clearAudioFlavorParamsId','allowResubmission','requireSource','stage','contract','notes','createdBy'); + return array( + 'id', + 'status', + 'vendorPartnerId', + 'name', + 'systemName', + 'serviceFeature', + 'serviceType', + 'turnAroundTime', + 'sourceLanguage', + 'targetLanguage', + 'outputFormat', + 'createdAt', + 'updatedAt', + 'enableSpeakerId', + 'fixedPriceAddons', + 'pricing:pricePerUnit', + 'pricing:priceFunction', + 'flavorParamsId', + 'clearAudioFlavorParamsId', + 'allowResubmission', + 'requireSource', + 'stage', + 'contract', + 'notes', + 'createdBy', + 'minimalRefundTime', + 'minimalOrderTime', + 'durationLimit', + ); }